Skip to content
Snippets Groups Projects
Commit 9a56a7be authored by Goik Martin's avatar Goik Martin
Browse files

Marking points corrected

parent 739d0969
No related branches found
No related tags found
No related merge requests found
......@@ -44,7 +44,7 @@ public class MaexchenVergleich extends ExaminationTestDefaults {
/**
* toString()
*/
@Test @Marking(points = 1) public void test_80() {
@Test @Marking(points = 2) public void test_80() {
Assert.assertEquals("(3|1)", new MaexleWurf(1, 3).toString());
Assert.assertEquals("(3|1)", new MaexleWurf(3, 1).toString());
}
......@@ -52,7 +52,7 @@ public class MaexchenVergleich extends ExaminationTestDefaults {
/**
* Gleichheit nicht-Sonderfälle
*/
@Test @Marking(points = 2) public void test_100() {
@Test @Marking(points = 4) public void test_100() {
for (int i = 0; i < nichtSonderFaelle1.length; i++) {
Assert.assertEquals(0, nichtSonderFaelle1[i].compareTo(nichtSonderFaelle1[i]));
Assert.assertEquals(0, nichtSonderFaelle2[i].compareTo(nichtSonderFaelle2[i]));
......@@ -65,7 +65,7 @@ public class MaexchenVergleich extends ExaminationTestDefaults {
/**
* Gleichheit Pasch
*/
@Test public void test_120() {
@Test @Marking(points = 2) public void test_120() {
for (int i = 1; i <= 6; i++) {
Assert.assertEquals(0, paschFaelle[i - 1].compareTo(new MaexleWurf(i, i)));
}
......@@ -74,7 +74,7 @@ public class MaexchenVergleich extends ExaminationTestDefaults {
/**
* Gleichheit Mäxchen
*/
@Test public void test_140() {
@Test @Marking(points = 2) public void test_140() {
Assert.assertEquals(0, new MaexleWurf(1, 2).compareTo(new MaexleWurf(1, 2)));
Assert.assertEquals(0, new MaexleWurf(1, 2).compareTo(new MaexleWurf(2, 1)));
Assert.assertEquals(0, new MaexleWurf(2, 1).compareTo(new MaexleWurf(1, 2)));
......@@ -83,7 +83,7 @@ public class MaexchenVergleich extends ExaminationTestDefaults {
/**
* Ungleichheit Normalfälle untereinander
*/
@Test @Marking(points = 1) public void test_220() {
@Test @Marking(points = 2) public void test_220() {
for (int i = 0; i < nichtSonderFaelle1.length; i++) {
for (int j = i + 1; j < nichtSonderFaelle1.length; j++) {
Assert.assertTrue(0 < nichtSonderFaelle1[i].compareTo(nichtSonderFaelle1[j]));
......@@ -101,7 +101,7 @@ public class MaexchenVergleich extends ExaminationTestDefaults {
/**
* Ungleichheit Pasch - Normalfall
*/
@Test @Marking(points = 2) public void test_240() {
@Test @Marking(points = 4) public void test_240() {
for (int i = 0; i < nichtSonderFaelle1.length; i++) {
for (final MaexleWurf p : paschFaelle) {
Assert.assertTrue(0 < nichtSonderFaelle1[i].compareTo(p));
......@@ -116,7 +116,7 @@ public class MaexchenVergleich extends ExaminationTestDefaults {
/**
* Ungleichheit Mäxchen - Normalfall
*/
@Test public void test_260() {
@Test @Marking(points = 2) public void test_260() {
for (int i = 0; i < nichtSonderFaelle1.length; i++) {
for (final MaexleWurf m: maexchenFaelle) {
......@@ -132,7 +132,7 @@ public class MaexchenVergleich extends ExaminationTestDefaults {
/**
* Ungleichheit Mäxchen - Pashh
*/
@Test public void test_280() {
@Test @Marking(points = 2) public void test_280() {
for (final MaexleWurf m: maexchenFaelle) {
for (final MaexleWurf p: paschFaelle) {
Assert.assertTrue(0 < p.compareTo(m));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment