Initial problem solving (identified by Intellij)

This commit is contained in:
2026-06-14 21:01:43 +02:00
parent e27a2e1b0c
commit bac4a6b7f5
69 changed files with 175 additions and 368 deletions
@@ -9,29 +9,29 @@ class SlotTest {
@Test
void SlotWrongArgument() {
assertDoesNotThrow(() -> {
Slot sl1 = new Slot('A');
new Slot('A');
});
assertDoesNotThrow(() -> {
Slot sl1 = new Slot('B');
new Slot('B');
});
assertDoesNotThrow(() -> {
Slot sl1 = new Slot('C');
new Slot('C');
});
assertDoesNotThrow(() -> {
Slot sl1 = new Slot('D');
new Slot('D');
});
assertDoesNotThrow(() -> {
Slot sl1 = new Slot('E');
new Slot('E');
});
assertDoesNotThrow(() -> {
Slot sl1 = new Slot('F');
new Slot('F');
});
assertDoesNotThrow(() -> {
Slot sl1 = new Slot('G');
new Slot('G');
});
assertThrows(IllegalArgumentException.class, () -> {
Slot sl1 = new Slot('H');
new Slot('H');
});
}