forked from rivetTDA/rivet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
run-tests.sh
executable file
·18 lines (13 loc) · 964 Bytes
/
run-tests.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/env bash
echo "This script will compare rivet_console output against historical references"
echo "The diffs that print below should differ only in file creation date"
build/rivet_console data/circle_data_60pts.txt test.rivet -H1 -x10 -y10 -f R0
diff data/ref/circle_data_60pts.txt_H1_10x10.txt test.rivet
build/rivet_console data/circle_data_240pts_inv_density.txt test.rivet -H0 -x5 -y5 -f R0
diff data/ref/circle_data_240pts_inv_density.txt_H0_5x5.txt test.rivet
build/rivet_console data/circle_data_240pts_inv_density.txt test.rivet -H1 -x10 -y10 -f R0
diff data/ref/circle_data_240pts_inv_density.txt_H1_10x10.txt test.rivet
build/rivet_console data/circle_data_240pts_inv_density.txt test.rivet -H2 -x5 -y5 -f R0
diff data/ref/circle_data_240pts_inv_density.txt_H2_5x5.txt test.rivet
build/rivet_console data/circle_data_400pts_inv_density.txt test.rivet -H1 -x10 -y10 -f R0
diff data/ref/circle_data_400pts_inv_density_H1_10x10.txt test.rivet