--
You received this message because you are subscribed to the Google Groups "PIT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pitusers+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pitusers/e877618b-a3ce-42c5-96b6-542bf858a050n%40googlegroups.com.
Am 04.09.2021 um 20:22 schrieb Alberto Guerra González <erca...@gmail.com>:
Hi everyone!I am very new to mutation testing so apologies for the noob questions.I just ran my first experiment with PIT and I was a bit confused with the line coverage results.
Can anyone please explain why line coverage is 50% here? <Coverage.png>
My tests are the following:@Test
public void factorialZero() {
assertEquals(1, App.factorial( 0 ));
}
@Test
public void factorialFive() {
assertEquals(5*4*3*2, App.factorial( 5 ));
}Thanks!
--
You received this message because you are subscribed to the Google Groups "PIT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pitusers+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pitusers/e877618b-a3ce-42c5-96b6-542bf858a050n%40googlegroups.com.
<Coverage.png>