예제 #1
0
 def test_empty_list(self):
     """"if both has"""
     self.assertEqual(compareTriplets([], []), (0, 0))
예제 #2
0
 def test_case1(self):
     """if both has  one equal qualities"""
     self.assertEqual(compareTriplets([5,6,7],[3,6,10]), (1,1))
예제 #3
0
 def test_high(self):
     self.assertEqual(compareTriplets([22,10,5],[20,9,10]), (2,1))
예제 #4
0
 def test_low(self):
     self.assertEqual(compareTriplets([10,10,4],[11,11,6]), (0,3))
예제 #5
0
 def test_zeros(self):
     self.assertEqual(compareTriplets([0,0], [0, 0]), (0, 0))