fictiveworks / CalyxSharp

Generative text processing for C# and Unity applications
Other
0 stars 0 forks source link

Tidy up registry tests and add unique cycle test #11

Closed maetl closed 1 year ago

maetl commented 1 year ago

Replace checks on expression tree structure with basic string checks in the Registry evaluation tests. All the registry test needs to do is assert the returned expression can be flattened to the expected string. More intricate tests of the tree structure should be done with tests for the syntax nodes. Some additional details added to the expansion test as a starting point.

maetl commented 1 year ago

I’ll leave it to you to merge these in terms of keeping branches in sync with #12