Skip to content

Commit

Permalink
added two new test cases
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.salilab.org/imp/trunk@14791 e91f8c7b-0e32-4433-a9ac-4502d39a4eab
  • Loading branch information
[email protected] authored and [email protected] committed Jul 9, 2012
1 parent e0cc89a commit bb34808
Show file tree
Hide file tree
Showing 7 changed files with 12,908 additions and 0 deletions.
2,096 changes: 2,096 additions & 0 deletions applications/saxs_merge/bin/input/Y1/in1.dat

Large diffs are not rendered by default.

2,096 changes: 2,096 additions & 0 deletions applications/saxs_merge/bin/input/Y1/in2.dat

Large diffs are not rendered by default.

2,096 changes: 2,096 additions & 0 deletions applications/saxs_merge/bin/input/Y1/in3.dat

Large diffs are not rendered by default.

2,180 changes: 2,180 additions & 0 deletions applications/saxs_merge/bin/input/Y2/in1.dat

Large diffs are not rendered by default.

2,180 changes: 2,180 additions & 0 deletions applications/saxs_merge/bin/input/Y2/in2.dat

Large diffs are not rendered by default.

2,180 changes: 2,180 additions & 0 deletions applications/saxs_merge/bin/input/Y2/in3.dat

Large diffs are not rendered by default.

80 changes: 80 additions & 0 deletions applications/saxs_merge/bin/test_benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -549,5 +549,85 @@ def test_case4d(self):
self.get_input_file_name('Nup145/23923_merge.dat'),
inputs)

def test_case1e(self):
"""Simple test of SAXS merge benchmark / application for Y1"""
inputs = [self.get_input_file_name('Y1/in1.dat'),
self.get_input_file_name('Y1/in2.dat'),
self.get_input_file_name('Y1/in3.dat')]
self.run_app( 'Y1_1', self.get_params1() + inputs )
self.run_results('Y1_1',
self.get_input_file_name('Y1/merge.dat'),
inputs)

def test_case2e(self):
"""Simple test of SAXS merge benchmark / application for Y1"""
inputs = [self.get_input_file_name('Y1/in1.dat'),
self.get_input_file_name('Y1/in2.dat'),
self.get_input_file_name('Y1/in3.dat')]
self.run_app( 'Y1_2', self.get_params2() + inputs )
self.run_results('Y1_2',
self.get_input_file_name('Y1/merge.dat'),
inputs)

def test_case3e(self):
"""Simple test of SAXS merge benchmark / application for Y1"""
inputs = [self.get_input_file_name('Y1/in1.dat'),
self.get_input_file_name('Y1/in2.dat'),
self.get_input_file_name('Y1/in3.dat')]
self.run_app( 'Y1_3', self.get_params3() + inputs )
self.run_results('Y1_3',
self.get_input_file_name('Y1/merge.dat'),
inputs)

def test_case4e(self):
"""Simple test of SAXS merge benchmark / application for Y1"""
inputs = [self.get_input_file_name('Y1/in1.dat'),
self.get_input_file_name('Y1/in2.dat'),
self.get_input_file_name('Y1/in3.dat')]
self.run_app( 'Y1_4', self.get_params4() + inputs )
self.run_results('Y1_4',
self.get_input_file_name('Y1/merge.dat'),
inputs)

def test_case1f(self):
"""Simple test of SAXS merge benchmark / application for Y2"""
inputs = [self.get_input_file_name('Y2/in1.dat'),
self.get_input_file_name('Y2/in2.dat'),
self.get_input_file_name('Y2/in3.dat')]
self.run_app( 'Y2_1', self.get_params1() + inputs )
self.run_results('Y2_1',
self.get_input_file_name('Y2/merge.dat'),
inputs)

def test_case2f(self):
"""Simple test of SAXS merge benchmark / application for Y2"""
inputs = [self.get_input_file_name('Y2/in1.dat'),
self.get_input_file_name('Y2/in2.dat'),
self.get_input_file_name('Y2/in3.dat')]
self.run_app( 'Y2_2', self.get_params2() + inputs )
self.run_results('Y2_2',
self.get_input_file_name('Y2/merge.dat'),
inputs)

def test_case3f(self):
"""Simple test of SAXS merge benchmark / application for Y2"""
inputs = [self.get_input_file_name('Y2/in1.dat'),
self.get_input_file_name('Y2/in2.dat'),
self.get_input_file_name('Y2/in3.dat')]
self.run_app( 'Y2_3', self.get_params3() + inputs )
self.run_results('Y2_3',
self.get_input_file_name('Y2/merge.dat'),
inputs)

def test_case4f(self):
"""Simple test of SAXS merge benchmark / application for Y2"""
inputs = [self.get_input_file_name('Y2/in1.dat'),
self.get_input_file_name('Y2/in2.dat'),
self.get_input_file_name('Y2/in3.dat')]
self.run_app( 'Y2_4', self.get_params4() + inputs )
self.run_results('Y2_4',
self.get_input_file_name('Y2/merge.dat'),
inputs)

if __name__ == '__main__':
IMP.test.main()

0 comments on commit bb34808

Please sign in to comment.