|
@@ -16,11 +16,7 @@ import org.junit.Test;
|
|
public class PraktikumHolonsTestClasses {
|
|
public class PraktikumHolonsTestClasses {
|
|
|
|
|
|
/**
|
|
/**
|
|
-<<<<<<< HEAD
|
|
|
|
- * Tests for the Category Class.
|
|
|
|
-=======
|
|
|
|
* Test for the Categories.
|
|
* Test for the Categories.
|
|
->>>>>>> 90bc29b29bece3f981eca7b6bd629093b2c90382
|
|
|
|
*/
|
|
*/
|
|
@Test
|
|
@Test
|
|
public void testCategory() {
|
|
public void testCategory() {
|
|
@@ -47,11 +43,7 @@ public class PraktikumHolonsTestClasses {
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|
|
-<<<<<<< HEAD
|
|
|
|
- * Tests for the HolonObject Class.
|
|
|
|
-=======
|
|
|
|
* Test for HolonObject.
|
|
* Test for HolonObject.
|
|
->>>>>>> 90bc29b29bece3f981eca7b6bd629093b2c90382
|
|
|
|
*/
|
|
*/
|
|
@Test
|
|
@Test
|
|
public void testHolonObject() {
|
|
public void testHolonObject() {
|
|
@@ -107,20 +99,12 @@ public class PraktikumHolonsTestClasses {
|
|
test1.setState();
|
|
test1.setState();
|
|
assertTrue("Should be state 0", test1.getState() == 0);
|
|
assertTrue("Should be state 0", test1.getState() == 0);
|
|
test2.setState();
|
|
test2.setState();
|
|
-<<<<<<< HEAD
|
|
|
|
-=======
|
|
|
|
-
|
|
|
|
->>>>>>> 90bc29b29bece3f981eca7b6bd629093b2c90382
|
|
|
|
test2.setBorderColor(color);
|
|
test2.setBorderColor(color);
|
|
assertTrue("Color not Same", color == test2.getBorderColor());
|
|
assertTrue("Color not Same", color == test2.getBorderColor());
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|
|
-<<<<<<< HEAD
|
|
|
|
- * Tests for HolonSwitch Class.
|
|
|
|
-=======
|
|
|
|
* Test for HolonSwitch.
|
|
* Test for HolonSwitch.
|
|
->>>>>>> 90bc29b29bece3f981eca7b6bd629093b2c90382
|
|
|
|
*/
|
|
*/
|
|
@Test
|
|
@Test
|
|
public void testHolonSwitch() {
|
|
public void testHolonSwitch() {
|
|
@@ -148,11 +132,7 @@ public class PraktikumHolonsTestClasses {
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|
|
-<<<<<<< HEAD
|
|
|
|
- * Tests for CpsEdge Class.
|
|
|
|
-=======
|
|
|
|
- * Test for CpsEdge.
|
|
|
|
->>>>>>> 90bc29b29bece3f981eca7b6bd629093b2c90382
|
|
|
|
|
|
+ * Test for CpsEdge.
|
|
*/
|
|
*/
|
|
@Test
|
|
@Test
|
|
public void testCpsEdge() {
|
|
public void testCpsEdge() {
|
|
@@ -196,11 +176,7 @@ public class PraktikumHolonsTestClasses {
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|
|
-<<<<<<< HEAD
|
|
|
|
- * Tests for HolonElement Class.
|
|
|
|
-=======
|
|
|
|
* Test for HolonElement.
|
|
* Test for HolonElement.
|
|
->>>>>>> 90bc29b29bece3f981eca7b6bd629093b2c90382
|
|
|
|
*/
|
|
*/
|
|
@Test
|
|
@Test
|
|
public void testHolonElement() {
|
|
public void testHolonElement() {
|
|
@@ -225,11 +201,7 @@ public class PraktikumHolonsTestClasses {
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|
|
-<<<<<<< HEAD
|
|
|
|
- * Tests for Position Class.
|
|
|
|
-=======
|
|
|
|
* Test for Position.
|
|
* Test for Position.
|
|
->>>>>>> 90bc29b29bece3f981eca7b6bd629093b2c90382
|
|
|
|
*/
|
|
*/
|
|
@Test
|
|
@Test
|
|
public void testPosition() {
|
|
public void testPosition() {
|
|
@@ -242,11 +214,7 @@ public class PraktikumHolonsTestClasses {
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|
|
-<<<<<<< HEAD
|
|
|
|
- * Tests for SubNet Class.
|
|
|
|
-=======
|
|
|
|
* Test SubNet.
|
|
* Test SubNet.
|
|
->>>>>>> 90bc29b29bece3f981eca7b6bd629093b2c90382
|
|
|
|
*/
|
|
*/
|
|
@Test
|
|
@Test
|
|
public void testSubNet() {
|
|
public void testSubNet() {
|