예제 #1
0
 def test_mctFromLeafValues(self):
     sole = ArraySolution()
     # self.assertEqual(32,sole.mctFromLeafValues([6,2,4]))
     self.assertEqual(644,
                      sole.mctFromLeafValues([9, 14, 6, 4, 13, 12, 1, 6]))
예제 #2
0
 def test_mctFromLeafValues(self):
     sole = ArraySolution()
     self.assertEqual(32, sole.mctFromLeafValues([6, 2, 4]))