def test_any_list_with_nan(self): self.assertTrue(glyph.any([1, 5.1, 6, float('Nan')]), 12.1)
def test_any_list_with_string(self): self.assertTrue(glyph.any(['a', 10, 30]))
def test_any_list_all_numbers(self): self.assertTrue(glyph.any([ 1, 5.1, 6, ]))
def test_any_list_with_false(self): self.assertFalse(glyph.any([False]))
def test_any_list_with_0(self): self.assertFalse(glyph.any([0]))
def test_any_number_not_list(self): with self.assertRaises(TypeError): glyph.any(1)
def test_any_empty_string(self): self.assertFalse(glyph.any(''))
def test_any_list_with_nan(self): self.assertTrue(glyph.any([1,5.1,6,float('Nan')]), 12.1)
def test_any_None(self): with self.assertRaises(TypeError): glyph.any(None)
def test_any_list_with_string(self): self.assertTrue(glyph.any(['a',10,30]))
def test_any_list_all_numbers(self): self.assertTrue(glyph.any([1,5.1,6,]))