mirror of
https://github.com/ton-blockchain/ton
synced 2025-02-15 04:32:21 +00:00
23 lines
394 B
Text
23 lines
394 B
Text
|
fun getBeginCell() {
|
||
|
return beginCell;
|
||
|
}
|
||
|
|
||
|
fun getBeginParse() {
|
||
|
return beginParse;
|
||
|
}
|
||
|
|
||
|
@method_id(101)
|
||
|
fun testVarApply1() {
|
||
|
var (_, f_end_cell) = (0, endCell);
|
||
|
var b: builder = (getBeginCell())().storeInt(1, 32);
|
||
|
b.storeInt(2, 32);
|
||
|
var s = (getBeginParse())(f_end_cell(b));
|
||
|
return (s.loadInt(32), s.loadInt(32));
|
||
|
}
|
||
|
|
||
|
fun main() {}
|
||
|
|
||
|
/**
|
||
|
@testcase | 101 | | 1 2
|
||
|
*/
|