Commit 9c8dc9b2 authored by NOEL Philippe's avatar NOEL Philippe

Update tests

parent 51ee583e
Pipeline #74933 passed with stages
in 2 minutes and 23 seconds
...@@ -14,7 +14,7 @@ fn parse_f2_adn() { ...@@ -14,7 +14,7 @@ fn parse_f2_adn() {
let my_struct = pdbparser::read_pdb("tests/tests_file/f2_adn.pdb", "f2"); let my_struct = pdbparser::read_pdb("tests/tests_file/f2_adn.pdb", "f2");
assert_eq!(5, my_struct.get_chain_number()); assert_eq!(5, my_struct.get_chain_number());
assert_eq!(8382, my_struct.get_residue_number()); assert_eq!(8382, my_struct.get_residue_number());
assert_eq!(1085, my_struct.get_atom_number()); assert_eq!(47740, my_struct.get_atom_number());
} }
#[test] #[test]
...@@ -28,9 +28,9 @@ fn parse_trp() { ...@@ -28,9 +28,9 @@ fn parse_trp() {
#[test] #[test]
fn parse_5jpq() { fn parse_5jpq() {
let my_struct = pdbparser::read_pdb("tests/tests_file/5jpq.pdb", "5jpq"); let my_struct = pdbparser::read_pdb("tests/tests_file/5jpq.pdb", "5jpq");
assert_eq!(35, my_struct.get_chain_number()); assert_eq!(56, my_struct.get_chain_number());
assert_eq!(8173, my_struct.get_residue_number()); assert_eq!(15066, my_struct.get_residue_number());
assert_eq!(44801, my_struct.get_atom_number()); assert_eq!(95839, my_struct.get_atom_number());
} }
#[test] #[test]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment