1
0
Fork 0
mirror of https://github.com/ton-blockchain/ton synced 2025-02-15 04:32:21 +00:00
ton/crypto/func/auto-tests/tests
Aleksandr Kirsanov ef5719d7e6
[FunC] Forbid impure operations inside pure functions
In stdlib, all existing pure functions are asm-implemented.
But since we introduced a `pure` keyword applicable to user-defined functions,
we need to check that they won't have any side effects
(exceptions, globals modification, etc.)
2024-06-14 15:22:58 +03:00
..
a6.fc [FunC] Apply camelCase to some tests to ensure code_hash remains unchanged 2024-06-14 15:22:57 +03:00
a6_1.fc Tests for func with scripts 2022-09-23 16:27:18 +03:00
a6_5.fc Tests for func with scripts 2022-09-23 16:27:18 +03:00
a7.fc Tests for func with scripts 2022-09-23 16:27:18 +03:00
a10.fc Tests for func with scripts 2022-09-23 16:27:18 +03:00
allow_post_modification.fc [FunC] Apply camelCase to some tests to ensure code_hash remains unchanged 2024-06-14 15:22:57 +03:00
asm_arg_order.fc [FunC] Make all functions impure by default, add "pure" specifier 2024-06-14 15:22:57 +03:00
c2.fc Tests for func with scripts 2022-09-23 16:27:18 +03:00
c2_1.fc Tests for func with scripts 2022-09-23 16:27:18 +03:00
camel1.fc [FunC] Make all functions impure by default, add "pure" specifier 2024-06-14 15:22:57 +03:00
camel2.fc [FunC] Make all functions impure by default, add "pure" specifier 2024-06-14 15:22:57 +03:00
camel3.fc [FunC] Make all functions impure by default, add "pure" specifier 2024-06-14 15:22:57 +03:00
camel4.fc [FunC] Make all functions impure by default, add "pure" specifier 2024-06-14 15:22:57 +03:00
co1.fc [FunC] Make all functions impure by default, add "pure" specifier 2024-06-14 15:22:57 +03:00
code_after_ifelse.fc Tests for func with scripts 2022-09-23 16:27:18 +03:00
codegen_check_demo.fc [FunC] Enrich testing framework, add fif output patterns 2024-06-14 15:22:56 +03:00
comments.fc [FunC] Convert stdlib.fc to traditional-style //comments 2024-06-14 15:22:57 +03:00
inline_big.fc Tests for func with scripts 2022-09-23 16:27:18 +03:00
inline_if.fc Tests for func with scripts 2022-09-23 16:27:18 +03:00
inline_loops.fc [FunC] Make all functions impure by default, add "pure" specifier 2024-06-14 15:22:57 +03:00
invalid-cmt-eof.fc [FunC] Support traditional // and /**/ comments 2024-06-14 15:22:57 +03:00
invalid-pure-1.fc [FunC] Forbid impure operations inside pure functions 2024-06-14 15:22:58 +03:00
invalid-pure-2.fc [FunC] Forbid impure operations inside pure functions 2024-06-14 15:22:58 +03:00
invalid-pure-3.fc [FunC] Forbid impure operations inside pure functions 2024-06-14 15:22:58 +03:00
invalid-undef-1.fc [FunC] Forbid auto-creating undefined symbols 2024-06-14 15:22:57 +03:00
invalid-undef-2.fc [FunC] Forbid auto-creating undefined symbols 2024-06-14 15:22:57 +03:00
invalid-undef-3.fc [FunC] Forbid auto-creating undefined symbols 2024-06-14 15:22:57 +03:00
invalid.fc [FunC] Enrich and refactor testing framework, add negative tests 2024-06-14 15:22:56 +03:00
method_id.fc Tests for func with scripts 2022-09-23 16:27:18 +03:00
pure-functions.fc [FunC] Forbid impure operations inside pure functions 2024-06-14 15:22:58 +03:00
s1.fc [FunC] Make all functions impure by default, add "pure" specifier 2024-06-14 15:22:57 +03:00
test-math.fc [FunC] Make all functions impure by default, add "pure" specifier 2024-06-14 15:22:57 +03:00
try-func.fc [FunC] Enrich testing framework, add code hash checking 2024-06-14 15:22:57 +03:00
unbalanced_ret.fc Tests for func with scripts 2022-09-23 16:27:18 +03:00
unbalanced_ret_inline.fc Tests for func with scripts 2022-09-23 16:27:18 +03:00
unbalanced_ret_loops.fc Tests for func with scripts 2022-09-23 16:27:18 +03:00
unbalanced_ret_nested.fc [FunC] Apply camelCase to some tests to ensure code_hash remains unchanged 2024-06-14 15:22:57 +03:00
w1.fc Tests for func with scripts 2022-09-23 16:27:18 +03:00
w2.fc Tests for func with scripts 2022-09-23 16:27:18 +03:00
w6.fc [FunC] Enrich testing framework, add code hash checking 2024-06-14 15:22:57 +03:00
w7.fc Tests for func with scripts 2022-09-23 16:27:18 +03:00
w9.fc Tests for func with scripts 2022-09-23 16:27:18 +03:00