def test_float(self): example_float = 1.1 self.assertEqual(validate_float("example_float", example_float), True)
def test_nan(self): self.assertEqual(validate_float("example_float", np.NaN), True)