def test_mae_with_self_is_zero(self): res = of.mae(self.evaluation, self.evaluation) self.assertAlmostEqual(res, 0.0, self.tolerance)
def test_mae(self): res = of.mae(self.evaluation, self.simulation) self.assertAlmostEqual(res, 1.2387193462811703, self.tolerance)