source: git/Tst/Short/pAdd_s.tst @ 29fc843

spielwiese
Last change on this file since 29fc843 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: 673 bytes
Line 
1LIB "tst.lib";
2tst_init();
3
4LIB "poly.lib";
5
6list tst_rgen_charstrs = list("3", "0");
7list tst_rgen_simple_orderings = list("lp", "dp", "Dp", "ls", "ds", "Ds", "Wp","Ws","M");
8intvec tst_rgen_products = 1..2;
9intvec tst_rgen_extra_weights = intvec(0,1);
10intvec tst_rgen_nvars = 1..4;
11
12tst_rgen_init();
13proc pAdd_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 = 1, tst_FullIdeal();
20  tst_TestAdd(id, 3, size(tst_rgen_comp_orderings[tst_rgen_comp_index]));
21  kill r;
22}
23 
24 
25string rs = tst_next_ring();
26
27while (size(rs) > 1)
28{
29  pAdd_Test(rs);
30  rs = tst_next_ring();
31}
32 
33tst_status(1);$
34
Note: See TracBrowser for help on using the repository browser.