def test_integer_more(self): self.assertTrue(tools._is_multiple(3))
def test_integer_one(self): self.assertFalse(tools._is_multiple(1))
def test_integer_negative_one(self): self.assertFalse(tools._is_multiple(-1))
def test_set_multiple(self): self.assertTrue(tools._is_multiple({"item1", "item2"}))
def test_integer_zero(self): self.assertTrue(tools._is_multiple(0))
def test_set_empty(self): self.assertTrue(tools._is_multiple(set()))
def test_set_single(self): self.assertFalse(tools._is_multiple({"the only set item"}))
def test_dict_single(self): self.assertFalse(tools._is_multiple({"the only index": "something"}))
def test_dict_multiple(self): self.assertTrue(tools._is_multiple({1: "item1", 2: "item2"}))
def test_list_multiple(self): self.assertTrue(tools._is_multiple(["item1", "item2"]))
def test_dict_empty(self): self.assertTrue(tools._is_multiple({}))
def test_list_single(self): self.assertFalse(tools._is_multiple(["the only list item"]))
def test_list_empty(self): self.assertTrue(tools._is_multiple([]))
def test_string(self): self.assertFalse(tools._is_multiple("some string"))
def test_empty_string(self): self.assertFalse(tools._is_multiple(""))
def test_unsupported(self): def empty_func(): pass self.assertFalse(tools._is_multiple(empty_func()))