]> git.draconx.ca Git - cdecl99.git/commit
tests: Adjust positive tests to verify both parse directions.
authorNick Bowler <nbowler@draconx.ca>
Thu, 22 Jun 2023 02:11:07 +0000 (22:11 -0400)
committerNick Bowler <nbowler@draconx.ca>
Thu, 22 Jun 2023 02:11:07 +0000 (22:11 -0400)
commit0ffa3da080900dee7626815e913a4f4822891bda
treebda6c43d95168369e03e9416419d248b80f59104
parent3d8b54b105613351b86cf5929fe9fd4e5934afea
tests: Adjust positive tests to verify both parse directions.

We don't actually have any canned tests of the "declare" or "type"
commands to produce C syntax from pseudo-English.  While the randomized
crossparse test does provide some coverage of this, failures here
are difficult to understand compared to more simple, standalone test
cases.

So to start, let's just expand the existing "positive" tests to check
in both directions.
tests/decl-good.at