def test_digits_contain(self): self.assertEqual(True,solution.contains_digits(64305, [6, 4, 3, 3, 3, 5])) self.assertEqual(True,solution.contains_digits(402123, [0, 3, 4])) self.assertEqual(False,solution.contains_digits(666, [6, 4])) self.assertEqual(False,solution.contains_digits(123456789, [1, 2, 3, 0])) self.assertEqual(True,solution.contains_digits(123456789, [])) self.assertEqual(True,solution.contains_digits(123456789, [1,1,1,2]))
def test_digits_contain(self): self.assertEqual(True, solution.contains_digits(64305, [6, 4, 3, 3, 3, 5])) self.assertEqual(True, solution.contains_digits(402123, [0, 3, 4])) self.assertEqual(False, solution.contains_digits(666, [6, 4])) self.assertEqual(False, solution.contains_digits(123456789, [1, 2, 3, 0])) self.assertEqual(True, solution.contains_digits(123456789, [])) self.assertEqual(True, solution.contains_digits(123456789, [1, 1, 1, 2]))
def test_one(self): self.assertEquals(True, contains_digits(402123, [0, 3, 4]))
def test_3(self): self.assertEqual(False, solution.contains_digits(123456789, [1,2,3,0]))
def test_contains_digits1(self): self.assertEqual(True, solution.contains_digits(10001, [0, 1]))
def test_tree(self): self.assertEquals(False, contains_digits(123456789, [1, 2, 3, 0]))
def test_three(self): self.assertFalse(contains_digits(123456789, [1, 2, 3, 0]))
def test_contains_digits4(self): self.assertEqual(False, solution.contains_digits(3464, [4, 5]))
def test_one(self): self.assertTrue(contains_digits(402123, [0, 3, 4]))
def test_contains_digits_2(self): self.assertEqual(True, contains_digits(456, []))
def test_contains_digit_2(self): self.assertEqual(False, solution.contains_digits(666, [6,4]))
def test_1(self): self.assertEqual(True, solution.contains_digits(402123, [0, 3, 4]))
def test_contains_digit_1(self): self.assertEqual(True, solution.contains_digits(402123, [0, 3, 4]))
def test_contains_digit_4(self): self.assertEqual(True, solution.contains_digits(456, []))
def test_contains_digit_3(self): self.assertEqual(False, solution.contains_digits(123456789, [1,2,3,0]))
def test_four(self): self.assertFalse(contains_digits(456, []))
def test_three(self): self.assertFalse(contains_digits(123456789, [1,2,3,0]))
def test_true(self): self.assertTrue(solution.contains_digits(402123, [0, 3, 4]))
def test_contains(self): self.assertTrue(contains_digits(402123, [0, 3, 4])) self.assertTrue(contains_digits(456, []))
def test_false(self): self.assertFalse(solution.contains_digits(666, [6, 4]))
def test_contains_digits_1(self): self.assertEqual(False, contains_digits(666, [6,4]))
def test_contains_digits1(self): self.assertEqual(True, solution.contains_digits(432, [3, 2]))
def test(self): self.assertEqual(True,contains_digits(402123, [0, 3, 4])) self.assertEqual(False,contains_digits(666, [6,4])) self.assertEqual(False,contains_digits(123456789, [1,2,3,0])) self.assertEqual(True,contains_digits(456,[]))
def test_contains_digits2(self): self.assertEqual(False, solution.contains_digits(8213, [2, 4]))
def test_contains_digits5(self): self.assertEqual(False, solution.contains_digits(42, [1, 5]))
def test_contains_digits(self): self.assertEqual(contains_digits(1254, [1, 2, 5, 4]), True) self.assertEqual(contains_digits(666, [6, 4]), False) self.assertEqual(contains_digits(123456789, [1, 2, 3, 0]), False) self.assertEqual(contains_digits(456, []), True) self.assertEqual(contains_digits(123456789, [1, 9, 9, 8]), True)
def test_contains_digits2(self): self.assertEqual(True, solution.contains_digits(123332, [2, 1]))
def test_contains_digits(self): self.assertEqual(True, contains_digits(402123, [0, 3, 4])) self.assertEqual(False, contains_digits(666, [6, 4])) self.assertEqual(False, contains_digits(123456789, [1, 2, 3, 0])) self.assertEqual(True, contains_digits(456, []))
def test_vore(self): self.assertEquals(True, contains_digits(456, []))
def test_contains_digits_2nd(self): self.assertEqual("True", solution.contains_digits(402123, [0,3,4]))
def test_two(self): self.assertEquals(False, contains_digits(666, [6, 4]))
def testing_contains_in_four_number(self): self.assertFalse(contains_digits(123456789, [1,2,3,0]))
def test_4(self): self.assertEqual(True, solution.contains_digits(456, []))
def testin_contains_in_big_number(self): self.assertTrue(contains_digits(456, []))
def test_2(self): self.assertEqual(False, solution.contains_digits(666, [6,4]))
def testing_contains_digits1(self): self.assertTrue(contains_digits(402123, [0, 3, 4]))
def test_four(self): self.assertTrue(contains_digits(456, []))
def testing_contains_in_two_digit_number(self): self.assertFalse(contains_digits(666, [6, 4]))
def test_two(self): self.assertFalse(contains_digits(666, [6, 4]))
def test_contains_digits(self): self.assertEqual(contains_digits(1254, [1, 2, 5, 4]), True) self.assertEqual(contains_digits(666, [6,4]), False) self.assertEqual(contains_digits(123456789, [1,2,3,0]), False) self.assertEqual(contains_digits(456, []), True) self.assertEqual(contains_digits(123456789, [1, 9, 9, 8]), True)
def test_not_contains(self): self.assertTrue(not contains_digits(666, [6,4])) self.assertTrue(not contains_digits(123456789, [1,2,3,0]))
def test_true(self): self.assertTrue(solution.contains_digits(402123,[0,3,4]))
def test_contains_digits_0(self): self.assertEqual(False, contains_digits(402123, [0, 3, 4]))
def test_false(self): self.assertFalse(solution.contains_digits(666,[6,4]))
def test_contains_digits(self): self.assertTrue(contains_digits(402123, [0, 3, 4])) self.assertTrue(not contains_digits(666, [6, 4])) self.assertTrue(not contains_digits(123456789, [1, 2, 3, 0])) self.assertTrue(contains_digits(456, []))