aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/me/xmrvizzy/skyblocker/skyblock/dungeon/TriviaTest.java
blob: 37f077fbcf2486b96199185f3727ae047543b536 (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 me.xmrvizzy.skyblocker.skyblock.dungeon;

import me.xmrvizzy.skyblocker.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");
    }
}