示例#1
0
 def standardDeviation(data):
     return Root.root(Variance.variance(data), 2)
示例#2
0
 def test_MathOperations_root(self):
     self.assertEqual(4, Root.root(16, 2))
示例#3
0
 def Root(self, a, b):
     self.Result = Root.root(a, b)
     return self.Result
 def test_MathOperations_Root(self):
     self.assertEqual(3, Root.root(9, 2))
示例#5
0
 def Root(self, a):
     self.Result = Root.root(a)
     return self.Result
 def test_calculator_root(self):
     self.assertEqual(13, Root.root(169,2))
示例#7
0
 def test_MathOperations_root(self):
     self.assertEqual(8.54400374531753, Root.root(8, 3))