Options for truth table.

Propagate error message from parser to client
This commit is contained in:
Martin Berg Alstad
2024-06-15 23:45:06 +02:00
parent 4b22fc4a7e
commit 32d5089b44
3 changed files with 68 additions and 34 deletions

View File

@ -40,6 +40,21 @@ GET {{url}}/simplify/!A
%}
GET {{url}}/simplify/{{expression}}
### GET expression and don't simplify
< {%
import {expression} from "./common";
expression("A & A")
%}
GET {{url}}/simplify/{{expression}}?simplify=false
> {%
client.test("Response body is the same as the input", () => {
client.assert(response.body.after === response.body.before, "Response body is not the same as the input");
});
%}
### GET with table
< {%
import {expression} from "./common";