def test_iterable_value_any_exclusif(self): self.assertFalse( between([0, 1, 2, 3, 4, 5], borne_inf=0, borne_sup=1, exclusif=True, evaluation=any))
def test_iterable_value_all(self): self.assertTrue( between([0, 1, 2, 3, 4, 5], borne_inf=0, borne_sup=10, exclusif=False, evaluation=all))
def test_value_dans_bornes_exclusif(self): self.assertTrue(between(0.5, -1, 1, exclusif=True))
def test_value_dans_bornes(self): self.assertTrue(between(0.5, -1, 1))
def test_valeur_hors_bornes_exclusif(self): self.assertFalse(between(0, 0, 1, exclusif=True)) self.assertFalse(between(1, 0, 1, exclusif=True))
def test_valeur_hors_bornes(self): self.assertFalse(between(0, 0.5, 10)) self.assertFalse(between(1, -1, 0))