def METHOD_NAME(self):
    linfun = bgtheories.THEORY["Linear"].function
    a = random.random() * 100
    b = random.random() * 100
    self.assertTrue(numpy.array_equal(linfun(self.x, self.y, a, b),
                                      a + b * self.x))
    # default estimate
    esti_par, cons = bgtheories.THEORY["Linear"].estimate(self.x, self.y)
    self.assertEqual(cons,
                     [[0, 0, 0], [0, 0, 0]])
    self.assertAlmostEqual(esti_par[0], 10, places=3)
    self.assertAlmostEqual(esti_par[1], 0.05, places=3)