Example #1
0
 def test_floatnullable_to_none(self, raw):
     act = floatnullable(raw)
     self.assertIsNone(act)
Example #2
0
 def test_floatnullable_raises(self, raw):
     with self.assertRaises(Exception):
         floatnullable(raw)
Example #3
0
 def test_floatnullable(self, raw, exp):
     act = floatnullable(raw)
     self.assertEqual(act, exp)