def test_03_BetaCoefficient(self, n, Y, X1): beta = Math.GetBetaCoefficient(Y, X1) print(beta)
def test_03_BetaCoefficient(self): n = 50 Y = [random.randint(-1000, 1000) for _ in range(50)] X1 = [random.randint(-10, 10) for _ in range(50)] beta = Math.GetBetaCoefficient(Y, X1) self.assertIsNotNone(beta)