Skip to content

Commit

Permalink
Project 1: shortened assert statement
Browse files Browse the repository at this point in the history
  • Loading branch information
zhu-eric committed Feb 5, 2021
1 parent c1a8979 commit dd477f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proj1/gh2/TestGuitarString.java
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public void testTicCalculations() {
// Check that new sample is correct, using tolerance of 0.001.
// See JUnit documentation for a description of how tolerances work
// for assertEquals(double, double)
assertEquals("Wrong tic value. Try running the testTic method in TestGuitarString.java.", expected, s5, 0.001);
assertEquals("Wrong tic value. Try running the testTic method.", expected, s5, 0.001);
}
}

0 comments on commit dd477f3

Please sign in to comment.