20 lines
586 B
Java
20 lines
586 B
Java
package com.projectsacrifice.game;
|
|
|
|
import static org.junit.Assert.assertEquals;
|
|
|
|
import org.junit.Test;
|
|
|
|
public final class AccessibilityStatusTest {
|
|
@Test
|
|
public void criticalGameplayStateIsRepresentedByTextNotOnlyColorOrVibration() {
|
|
assertEquals(
|
|
"Signals 1/2 · Doors 0/1 · Volunteer respawning",
|
|
AccessibilityStatus.describe(1, 2, 0, 1, false)
|
|
);
|
|
assertEquals(
|
|
"Signals 0/0 · Doors 0/0 · Volunteer active",
|
|
AccessibilityStatus.describe(0, 0, 0, 0, true)
|
|
);
|
|
}
|
|
}
|