From 85bd66edb48b2f3e25cd549e40f2fedd5247bcef Mon Sep 17 00:00:00 2001 From: Dariusz Murakowski Date: Fri, 1 May 2015 18:30:24 -0400 Subject: [PATCH] Unit testing for Ising using compensatory landscape from Krishna (not his RC_fun though). --- test/ss_ising.test | 3 +++ test/ss_ising.test.expected-err | 0 test/ss_ising.test.expected-out | 21 +++++++++++++++++++++ 3 files changed, 24 insertions(+) create mode 100755 test/ss_ising.test create mode 100644 test/ss_ising.test.expected-err create mode 100644 test/ss_ising.test.expected-out diff --git a/test/ss_ising.test b/test/ss_ising.test new file mode 100755 index 0000000..2a50383 --- /dev/null +++ b/test/ss_ising.test @@ -0,0 +1,3 @@ +#!/bin/bash +EXE=../ss +${EXE} -seed 31415 -v -i ising_test -s allWT_ising -ep crossreactive_ising -epM0 3 -epN0 1 -epT0 4 -numruns 2 -mu 3e-5 -n 100000 -e 3 -t 1 diff --git a/test/ss_ising.test.expected-err b/test/ss_ising.test.expected-err new file mode 100644 index 0000000..e69de29 diff --git a/test/ss_ising.test.expected-out b/test/ss_ising.test.expected-out new file mode 100644 index 0000000..1d13ddc --- /dev/null +++ b/test/ss_ising.test.expected-out @@ -0,0 +1,21 @@ +seed = 31415 +1; +1.000000e+01 0 | +2.000000e-01 | 0 +4 10 0| +4 0.2 |0 +time I M N T1 T2 T3 T4 T5 T6 T7 T8 T9 +0 100000 100000() 3 1 4 0 0 0 0 0 0 0 0 +1 127441 127434() 1(0) 5(1) 1(3) 0 12 2 1 4 8 15 11 12 14 22 +2 160877 160850() 4(0) 15(1) 7(2) 1(3) 3 17 2 5 6 5 4 16 33 69 112 +3 200256 200186() 15(0) 31(1) 22(2) 2(3) 3 19 6 2 7 15 15 33 72 84 116 +1; +1.000000e+01 0 | +2.000000e-01 | 0 +4 10 0| +4 0.2 |0 +time I M N T1 T2 T3 T4 T5 T6 T7 T8 T9 +0 200000 100000() 3 1 4 0 0 0 0 0 0 0 0 +1.00001 127685 127675() 1(0) 2(1) 6(2) 1(3) 2 13 1 1 0 8 8 20 31 33 21 +2 161062 161023() 11(0) 10(1) 14(2) 4(3) 6 22 0 3 0 11 4 12 24 41 111 +3 203044 202956() 15(0) 23(1) 24(2) 26(3) 3 22 0 5 2 7 26 31 39 52 82 -- 2.7.4