source: git/factory/libfac/tests/factortest @ dccceb

fieker-DuValspielwiese
Last change on this file since dccceb was dccceb, checked in by Oleksandr Motsak <motsak@…>, 13 years ago
moved libfac under factory/ CHG: moved libfac/ under factory/ Note: starting to merge libfac into factory (as a private library)
  • Property mode set to 100755
File size: 2.7 KB
Line 
1#!/bin/csh
2# Make various tests for the factorization.
3
4set OS=`uname`
5if ( $OS == "Linux" ) then
6        set ECHO="/bin/echo -e"
7else if ( $OS == "SunOS" ) then
8        set ECHO=/usr/5bin/echo
9else
10        set ECHO=echo
11endif
12$ECHO "\n\ntesting univariate factorization:\c"
13$ECHO "\nf1  \c" 
14../test < factor/f1 
15$ECHO "\nf2  \c"
16../test < factor/f2
17$ECHO "\nf3  \c"
18../test < factor/f3
19
20$ECHO "\n\ntesting multivariate factorization:"
21$ECHO "\nf4  \c"
22../test < factor/f4
23$ECHO "\nf5  \c"
24../test < factor/f5
25$ECHO "\nf6  \c"
26../test < factor/f6
27$ECHO "\nf7  \c"
28../test < factor/f7
29$ECHO "\nf8  \c"
30../test < factor/f8
31$ECHO "\nf9  \c"
32../test < factor/f9
33$ECHO "\nf10 \c"
34../test < factor/f10
35#$ECHO "\nf11 \c"
36#../test < factor/f11
37$ECHO "\nf12 \c"
38../test < factor/f12
39$ECHO "\nf12 \c"
40../test < factor/f13
41$ECHO "\nf14 \c"
42../test < factor/f14
43$ECHO "\nf15 \c"
44../test < factor/f15
45$ECHO "\nf16  -- skipping; takes long time.  See the Long-time section!\c"
46$ECHO "\nf17 \c"
47../test < factor/f17
48$ECHO "\nf18 \c"
49../test < factor/f18
50$ECHO "\nf19 \c"
51../test < factor/f19
52$ECHO "\nf20 \c"
53../test < factor/f20
54$ECHO "\nf21 \c"
55../test < factor/f21
56$ECHO "\nf21a \c"
57../test < factor/f21a
58$ECHO "\nf22 \c"
59../test < factor/f22
60$ECHO "\nf23 \c"
61../test < factor/f23
62$ECHO "\nf24 -- skipping; takes long time.  See the Long-time section!\c"
63$ECHO "\nf25 -- skipping; takes long time.  See the Long-time section!\c"
64$ECHO "\nf26 -- skipping; takes long time.  See the Long-time section!\c"
65$ECHO "\nf27 \c"
66../test < factor/f27
67$ECHO "\nf28 -- skipping; takes long time.  See the Long-time section!\c"
68$ECHO "\nf29 -- Test suite not available.\c"
69#../test < factor/f29
70$ECHO "\nf30 -- Test suite not available.\c"
71#../test < factor/f30
72$ECHO "\nf31 -- Test suite not available.\c"
73#../test < factor/f31
74$ECHO "\nf32 \c"
75../test < factor/f32
76$ECHO "\nf33 \c"
77../test < factor/f33
78$ECHO "\nf34 \c"
79../test < factor/f34
80$ECHO "\nf35 -- skipping; takes long time.  See the Long-time section!\c"
81$ECHO "\nf36 \c"
82../test < factor/f36
83$ECHO "\nf37 \c"
84../test < factor/f37
85$ECHO "\nf38 \c"
86../test < factor/f38
87$ECHO "\n"
88$ECHO "Tests from Gerhard Pfister:"
89$ECHO "p1   -- skipping; takes long time.  See the Long-time section!\c"
90$ECHO "\np2 \c"
91../test < factor/p2
92$ECHO "\np3 \c"
93../test < factor/p3
94$ECHO "\np4 \c"
95../test < factor/p4
96$ECHO "\np5 \c"
97../test < factor/p5.3
98
99$ECHO "\n" 
100# need-extensions section:
101$ECHO "\n Need-extensions section!\n"
102$ECHO "\nf39 \c"
103../test < factor/f39
104$ECHO "\nf40 \c"
105../test < factor/f40
106$ECHO "\nf41 \c"
107../test < factor/f41
108$ECHO "\nf42 \c"
109../test < factor/f42
110$ECHO "\nf43 \c"
111../test < factor/f43
112
113
114$ECHO "\n"
115$ECHO 
116# long time section:
117$ECHO "\n Long-time section!\n"
118$ECHO "\n ... Skipping!\n"
Note: See TracBrowser for help on using the repository browser.