def test_to_data(self, value, data): """Verify values are converted to output data.""" assert data == Float.to_data(value)
def test_to_value(self, data, value): """Verify input data is converted to values.""" assert value == Float.to_value(data)