def test_age_restricted(self):
    self.assertFalse(age_restricted(None, 10))
    self.assertFalse(age_restricted(1, None))
    self.assertFalse(age_restricted(8, 10))
    self.assertTrue(age_restricted(18, 14))
    self.assertFalse(age_restricted(18, 18))
def test_age_restricted(self):
    self.assertFalse(age_restricted(None, 10))
    self.assertFalse(age_restricted(1, None))
    self.assertFalse(age_restricted(8, 10))
    self.assertTrue(age_restricted(18, 14))
    self.assertFalse(age_restricted(18, 18))