[honu] add tests for precedence cases
This commit is contained in:
parent
591dcc4a27
commit
47c6acdea5
|
@ -62,9 +62,19 @@
|
|||
"basic math"
|
||||
@input{
|
||||
1 + 1
|
||||
1 + 2 * 3
|
||||
3 * 2 + 1
|
||||
1 + 4 ^ 2 * 3
|
||||
1 + 4 ^ 3 ^ 2
|
||||
4 ^ 3 ^ 2 + 1
|
||||
}
|
||||
|
||||
@output{2
|
||||
7
|
||||
7
|
||||
49
|
||||
262145
|
||||
262145
|
||||
})
|
||||
|
||||
(test
|
||||
|
|
Loading…
Reference in New Issue
Block a user