Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def test_f64(self):
self.assertEqual(repr(Value.f64(4.2)), 'F64(4.2)')
def test_f64_auto_cast(self):
self.assertEqual(repr(Value.f64(42)), 'F64(42.0)')
def test_f64():
assert repr(Value.f64(4.2)) == 'F64(4.2)'
def test_f64_auto_cast():
assert repr(Value.f64(42)) == 'F64(42.0)'