Commit 9665cba0 authored by Lukas Köhler's avatar Lukas Köhler
Browse files

chg lab02 equals test

parent fcc0a98c
......@@ -241,6 +241,12 @@ public class Lab02Test {
Assert.fail("Could not find equals method in answer entity");
}
}
Object question1 = controller.getLab01Data().getQuestions().get(0);
Object question2 = controller.getLab01Data().getQuestions().get(1);
if (question1.equals(question2)) {
Assert.fail("Two different questions should be equal");
}
}
@Test
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment