File: run_assoprimes_test

package info (click to toggle)
frobby 0.9.7-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 11,616 kB
  • sloc: cpp: 30,134; sh: 1,184; makefile: 312; ansic: 102; lisp: 10
file content (22 lines) | stat: -rwxr-xr-x 528 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/env sh

frobby=../../bin/frobby
testhelper=../testScripts/testhelper
test="$1"
shift

if [ "$1" = "_full" ];
then
  shift;

  # Check -canon agrees with transform.
  $testhelper transform $test.assoprimes $test.assoprimes -canon
  if [ $? != 0 ]; then exit 1; fi

  # Check that radical of Alexander dual equals associated primes.
  $testhelper transform $test.alexdual $test.assoprimes \
    -radical -unique -canon
  if [ $? != 0 ]; then exit 1; fi
fi

$testhelper assoprimes $test.*test $test.assoprimes $* -canon