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_f32_auto_cast():
assert repr(Value.f32(42)) == 'F32(42.0)'
def test_f32(self):
self.assertEqual(repr(Value.f32(4.2)), 'F32(4.2)')
def test_f32_auto_cast(self):
self.assertEqual(repr(Value.f32(42)), 'F32(42.0)')
def test_f32():
assert repr(Value.f32(4.2)) == 'F32(4.2)'