fieker-DuValspielwiese
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
|
Rev | Line | |
---|
[894057] | 1 | LIB "tst.lib"; tst_init(); |
---|
| 2 | ring r=0,(x,y,z),dp; |
---|
[ef52d6] | 3 | timer = 0; |
---|
[894057] | 4 | poly p=(x+2y+3z+4xy+5xz+6yz)^20; |
---|
| 5 | // timer as int_expression: |
---|
[ef52d6] | 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 |
---|
[894057] | 9 | int tps=system("--ticks-per-sec"); |
---|
[ef52d6] | 10 | tst_ignore(string(t div tps)); // yields the time in seconds truncated to int |
---|
[894057] | 11 | system("--ticks-per-sec",1000); // set timer resolution to ms |
---|
[ef52d6] | 12 | timer=0; |
---|
[894057] | 13 | p=(x+2y+3z+4xy+5xz+6yz)^20; |
---|
[ef52d6] | 14 | tst_ignore(string(timer)); // time in ms |
---|
[894057] | 15 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.