leo/tests/expectations/parser/statement/console.out

57 lines
1.7 KiB
Plaintext
Raw Normal View History

2021-03-30 01:45:10 +03:00
---
2021-04-07 20:01:24 +03:00
namespace: ParseStatement
2021-03-30 01:45:10 +03:00
expectation: Pass
outputs:
- Console:
function:
2022-08-18 01:27:33 +03:00
AssertEq:
- Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":18,\\\"hi\\\":19}\"}"
- Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":21,\\\"hi\\\":22}\"}"
2021-03-30 01:45:10 +03:00
span:
2022-05-03 21:48:48 +03:00
lo: 0
hi: 22
2021-03-30 01:45:10 +03:00
- Console:
function:
2022-08-18 01:27:33 +03:00
AssertEq:
- Circuit:
name: "{\"name\":\"Foo\",\"span\":\"{\\\"lo\\\":18,\\\"hi\\\":21}\"}"
members:
- identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":24,\\\"hi\\\":25}\"}"
expression:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":27,\\\"hi\\\":28}\"}"
span:
lo: 18
hi: 30
- Circuit:
name: "{\"name\":\"Foo\",\"span\":\"{\\\"lo\\\":32,\\\"hi\\\":35}\"}"
members:
- identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":38,\\\"hi\\\":39}\"}"
expression:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":41,\\\"hi\\\":42}\"}"
span:
lo: 32
hi: 44
2021-03-30 01:45:10 +03:00
span:
2022-05-03 21:48:48 +03:00
lo: 0
2022-08-18 01:27:33 +03:00
hi: 44
2021-03-30 01:45:10 +03:00
- Console:
function:
2022-08-18 01:27:33 +03:00
AssertNeq:
- Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":19,\\\"hi\\\":20}\"}"
- Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":22,\\\"hi\\\":23}\"}"
2021-03-30 01:45:10 +03:00
span:
2022-05-03 21:48:48 +03:00
lo: 0
2022-08-18 01:27:33 +03:00
hi: 23
2021-03-30 01:45:10 +03:00
- Console:
function:
2022-08-18 01:27:33 +03:00
Assert:
Literal:
Boolean:
- false
- span:
lo: 15
hi: 20
2021-03-30 01:45:10 +03:00
span:
2022-05-03 21:48:48 +03:00
lo: 0
hi: 20