Closed ErikQQY closed 2 years ago
Cool, that looks nice :)
Perhaps we could issue a show
on an FRD
object in the tests as well, preferably a very small FRD
object as to not pollute the test log too much.
Sorry, I am a little confused, while the return value of show
is nothing
, how can we add tests for show
method?🤔
We don't need to test that it returns something, it's enough to call the show(frd)
method to see that it does not throw an exception. I usually do this by
@test_nowarn show(frd)
to test that no errors or warnings were issued
Add test for FRD printing, a really small one🤣
Thanks for the contribution :)
The currect printing of
FRD
object doesn't look good, this PR add formal printing forFRD
The printing would be like this: