Skip to content
Snippets Groups Projects
Commit 48838798 authored by Suzette J Person's avatar Suzette J Person
Browse files

added ODD-ODD test case to give full coverage

parent a500c2bf
No related branches found
No related tags found
No related merge requests found
......@@ -51,6 +51,12 @@ public class ParityTest extends TestCase {
"Enter parity of multiplier: Enter parity of multiplicand: The parity of the product of an ODD number and an EVEN number is EVEN."),
runMain("ODD", "EVEN"));
}
public void testOddOdd() {
assertEquals(assemble(
"Enter parity of multiplier: Enter parity of multiplicand: The parity of the product of an ODD number and an ODD number is ODD."),
runMain("ODD", "ODD"));
}
public void testOddUnknown() {
assertEquals(assemble(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment