Skip to content

Commit

Permalink
Added more bad alignment examples
Browse files Browse the repository at this point in the history
  • Loading branch information
douweschulte committed Oct 15, 2024
1 parent 32e66d4 commit f7498ca
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions rustyms/src/align/bad_alignments.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,16 @@ fn overextended_rotation() {
test_alignment("IVQEVS", "LEVQVES", "1i1I2=2r1=");
}

#[test]
fn no_detected_rotation() {
test_alignment("AGGHT", "ANTH", "1=2:1i2r");
}

#[test]
fn no_detected_rotation_2() {
test_alignment("AGGHTK", "ANTHK", "1=2:1i2r1=");
}

fn test_alignment(peptide_one: &str, peptide_two: &str, path: &str) {
let first_peptide = LinearPeptide::pro_forma(peptide_one, None)
.unwrap()
Expand Down

0 comments on commit f7498ca

Please sign in to comment.