This repository has been archived by the owner on Sep 27, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #572 from votca/file_based_unittests
refactored some tests to use files instead of source code data
- Loading branch information
Showing
10 changed files
with
1,685 additions
and
2,045 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
539 changes: 539 additions & 0 deletions
539
src/tests/DataFiles/lammpsdatareader/test_polymer3.data
Large diffs are not rendered by default.
Oops, something went wrong.
540 changes: 540 additions & 0 deletions
540
src/tests/DataFiles/lammpsdatareader/test_polymer4.data
Large diffs are not rendered by default.
Oops, something went wrong.
25 changes: 25 additions & 0 deletions
25
src/tests/DataFiles/lammpsdumpreaderwriter/test_thiophene.dump
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
ITEM: TIMESTEP | ||
1 | ||
ITEM: NUMBER OF ATOMS | ||
16 | ||
ITEM: BOX BOUNDS pp pp pp | ||
0 100.000000 | ||
0 100.000000 | ||
0 100.000000 | ||
ITEM: ATOMS id type x y z vx vy vz fx fy fz | ||
1 0 3.571663 -2.912328 0.627991 0.000000 0.000000 0.000000 0.100000 0.100000 0.100000 | ||
2 0 2.702771 -1.746477 0.724159 0.000000 0.000000 0.000000 0.100000 0.100000 0.100000 | ||
3 0 1.448135 -2.025836 0.308560 0.000000 0.000000 0.000000 0.100000 0.100000 0.100000 | ||
4 0 2.946939 -3.992905 0.161081 0.000000 0.000000 0.000000 0.100000 0.100000 0.100000 | ||
5 1 4.611604 -2.882320 0.919327 0.000000 0.000000 0.000000 0.100000 0.100000 0.100000 | ||
6 2 1.284820 -3.692216 -0.197094 0.000000 0.000000 0.000000 0.100000 0.100000 0.100000 | ||
7 1 3.374874 -4.971104 0.004941 0.000000 0.000000 0.000000 0.100000 0.100000 0.100000 | ||
8 1 3.082680 -0.806748 1.097073 0.000000 0.000000 0.000000 0.100000 0.100000 0.100000 | ||
9 0 0.244597 -1.159273 0.241620 0.000000 0.000000 0.000000 0.100000 0.100000 0.100000 | ||
10 2 -0.599083 -0.820914 -1.247944 0.000000 0.000000 0.000000 0.100000 0.100000 0.100000 | ||
11 0 -0.362405 -0.567118 1.284770 0.000000 0.000000 0.000000 0.100000 0.100000 0.100000 | ||
12 1 -0.017750 -0.642753 2.305544 0.000000 0.000000 0.000000 0.100000 0.100000 0.100000 | ||
13 0 -1.542466 0.201364 0.915934 0.000000 0.000000 0.000000 0.100000 0.100000 0.100000 | ||
14 0 -1.764805 0.138711 -0.400894 0.000000 0.000000 0.000000 0.100000 0.100000 0.100000 | ||
15 1 -2.563883 0.611988 -0.947270 0.000000 0.000000 0.000000 0.100000 0.100000 0.100000 | ||
16 1 -2.121735 0.732859 1.656506 0.000000 0.000000 0.000000 0.100000 0.100000 0.100000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
COMPND UNNAMED | ||
AUTHOR GENERATED BY OPEN BABEL 2.4.1 | ||
HETATM 1 C UNL 1 -5.249 1.055 -0.000 1.00 0.00 C | ||
HETATM 2 H UNL 1 -6.202 1.521 -0.141 1.00 0.00 H | ||
HETATM 3 H UNL 1 -5.390 0.026 0.255 1.00 0.00 H | ||
HETATM 4 H UNL 1 -4.682 1.124 -0.904 1.00 0.00 H | ||
HETATM 5 H UNL 1 -4.724 1.550 0.790 1.00 0.00 H | ||
HETATM 6 C UNL 2 -2.248 1.671 -0.000 1.00 0.00 C | ||
HETATM 7 H UNL 2 -1.518 2.451 0.051 1.00 0.00 H | ||
HETATM 8 H UNL 2 -3.153 1.999 0.467 1.00 0.00 H | ||
HETATM 9 H UNL 2 -2.442 1.430 -1.024 1.00 0.00 H | ||
HETATM 10 H UNL 2 -1.880 0.804 0.507 1.00 0.00 H | ||
CONECT 1 2 3 4 5 | ||
CONECT 2 1 | ||
CONECT 3 1 | ||
CONECT 4 1 | ||
CONECT 5 1 | ||
CONECT 6 7 8 9 10 | ||
CONECT 7 6 | ||
CONECT 8 6 | ||
CONECT 9 6 | ||
CONECT 10 6 | ||
MASTER 0 0 0 0 0 0 0 0 10 0 10 0 | ||
END |
Oops, something went wrong.