Table endpoint for generating a truth table from a string expression

This commit is contained in:
Martin Berg Alstad
2024-06-17 00:21:18 +02:00
parent d0198eab5d
commit 6b6f4b4779
7 changed files with 85 additions and 48 deletions

View File

@ -131,3 +131,13 @@ GET {{url}}/simplify/{{expression}}
### GET with simplify="true"
GET {{url}}/simplify/A?simplify=true&hide=NONE&sort=DEFAULT&caseSensitive=false&hideIntermediate=false
### GET only table
GET {{url}}/table/A
> {%
client.test("Response body contains only the truth table", () => {
client.assert(response.body.truthTable, "Response body does not contain the truth table")
});
%}