1
0
Fork 0
mirror of https://github.com/ton-blockchain/ton synced 2025-03-09 15:40:10 +00:00

Tests for func with scripts

This commit is contained in:
SpyCheese 2022-05-19 18:32:07 +03:00 committed by EmelyanenkoK
parent 6a72aba9af
commit 5c2ad4a6c7
25 changed files with 1011 additions and 0 deletions

View file

@ -0,0 +1,14 @@
(int, int) main(int id) {
if (id > 0) {
if (id > 10) {
return (2 * id, 3 * id);
}
}
return (5, 6);
}
{-
method_id | in | out
TESTCASE | 0 | 0 | 5 6
TESTCASE | 0 | 4 | 5 6
TESTCASE | 0 | 11 | 22 33
-}