Добавить доступный интерфейс этапа 3

This commit is contained in:
2026-08-18 16:29:08 +03:00
parent dcb16ef4d0
commit 21775542d5
11 changed files with 854 additions and 23 deletions
@@ -0,0 +1,19 @@
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)
);
}
}