fieker-DuValspielwiese
Last change
on this file since 2272157 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:
794 bytes
|
Line | |
---|
1 | LIB "tst.lib"; |
---|
2 | tst_init(); |
---|
3 | |
---|
4 | LIB "general.lib"; |
---|
5 | |
---|
6 | list tst_rgen_charstrs = list("3"); |
---|
7 | list tst_rgen_simple_orderings = list("dp"); |
---|
8 | intvec tst_rgen_products = 1; |
---|
9 | intvec tst_rgen_extra_weights = intvec(0); |
---|
10 | intvec tst_rgen_nvars = 20, 50, 100, 500, 1000, 2000, 5000, 10000; |
---|
11 | list tst_rgen_comp_orderings = list("", "C"); |
---|
12 | tst_rgen_init(); |
---|
13 | proc pAddManyVars_Test(string rs) |
---|
14 | { |
---|
15 | rs; |
---|
16 | rs = "ring r = " + rs + ";"; |
---|
17 | execute(rs); |
---|
18 | int n_vars = tst_rgen_nvars[tst_rgen_var_index]; |
---|
19 | ideal id = tst_cyclic(5); |
---|
20 | if (n_vars <= 5000) |
---|
21 | { |
---|
22 | tst_TestAdd(id, 1,size(tst_rgen_comp_orderings[tst_rgen_comp_index])); |
---|
23 | } |
---|
24 | else |
---|
25 | { |
---|
26 | id; |
---|
27 | id[1] + gen(2)*id[1]; |
---|
28 | } |
---|
29 | kill r; |
---|
30 | } |
---|
31 | |
---|
32 | string rs = tst_next_ring(); |
---|
33 | while (size(rs) > 1) |
---|
34 | { |
---|
35 | pAddManyVars_Test(rs); |
---|
36 | rs = tst_next_ring(); |
---|
37 | } |
---|
38 | |
---|
39 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.