diff options
author | Damien George <damien.p.george@gmail.com> | 2016-03-15 13:07:41 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2016-03-15 13:07:41 +0000 |
commit | ab69ed7dac1bf0ef36238b6289d436e9932180bc (patch) | |
tree | e20c26cc428d26d056097cbfc11a49bb0f178ec1 /tests/basics/int_big_xor2.py | |
parent | 9996adc37d3f518a30e28cbdfead71a5019e6a60 (diff) | |
download | micropython-ab69ed7dac1bf0ef36238b6289d436e9932180bc.tar.gz micropython-ab69ed7dac1bf0ef36238b6289d436e9932180bc.zip |
tests: Split large tests into smaller files, to run with a small heap.
All tests in basics/ directory can now run and pass using 64-bit unix
port with only a 16k heap (./run-tests --heapsize 16k). Tests in this
directory should remain small so they can be used for ports with a
small heap.
Diffstat (limited to 'tests/basics/int_big_xor2.py')
-rw-r--r-- | tests/basics/int_big_xor2.py | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/tests/basics/int_big_xor2.py b/tests/basics/int_big_xor2.py new file mode 100644 index 0000000000..b5b3db60c6 --- /dev/null +++ b/tests/basics/int_big_xor2.py @@ -0,0 +1,51 @@ +# test + + + +print( 97989513389222316022151446562729620153292831887555425160965597396 + ^ 23716683549865351578586448630079789776107310103486834795830390982) + +print( 53817081128841898634258263553430908085326601592682411889506742059 + ^ 37042558948907407488299113387826240429667200950043601129661240876) + +print( 26167512042587370698808974207700979337713004510730289760097826496 + ^ 98456276326770292376138852628141531773120376436197321310863125849) + +print( 21085380307304977067262070503651827226504797285572981274069266136 + ^ 15928222825828272388778130358888206480162413547887287646273147570) + +print( 40827393422334167255488276244226338235131323044408420081160772273 + ^ 63815443187857978125545555033672525708399848575557475462799643340) + +print( 5181013159871685724135944379095645225188360725917119022722046448 + ^ 59734090450462480092384049604830976376887859531148103803093112493) + +print( 283894311 + ^ 86526825689187217371383854139783231460931720533100376593106943447) + +print( 40019818573920230246248826511203818792007462193311949166285967147 + ^ 9487909752) + +# test - - + +print( -97989513389222316022151446562729620153292831887555425160965597396 + ^ -23716683549865351578586448630079789776107310103486834795830390982) + +print( -53817081128841898634258263553430908085326601592682411889506742059 + ^ -37042558948907407488299113387826240429667200950043601129661240876) + +print( -26167512042587370698808974207700979337713004510730289760097826496 + ^ -98456276326770292376138852628141531773120376436197321310863125849) + +print( -21085380307304977067262070503651827226504797285572981274069266136 + ^ -15928222825828272388778130358888206480162413547887287646273147570) + +print( -40827393422334167255488276244226338235131323044408420081160772273 + ^ -63815443187857978125545555033672525708399848575557475462799643340) + +print( -5181013159871685724135944379095645225188360725917119022722046448 + ^ -59734090450462480092384049604830976376887859531148103803093112493) + +print( -283894311 + ^ -86526825689187217371383854139783231460931720533100376593106943447) + +print( -40019818573920230246248826511203818792007462193311949166285967147 + ^ -9487909752) |