Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
parser-lammps
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
nomad-lab
parser-lammps
Commits
c072bca2
Commit
c072bca2
authored
8 years ago
by
Adam Fekete
Browse files
Options
Downloads
Patches
Plain Diff
revisiting test cases
parent
80ba04a8
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/test/scala/eu/nomad_lab/parsers/LammpsParserSpec.scala
+45
-24
45 additions, 24 deletions
src/test/scala/eu/nomad_lab/parsers/LammpsParserSpec.scala
with
45 additions
and
24 deletions
src/test/scala/eu/nomad_lab/parsers/LammpsParserSpec.scala
+
45
−
24
View file @
c072bca2
...
...
@@ -45,7 +45,7 @@ object LammpsParserSpec2 extends Specification {
// }
// }
// }
//
object
LammpsParserSpec4
extends
Specification
{
"LammpsParserTest4"
>>
{
"test with json-events 4"
>>
{
...
...
@@ -56,26 +56,47 @@ object LammpsParserSpec4 extends Specification {
}
}
}
object
LammpsParserSpec5
extends
Specification
{
"LammpsParserTest5"
>>
{
"test with json-events 5"
>>
{
ParserRun
.
parse
(
LammpsParser
,
"parsers/lammps/test/examples/methane_MD_traj/log.methane_nvt_traj_dcd_thermo_style_custom"
,
"json-events"
)
must_==
ParseResult
.
ParseSuccess
}
"test with json 5"
>>
{
ParserRun
.
parse
(
LammpsParser
,
"parsers/lammps/test/examples/methane_MD_traj/log.methane_nvt_traj_dcd_thermo_style_custom"
,
"json"
)
must_==
ParseResult
.
ParseSuccess
}
}
}
object
LammpsParserSpec6
extends
Specification
{
"LammpsParserTest6"
>>
{
"test with json-events 6"
>>
{
ParserRun
.
parse
(
LammpsParser
,
"parsers/lammps/test/examples/methane_MD_traj/log.methane_nvt_traj_xtc_thermo_style_custom"
,
"json-events"
)
must_==
ParseResult
.
ParseSuccess
}
"test with json 6"
>>
{
ParserRun
.
parse
(
LammpsParser
,
"parsers/lammps/test/examples/methane_MD_traj/log.methane_nvt_traj_xtc_thermo_style_custom"
,
"json"
)
must_==
ParseResult
.
ParseSuccess
}
}
}
//
//object LammpsParserSpec5 extends Specification {
// "LammpsParserTest5" >> {
// "test with json-events 5" >> {
// ParserRun.parse(LammpsParser, "parsers/lammps/test/examples/methane_MD_traj/log.methane_nvt_traj_atom_thermo_style_custom", "json-events") must_== ParseResult.ParseSuccess
// }
// "test with json 5" >> {
// ParserRun.parse(LammpsParser, "parsers/lammps/test/examples/methane_MD_traj/log.methane_nvt_traj_atom_thermo_style_custom", "json") must_== ParseResult.ParseSuccess
// }
// }
//}
//
//object LammpsParserSpec6 extends Specification {
// "LammpsParserTest6" >> {
// "test with json-events 6" >> {
// ParserRun.parse(LammpsParser, "parsers/lammps/test/examples/methane_MD_traj/log.methane_nvt_traj_atom_unscaled_image_flags_thermo_style_custom", "json-events") must_== ParseResult.ParseSuccess
// }
// "test with json 6" >> {
// ParserRun.parse(LammpsParser, "parsers/lammps/test/examples/methane_MD_traj/log.methane_nvt_traj_atom_unscaled_image_flags_thermo_style_custom", "json") must_== ParseResult.ParseSuccess
// }
// }
//}
//
//object LammpsParserSpec7 extends Specification {
// "LammpsParserTest7" >> {
// "test with json-events 7" >> {
// ParserRun.parse(LammpsParser, "parsers/lammps/test/examples/methane_MD_traj/log.methane_nvt_traj_lammpstrj_thermo_style_custom", "json-events") must_== ParseResult.ParseSuccess
// }
// "test with json 7" >> {
// ParserRun.parse(LammpsParser, "parsers/lammps/test/examples/methane_MD_traj/log.methane_nvt_traj_lammpstrj_thermo_style_custom", "json") must_== ParseResult.ParseSuccess
// }
// }
//}
//
//object LammpsParserSpec8 extends Specification {
// "LammpsParserTest8" >> {
// "test with json-events 8" >> {
// ParserRun.parse(LammpsParser, "parsers/lammps/test/examples/methane_MD_traj/log.methane_nvt_traj_xyz_thermo_style_custom", "json-events") must_== ParseResult.ParseSuccess
// }
// "test with json 8" >> {
// ParserRun.parse(LammpsParser, "parsers/lammps/test/examples/methane_MD_traj/log.methane_nvt_traj_xyz_thermo_style_custom", "json") must_== ParseResult.ParseSuccess
// }
// }
//}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment