added chareswe.iml
This commit is contained in:
commit
b049a50fb1
1
.idea/ChareSWE.iml
generated
1
.idea/ChareSWE.iml
generated
@ -7,5 +7,6 @@
|
|||||||
</content>
|
</content>
|
||||||
<orderEntry type="inheritedJdk" />
|
<orderEntry type="inheritedJdk" />
|
||||||
<orderEntry type="sourceFolder" forTests="false" />
|
<orderEntry type="sourceFolder" forTests="false" />
|
||||||
|
<orderEntry type="library" name="jars" level="project" />
|
||||||
</component>
|
</component>
|
||||||
</module>
|
</module>
|
14
ChareSWE.iml
14
ChareSWE.iml
@ -1,14 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<module type="JAVA_MODULE" version="4">
|
|
||||||
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
|
||||||
<exclude-output />
|
|
||||||
<content url="file://$MODULE_DIR$">
|
|
||||||
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
|
|
||||||
</content>
|
|
||||||
<orderEntry type="inheritedJdk" />
|
|
||||||
<orderEntry type="sourceFolder" forTests="false" />
|
|
||||||
<orderEntry type="library" name="jars (2)" level="project" />
|
|
||||||
<orderEntry type="library" name="jars (3)" level="project" />
|
|
||||||
<orderEntry type="library" name="jars (4)" level="project" />
|
|
||||||
</component>
|
|
||||||
</module>
|
|
4
src/TestGumbert.java
Normal file
4
src/TestGumbert.java
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
package PACKAGE_NAME;
|
||||||
|
|
||||||
|
public class TestGumbert {
|
||||||
|
}
|
4
src/TestKorndoerferPi.java
Normal file
4
src/TestKorndoerferPi.java
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
package PACKAGE_NAME;
|
||||||
|
|
||||||
|
public class TestKorndoerferPi {
|
||||||
|
}
|
47
src/Testamadoubahaa.java
Normal file
47
src/Testamadoubahaa.java
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
import org.junit.Test;
|
||||||
|
import static org.junit.Assert.*;
|
||||||
|
|
||||||
|
public class Testamadoubahaa {
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void testTrue(){
|
||||||
|
assertTrue(1==1);
|
||||||
|
assertEquals(4, 2*2);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void testMultiply(){
|
||||||
|
|
||||||
|
// Arrange
|
||||||
|
int i = 2;
|
||||||
|
|
||||||
|
// Act
|
||||||
|
int result = i * 2;
|
||||||
|
|
||||||
|
// Assert
|
||||||
|
assertEquals(4, result);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
|
||||||
|
public void testOne(){
|
||||||
|
|
||||||
|
//
|
||||||
|
int j = 23 ;
|
||||||
|
int a = 38;
|
||||||
|
|
||||||
|
// Act
|
||||||
|
int res = j + a;
|
||||||
|
|
||||||
|
// Assert
|
||||||
|
|
||||||
|
assertEquals(100, res);
|
||||||
|
|
||||||
|
|
||||||
|
//
|
||||||
|
|
||||||
|
//
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user