sherlodoc icon indicating copy to clipboard operation
sherlodoc copied to clipboard

Write a printer for String_automata

Open EmileTrotignon opened this issue 1 year ago • 0 comments

The string_automata module should have a printer, that would used in unit-tests.

The representation should be human-readable, this will make the tests useful as documenation, and a failing test will have a useful diff. An idea for such a representation would an ascii-tree like this :

|-- a
|   |-- b
|   |   `-- d     
|   `-- c 
`-- d

I am very open to other designs, provided they are readable enough.

A PR does have to include extensive tests, but minimal tests to show that the printer work are necessary.

EmileTrotignon avatar Feb 19 '24 13:02 EmileTrotignon