|
|
|
@ -59,14 +59,14 @@ func TestParseDungeon(t *testing.T) { |
|
|
|
|
dLvl int |
|
|
|
|
expectedResult string |
|
|
|
|
}{ |
|
|
|
|
{0, 1, "The Dungeons of Doom"}, |
|
|
|
|
{0, 2, "The Dungeons of Doom"}, |
|
|
|
|
{1, 3, "Gehennom"}, |
|
|
|
|
{2, 4, "The Gnomish Mines"}, |
|
|
|
|
{3, 5, "The Quest"}, |
|
|
|
|
{4, 6, "Sokoban"}, |
|
|
|
|
{5, 7, "Fort Ludios"}, |
|
|
|
|
{6, 55, "Vlad's Tower"}, |
|
|
|
|
{0, 1, "The Dungeons of Doom (Level 1)"}, |
|
|
|
|
{0, 2, "The Dungeons of Doom (Level 2)"}, |
|
|
|
|
{1, 3, "Gehennom (Level 3)"}, |
|
|
|
|
{2, 4, "The Gnomish Mines (Level 4)"}, |
|
|
|
|
{3, 5, "The Quest (Level 5)"}, |
|
|
|
|
{4, 6, "Sokoban (Level 6)"}, |
|
|
|
|
{5, 7, "Fort Ludios (Level 7)"}, |
|
|
|
|
{6, 55, "Vlad's Tower (Level 55)"}, |
|
|
|
|
{7, -1, "Plane of Earth"}, |
|
|
|
|
{7, -2, "Plane of Air"}, |
|
|
|
|
{7, -3, "Plane of Fire"}, |
|
|
|
|