fieker-DuValspielwiese
Last change
on this file since fb2240 was
818256,
checked in by Olaf Bachmann <obachman@…>, 24 years ago
|
* new tests and updates of stats
git-svn-id: file:///usr/local/Singular/svn/trunk@4566 2c84dea3-7e68-4137-9b89-c4e89433aadc
|
-
Property mode set to
100644
|
File size:
755 bytes
|
Rev | Line | |
---|
[818256] | 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 | list tst_rgen_exp_bounds = list(31); |
---|
| 13 | |
---|
| 14 | tst_rgen_init(); |
---|
| 15 | |
---|
| 16 | proc pAdd_Test(string rs) |
---|
| 17 | { |
---|
| 18 | tst_rgen_Lring; |
---|
| 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/(n_vars*n_vars) + 70/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.