blob: 52a7ad8cbae6cf42b082996016ca346da77ef1af (
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.puzzle;
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(" ⓐ Answer 1", 3, "Answer 1");
}
@Test
void answer2() {
assertGroup(" ⓑ Answer 2", 3, "Answer 2");
}
@Test
void answer3() {
assertGroup(" ⓒ Answer 3", 3, "Answer 3");
}
}
|