mirror of
https://github.com/HigherOrderCO/Bend.git
synced 2024-11-04 01:20:56 +03:00
Add ops test
This commit is contained in:
parent
c39a7614e3
commit
c7ba4b1ce7
8
tests/golden_tests/run_file/ops.bend
Normal file
8
tests/golden_tests/run_file/ops.bend
Normal file
@ -0,0 +1,8 @@
|
||||
def main:
|
||||
return [
|
||||
1 + 2 == 3,
|
||||
2 - 1 == 1,
|
||||
-5 + -1 == -6,
|
||||
-3 * -9 == +27,
|
||||
0.250 + 0.125 == 0.375,
|
||||
]
|
9
tests/snapshots/run_file__ops.bend.snap
Normal file
9
tests/snapshots/run_file__ops.bend.snap
Normal file
@ -0,0 +1,9 @@
|
||||
---
|
||||
source: tests/golden_tests.rs
|
||||
input_file: tests/golden_tests/run_file/ops.bend
|
||||
---
|
||||
NumScott:
|
||||
[1, 1, +1, +1, 1]
|
||||
|
||||
Scott:
|
||||
[1, 1, +1, +1, 1]
|
Loading…
Reference in New Issue
Block a user