コード例 #1
0
 def it_converts_correctly(first, second):
     expect(Float.to_data(first)) == second
コード例 #2
0
 def it_raises_an_exception_when_unable_to_convert():
     with expect.raises(ValueError):
         Float.to_value("abc")