source:
git/factory/libfac/tests/factortest
@
16055bd
Last change on this file since 16055bd was 16055bd, checked in by , 11 years ago | |
---|---|
|
|
File size: 2.7 KB |
Rev | Line | |
---|---|---|
[1a80b4] | 1 | #!/bin/csh |
2 | # Make various tests for the factorization. | |
3 | ||
4 | set OS=`uname` | |
5 | if ( $OS == "Linux" ) then | |
6 | set ECHO="/bin/echo -e" | |
7 | else if ( $OS == "SunOS" ) then | |
8 | set ECHO=/usr/5bin/echo | |
9 | else | |
10 | set ECHO=echo | |
11 | endif | |
12 | $ECHO "\n\ntesting univariate factorization:\c" | |
13 | $ECHO "\nf1 \c" | |
[0479e09] | 14 | ../test < factor/f1 |
[1a80b4] | 15 | $ECHO "\nf2 \c" |
[0479e09] | 16 | ../test < factor/f2 |
[1a80b4] | 17 | $ECHO "\nf3 \c" |
[0479e09] | 18 | ../test < factor/f3 |
[1a80b4] | 19 | |
20 | $ECHO "\n\ntesting multivariate factorization:" | |
21 | $ECHO "\nf4 \c" | |
[0479e09] | 22 | ../test < factor/f4 |
[1a80b4] | 23 | $ECHO "\nf5 \c" |
[0479e09] | 24 | ../test < factor/f5 |
[1a80b4] | 25 | $ECHO "\nf6 \c" |
[0479e09] | 26 | ../test < factor/f6 |
[1a80b4] | 27 | $ECHO "\nf7 \c" |
[0479e09] | 28 | ../test < factor/f7 |
[1a80b4] | 29 | $ECHO "\nf8 \c" |
[0479e09] | 30 | ../test < factor/f8 |
[1a80b4] | 31 | $ECHO "\nf9 \c" |
[0479e09] | 32 | ../test < factor/f9 |
[1a80b4] | 33 | $ECHO "\nf10 \c" |
[0479e09] | 34 | ../test < factor/f10 |
[1a80b4] | 35 | #$ECHO "\nf11 \c" |
[0479e09] | 36 | #../test < factor/f11 |
[1a80b4] | 37 | $ECHO "\nf12 \c" |
[0479e09] | 38 | ../test < factor/f12 |
[1a80b4] | 39 | $ECHO "\nf12 \c" |
[0479e09] | 40 | ../test < factor/f13 |
[1a80b4] | 41 | $ECHO "\nf14 \c" |
[0479e09] | 42 | ../test < factor/f14 |
[1a80b4] | 43 | $ECHO "\nf15 \c" |
[0479e09] | 44 | ../test < factor/f15 |
[1a80b4] | 45 | $ECHO "\nf16 -- skipping; takes long time. See the Long-time section!\c" |
46 | $ECHO "\nf17 \c" | |
[0479e09] | 47 | ../test < factor/f17 |
[1a80b4] | 48 | $ECHO "\nf18 \c" |
[0479e09] | 49 | ../test < factor/f18 |
[1a80b4] | 50 | $ECHO "\nf19 \c" |
[0479e09] | 51 | ../test < factor/f19 |
[1a80b4] | 52 | $ECHO "\nf20 \c" |
[0479e09] | 53 | ../test < factor/f20 |
[1a80b4] | 54 | $ECHO "\nf21 \c" |
[0479e09] | 55 | ../test < factor/f21 |
[1a80b4] | 56 | $ECHO "\nf21a \c" |
[0479e09] | 57 | ../test < factor/f21a |
[1a80b4] | 58 | $ECHO "\nf22 \c" |
[0479e09] | 59 | ../test < factor/f22 |
[1a80b4] | 60 | $ECHO "\nf23 \c" |
[0479e09] | 61 | ../test < factor/f23 |
[1a80b4] | 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" | |
[0479e09] | 66 | ../test < factor/f27 |
[1a80b4] | 67 | $ECHO "\nf28 -- skipping; takes long time. See the Long-time section!\c" |
68 | $ECHO "\nf29 -- Test suite not available.\c" | |
[0479e09] | 69 | #../test < factor/f29 |
[1a80b4] | 70 | $ECHO "\nf30 -- Test suite not available.\c" |
[0479e09] | 71 | #../test < factor/f30 |
[1a80b4] | 72 | $ECHO "\nf31 -- Test suite not available.\c" |
[0479e09] | 73 | #../test < factor/f31 |
[1a80b4] | 74 | $ECHO "\nf32 \c" |
[0479e09] | 75 | ../test < factor/f32 |
[1a80b4] | 76 | $ECHO "\nf33 \c" |
[0479e09] | 77 | ../test < factor/f33 |
[1a80b4] | 78 | $ECHO "\nf34 \c" |
[0479e09] | 79 | ../test < factor/f34 |
[1a80b4] | 80 | $ECHO "\nf35 -- skipping; takes long time. See the Long-time section!\c" |
81 | $ECHO "\nf36 \c" | |
[0479e09] | 82 | ../test < factor/f36 |
[1a80b4] | 83 | $ECHO "\nf37 \c" |
[0479e09] | 84 | ../test < factor/f37 |
[1a80b4] | 85 | $ECHO "\nf38 \c" |
[0479e09] | 86 | ../test < factor/f38 |
[1a80b4] | 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" | |
[0479e09] | 91 | ../test < factor/p2 |
[1a80b4] | 92 | $ECHO "\np3 \c" |
[0479e09] | 93 | ../test < factor/p3 |
[1a80b4] | 94 | $ECHO "\np4 \c" |
[0479e09] | 95 | ../test < factor/p4 |
[1a80b4] | 96 | $ECHO "\np5 \c" |
[0479e09] | 97 | ../test < factor/p5.3 |
[1a80b4] | 98 | |
99 | $ECHO "\n" | |
100 | # need-extensions section: | |
101 | $ECHO "\n Need-extensions section!\n" | |
102 | $ECHO "\nf39 \c" | |
[0479e09] | 103 | ../test < factor/f39 |
[1a80b4] | 104 | $ECHO "\nf40 \c" |
[0479e09] | 105 | ../test < factor/f40 |
[1a80b4] | 106 | $ECHO "\nf41 \c" |
[0479e09] | 107 | ../test < factor/f41 |
[1a80b4] | 108 | $ECHO "\nf42 \c" |
[0479e09] | 109 | ../test < factor/f42 |
[1a80b4] | 110 | $ECHO "\nf43 \c" |
[0479e09] | 111 | ../test < factor/f43 |
[1a80b4] | 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.