spielwiese
Last change
on this file since 6fb723 was
ef52d6,
checked in by Oleksandr Motsak <motsak@…>, 11 years ago
|
Update testsuite wrt current master (320c4f5e64cad778b4ada9556a9b0a6c71cab83a)
NOTE: some wrong/bad tests were removed...
TODO: add the reset of these updates after updating LIB/
|
-
Property mode set to
100644
|
File size:
558 bytes
|
Line | |
---|
1 | LIB "tst.lib"; tst_init(); |
---|
2 | ring r=0,(x,y,z),dp; |
---|
3 | timer = 0; |
---|
4 | poly p=(x+2y+3z+4xy+5xz+6yz)^20; |
---|
5 | // timer as int_expression: |
---|
6 | int t = timer; |
---|
7 | tst_ignore(string(t)); // yields the time in ticks-per-sec (default 1) |
---|
8 | // since t was initialized by timer |
---|
9 | int tps=system("--ticks-per-sec"); |
---|
10 | tst_ignore(string(t div tps)); // yields the time in seconds truncated to int |
---|
11 | system("--ticks-per-sec",1000); // set timer resolution to ms |
---|
12 | timer=0; |
---|
13 | p=(x+2y+3z+4xy+5xz+6yz)^20; |
---|
14 | tst_ignore(string(timer)); // time in ms |
---|
15 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.