Skip to content

Commit

Permalink
test: more meaningful test names
Browse files Browse the repository at this point in the history
  • Loading branch information
y1zhou committed May 20, 2024
1 parent 2b94117 commit 04078e3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/atomic_only.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
use pdbtbx::*;

#[test]
fn main() {
fn only_read_atoms() {
// PDB parser
assert_eq!(1871, count_atoms("example-pdbs/rosetta_model.pdb", false));
assert_eq!(1871, count_atoms("example-pdbs/rosetta_model.pdb", true));
Expand Down
2 changes: 1 addition & 1 deletion tests/ignore_hydrogens.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
use pdbtbx::*;

#[test]
fn main() {
fn ignore_hydrogens_in_pdb() {
// PDB parser
assert_eq!(
947,
Expand Down
2 changes: 1 addition & 1 deletion tests/multi_model.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
use pdbtbx::*;

#[test]
fn main() {
fn only_read_first_model() {
// PDB parser
assert_eq!(50, count_models("example-pdbs/pTLS-6484.pdb", false));
assert_eq!(1, count_models("example-pdbs/pTLS-6484.pdb", true));
Expand Down

0 comments on commit 04078e3

Please sign in to comment.