ajout de la classe SimpleClasse.java
This commit is contained in:
parent
6564026bcc
commit
7dcc678992
1 changed files with 20 additions and 0 deletions
20
SimpleTest.java
Normal file
20
SimpleTest.java
Normal file
|
|
@ -0,0 +1,20 @@
|
||||||
|
import static org.junit.Assert.assertTrue;
|
||||||
|
|
||||||
|
import org.junit.Test;
|
||||||
|
|
||||||
|
public class SimpleTest {
|
||||||
|
@Test
|
||||||
|
public void test1(){
|
||||||
|
int a=2;
|
||||||
|
int b=2;
|
||||||
|
assertTrue(a+b==4);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void test2(){
|
||||||
|
int a=2;
|
||||||
|
int b=2;
|
||||||
|
assertTrue(a+b<4);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
Loading…
Reference in a new issue