blob: 1df5a8e147217c2145982a73198b80f5f6470bf1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
package de.hysky.skyblocker.skyblock.dungeon;
import de.hysky.skyblocker.utils.chat.ChatPatternListenerTest;
import org.junit.jupiter.api.Test;
class TriviaTest extends ChatPatternListenerTest<Trivia> {
public TriviaTest() {
super(new Trivia());
}
@Test
void anyQuestion1() {
assertGroup(" What is the first question?", 1, "What is the first question?");
}
@Test
void anyQestion2() {
assertGroup(" How many questions are there?", 1, "How many questions are there?");
}
@Test
void answer1() {
assertGroup(" §6 ⓐ §aAnswer 1", 3, "Answer 1");
}
@Test
void answer2() {
assertGroup(" §6 ⓑ §aAnswer 2", 3, "Answer 2");
}
@Test
void answer3() {
assertGroup(" §6 ⓒ §aAnswer 3", 3, "Answer 3");
}
}
|