impl unary minus
This commit is contained in:
parent
5a34b0f6f7
commit
2770a2de3b
2 changed files with 7 additions and 0 deletions
src/lib
|
@ -5,6 +5,7 @@ describe("expr", () => {
|
|||
describe("Expr does math", () => {
|
||||
test.each([
|
||||
["1", "1"],
|
||||
["-1", "-1"],
|
||||
["1 + 2", "3"],
|
||||
["1 - 2", "-1"],
|
||||
["1 * 2", "2"],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue