spielwiese
Last change
on this file since 0bc5ed4 was
ed7a55c,
checked in by Hans Schoenemann <hannes@…>, 13 years ago
|
use div instead of /, part 3
git-svn-id: file:///usr/local/Singular/svn/trunk@14194 2c84dea3-7e68-4137-9b89-c4e89433aadc
|
-
Property mode set to
100644
|
File size:
715 bytes
|
Line | |
---|
1 | LIB "tst.lib"; |
---|
2 | tst_init(); |
---|
3 | |
---|
4 | LIB "poly.lib"; |
---|
5 | |
---|
6 | list tst_rgen_simple_orderings = list("lp", "dp", "ls", "ds"); |
---|
7 | intvec tst_rgen_products = 1; |
---|
8 | intvec tst_rgen_extra_weights = intvec(0); |
---|
9 | intvec tst_rgen_nvars = 3..10; |
---|
10 | list tst_rgen_comp_orderings = list("", "cc"); |
---|
11 | list tst_rgen_charstrs = list("0"); |
---|
12 | |
---|
13 | tst_rgen_init(); |
---|
14 | |
---|
15 | |
---|
16 | proc pAdd_Test(string rs) |
---|
17 | { |
---|
18 | rs; |
---|
19 | rs = "ring r = " + rs + ";"; |
---|
20 | execute(rs); |
---|
21 | int n_vars = tst_rgen_nvars[tst_rgen_var_index]; |
---|
22 | tst_TestAdd(tst_cyclic(n_vars), 200 div (n_vars*n_vars) + 70 div n_vars, |
---|
23 | size(tst_rgen_comp_orderings[tst_rgen_comp_index])); |
---|
24 | kill r; |
---|
25 | } |
---|
26 | |
---|
27 | string rs = tst_next_ring(); |
---|
28 | |
---|
29 | while (size(rs) > 1) |
---|
30 | { |
---|
31 | pAdd_Test(rs); |
---|
32 | rs = tst_next_ring(); |
---|
33 | } |
---|
34 | |
---|
35 | tst_status(1); $ |
---|
Note: See
TracBrowser
for help on using the repository browser.