def test_is_triplet1(self):
     self.assertEqual(True, is_triplet((29, 20, 21)))
 def test_is_triplet2(self):
     self.assertIs(is_triplet((25, 25, 1225)), False)
 def test_is_triplet3(self):
     self.assertIs(is_triplet((924, 43, 925)), True)
示例#4
0
 def test_is_triplet3(self):
     self.assertEqual(True, is_triplet((924, 43, 925)))
 def test_is_triplet1(self):
     self.assertIs(is_triplet((29, 20, 21)), True)
 def test_is_triplet2(self):
     self.assertIs(is_triplet((25, 25, 1225)), False)
示例#7
0
 def test_is_triplet2(self):
     self.assertEqual(False, is_triplet((25, 25, 1225)))
 def test_is_triplet2(self):
     self.assertFalse(is_triplet((25, 25, 1225)))
 def test_is_triplet3(self):
     self.assertTrue(is_triplet((924, 43, 925)))
 def test_is_triplet3(self):
     self.assertTrue(is_triplet((924, 43, 925)))
示例#11
0
 def test_is_triplet1(self):
     self.assertTrue(is_triplet((29, 20, 21)))
 def test_is_triplet2(self):
     self.assertFalse(is_triplet((25, 25, 1225)))
 def test_is_triplet1(self):
     self.assertTrue(is_triplet((29, 20, 21)))
示例#14
0
 def test_is_triplet3(self):
     self.assertIs(is_triplet((924, 43, 925)), True)
 def test_is_triplet2(self):
     self.assertEqual(False, is_triplet((25, 25, 1225)))
示例#16
0
 def test_is_triplet1(self):
     self.assertEqual(True, is_triplet((29, 20, 21)))
 def test_is_triplet3(self):
     self.assertEqual(True, is_triplet((924, 43, 925)))
示例#18
0
 def test_is_triplet1(self):
     self.assertIs(is_triplet((29, 20, 21)), True)