Skip to content

Commit

Permalink
Fix style check
Browse files Browse the repository at this point in the history
  • Loading branch information
pavanbaloju committed Oct 5, 2023
1 parent b8e2d23 commit dbb9397
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,8 @@ public void testStopRnaSequence3() {
@Ignore("Remove to run test")
@Test
public void testTranslationOfRnaToProteinList() {
assertThat(proteinTranslator.translate("AUGUUUUGG")).containsExactly("Methionine", "Phenylalanine", "Tryptophan");
assertThat(proteinTranslator.translate("AUGUUUUGG"))
.containsExactly("Methionine", "Phenylalanine", "Tryptophan");
}

@Ignore("Remove to run test")
Expand Down Expand Up @@ -147,7 +148,8 @@ public void testTranslationStopsIfStopCodonInMiddle1() {
@Ignore("Remove to run test")
@Test
public void testTranslationStopsIfStopCodonInMiddle2() {
assertThat(proteinTranslator.translate("UGGUGUUAUUAAUGGUUU")).containsExactly("Tryptophan", "Cysteine", "Tyrosine");
assertThat(proteinTranslator.translate("UGGUGUUAUUAAUGGUUU"))
.containsExactly("Tryptophan", "Cysteine", "Tyrosine");
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ public void rotatePunctuation() {
@Test
public void rotateAllLetters() {
rotationalCipher = new RotationalCipher(13);
assertThat(rotationalCipher.rotate("Gur dhvpx oebja sbk whzcf bire gur ynml qbt.")).isEqualTo("The quick brown fox jumps over the lazy dog.");
assertThat(rotationalCipher.rotate("Gur dhvpx oebja sbk whzcf bire gur ynml qbt."))
.isEqualTo("The quick brown fox jumps over the lazy dog.");
}
}

0 comments on commit dbb9397

Please sign in to comment.