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