summaryrefslogtreecommitdiff
path: root/tests/ps/test-astore.ps
blob: 279b9d685c80c0bee54aab98a9de652e9a2c8bf1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
initunittest

true /astore [.unittestdict /anytypes get [/arraytype /proctype]] typecheck
false /astore [.unittestdict /anytypes get [/booleantype /integertype /realtype /nametype /stringtype /dicttype /nulltype /operatortype /marktype /filetype /savetype]] typecheck

[] /stackunderflow true initunittestdict {astore} unittest
[1 2 [null null null]] /stackunderflow true initunittestdict {1 2 3 array astore} unittest
[1 [null] noaccess] /invalidaccess true initunittestdict /readable /writable 2 setunittestmask {1 1 array noaccess astore} unittest
[1 [null] readonly] /invalidaccess true initunittestdict /readable /writable 2 setunittestmask {1 1 array readonly astore} unittest
[1 [null] executeonly] /invalidaccess true initunittestdict /executeonly /readable /writable 3 setunittestmask {1 1 array executeonly astore} unittest
[1 [2]] null true initunittestdict {1 2 1 array astore} unittest
[[(a) (bcd) (ef)]] null true initunittestdict {(a) (bcd) (ef) 3 array astore} unittest

unittestresult