test suite test display
import ideal • machine • elements • runtime util
import ideal • machine • channels • string writer
class my data
test case test simple display()
data object : my data • new("aaa", "bbb", 68)
the writer : string writer • new()
assert "my_data {\n foo: \"aaa\"\n bar: \"bbb\"\n baz: 68\n}\n" == the writer • elements()
class my data2
test case test display with annotations()
the writer : string writer • new()
assert "my_data2 {\n foo: \"aaa\"\n}\n" == the writer • elements()