source: git/Tst/Long/pAdd0_l.tst @ bceb63

fieker-DuValspielwiese
Last change on this file since bceb63 was 1b81fb5, checked in by Hans Schoenemann <hannes@…>, 9 years ago
removing more exportto - clean Tp level namespace (p3)
  • Property mode set to 100644
File size: 725 bytes
Line 
1LIB "tst.lib";
2tst_init();
3
4LIB "poly.lib";
5
6list tst_rgen_simple_orderings = list("lp", "dp", "ls", "ds");
7intvec tst_rgen_products = 1;
8intvec tst_rgen_extra_weights = intvec(0);
9intvec tst_rgen_nvars = 3..10;
10list tst_rgen_comp_orderings = list("", "cc");
11list tst_rgen_charstrs = list("0");
12
13tst_rgen_init();
14
15
16proc pAdd_Test(string rs)
17{
18  rs;
19  rs = "ring r = " + rs + ";";
20  execute(rs);
21  int n_vars = tst_rgen_nvars[Tst::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::tst_rgen_comp_index]));
24  kill r;
25}
26
27string rs = tst_next_ring();
28
29while (size(rs) > 1)
30{
31  pAdd_Test(rs);
32  rs = tst_next_ring();
33}
34
35tst_status(1); $
Note: See TracBrowser for help on using the repository browser.