def test_range2(self):
     ans = set([(57, 76, 95), (60, 63, 87)])
     self.assertEqual(ans, triplets_in_range(56, 95))
 def test_range1(self):
     ans = set([(3, 4, 5), (6, 8, 10)])
     self.assertEqual(ans, triplets_in_range(1, 10))
 def test_range2(self):
     ans = set([(57, 76, 95), (60, 63, 87)])
     self.assertEqual(triplets_in_range(56, 95), ans)
 def test_range1(self):
     ans = set([(3, 4, 5), (6, 8, 10)])
     self.assertEqual(triplets_in_range(1, 10), ans)
Exemplo n.º 5
0
 def test_range2(self):
     ans = {(57, 76, 95), (60, 63, 87)}
     self.assertEqual(ans, triplets_in_range(56, 95))
Exemplo n.º 6
0
 def test_range1(self):
     ans = {(3, 4, 5), (6, 8, 10)}
     self.assertEqual(ans, triplets_in_range(1, 10))