Skip to content
Snippets Groups Projects
Commit 1a37a68d authored by MEDEDJI Setondji's avatar MEDEDJI Setondji :speech_balloon:
Browse files

Merge branch M1-INFO-FSI-TP-template:main into main

parents 6061a3ee 492816bc
No related branches found
No related tags found
No related merge requests found
rootProject.name = 'blackbox' rootProject.name = 'tp_1_test_blackbox'
rootProject.name = 'tp_fiabilite' rootProject.name = 'tp_2_unit_test_and_coverage'
package partial_coverage;
public class PartialCoverage {
public int returnZeroOrOne(int x, int y) {
int res = 0;
int z = 2;
x = z * z - z - 1;
/* on va voir si intellij s'en sort!*/
y = x > 0 ? -1 : 0;
for (int i = x; i < y; i++) {
res = x == 0 ? 1 : 0;
}
return res;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment