Commit Graph

280 Commits

Author SHA1 Message Date
Collin Chin
5a7feb28f7
Improve testing infrastructure (#2227)
* wip

* re-enable get_process call for test programs

* remove local tests

* clean up

* remove rust version from cargo.toml
2023-01-03 17:51:13 -08:00
d0cd
48a1f0590b
Rename console.assert* to assert*. (#2205)
* Add assert statements to AST

* Add support in passes

* Add parser support

* Add tyc support

* Add support for assert statements in the remaining passes

* Fix examples, tests, and regen expectations

* Fmt

* Regen expectations
2022-12-06 21:56:48 -08:00
collin
f6f286ac8a pull testnet3, regen tests 2022-11-23 02:37:57 -05:00
collin
9e28591589 pull testnet3, regen tests 2022-11-23 01:56:37 -05:00
collin
801df56f9c pull testnet3, regen tests 2022-11-22 20:55:12 -05:00
d0cd
de6ac4eb9b Add test 2022-11-16 10:24:29 -08:00
d0cd
f60dcca1a3 Regen expectations 2022-11-12 16:35:54 -08:00
d0cd
8048d2754b Update tests 2022-11-12 11:28:58 -08:00
d0cd
232cbfb6bb More tests 2022-11-12 10:05:00 -08:00
d0cd
1b95340edc Add tests 2022-11-12 09:52:52 -08:00
d0cd
036f8692eb Add test case for singleton tuple 2022-11-11 21:07:58 -08:00
d0cd
cf9948e99c Add tests for expr statements 2022-11-11 21:02:59 -08:00
d0cd
af8b63d12a Add tuple test 2022-11-08 17:36:24 -08:00
d0cd
62644d8851 Regen expectations 2022-11-08 16:02:16 -08:00
d0cd
ef4ae89b92 Add more test cases 2022-11-08 15:52:31 -08:00
d0cd
387db2e321 Add test case 2022-11-08 15:49:47 -08:00
d0cd
b911720ff0 Add test for tuple destructuring 2022-11-08 15:49:47 -08:00
d0cd
678f8b02a1 Fix unit expression 2022-11-08 15:49:47 -08:00
d0cd
3ab83f45f3 Fix bug, regen tests 2022-11-08 15:49:47 -08:00
d0cd
295cd7c96f Refactor tests 2022-11-08 15:49:47 -08:00
d0cd
c651da0581 wip tuples 2022-11-08 15:49:47 -08:00
Pranav Gaddamadugu
9994a0451f wip: basic tyc for empty and singleton tuples 2022-11-08 15:49:46 -08:00
Pranav Gaddamadugu
8d204a898b Add tests for tuples 2022-11-08 15:49:46 -08:00
collin
e6c3700945 merge testnet3 2022-11-04 12:46:32 -07:00
Collin Chin
d329181999
Merge pull request #2151 from AleoHQ/fix/span-for-function-call-tyc
Better error messages for mistyped function calls.
2022-11-04 12:34:08 -07:00
Collin Chin
1c7fefac53
Merge pull request #2150 from AleoHQ/fix/tyc-for-member-access
Fix type checking for member access.
2022-11-04 12:33:37 -07:00
d0cd
b0fdb5cd69 Regen expectations 2022-10-31 18:01:04 -07:00
d0cd
3c2da076ff
Merge pull request #2144 from AleoHQ/fix/conditional-assert
Fixes flattening for `console` statements.
2022-10-31 17:11:43 -07:00
d0cd
c4279e2a83
Merge pull request #2146 from AleoHQ/fix/tyc-for-loop-bounds
Fix/tyc for loop bounds
2022-10-31 17:11:19 -07:00
d0cd
ba84d0892c Add tests 2022-10-31 13:53:02 -07:00
d0cd
f1ca580e5a Add test case 2022-10-31 13:13:49 -07:00
d0cd
adb382cb33 Add test 2022-10-27 20:17:00 -07:00
d0cd
a904a1441a Add test; regen expectations 2022-10-25 16:22:47 -07:00
d0cd
a11be415fa Add tests; regen expectations 2022-10-24 22:18:22 -07:00
Pranav Gaddamadugu
2354cc8b41 Add tests 2022-10-12 00:15:06 -05:00
Pranav Gaddamadugu
d7260aef62 Add test 2022-10-12 00:15:06 -05:00
Pranav Gaddamadugu
2329617fec Update compiler tests 2022-10-05 16:53:49 -07:00
Pranav Gaddamadugu
6ce64f8a78 Add tests checking for invalid function calls 2022-10-03 16:33:15 -07:00
Pranav Gaddamadugu
dbb72ddbf8 Add tests showing program annotation fails 2022-10-03 15:02:28 -07:00
Pranav Gaddamadugu
e4bd8f8338 Update tests to use transition 2022-10-03 14:56:14 -07:00
Pranav Gaddamadugu
b92fefddc4 Add test for deprecated circuit; rename tests 2022-09-30 13:20:23 -07:00
Pranav Gaddamadugu
8d12cd6651 Rename tests 2022-09-30 10:48:47 -07:00
Pranav Gaddamadugu
7a859e7b63 Regen test expectations 2022-09-21 13:18:50 -07:00
Collin Chin
bbd41f81b6
Merge pull request #2073 from AleoHQ/fix/core-function-composite-data-types
Enable core function calls on composite data types.
2022-09-20 00:14:22 +02:00
Pranav Gaddamadugu
a96ae8e686 Add composite to compiler tests 2022-09-18 02:32:57 +02:00
Pranav Gaddamadugu
cb319b1678 Add test 2022-09-17 20:45:33 +02:00
Pranav Gaddamadugu
7b450b3f23 Add test for string literals 2022-09-17 19:21:23 +02:00
collin
c1d21e699c merge testnet3 2022-09-13 15:39:20 +02:00
Pranav Gaddamadugu
c2bed2bb54 Add name to finalize block 2022-09-13 11:06:24 +02:00
Pranav Gaddamadugu
6d35560528 More tests 2022-09-07 23:09:11 -07:00