From 9f9c519cbaa5384e666ffa2b5e1cf4f99780ba28 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Tue, 5 Nov 2019 15:38:37 -0500 Subject: fix erasing cells in diff also add more comprehensive tests --- tests/data/crawl/crawl1 | 8 ++++++++ tests/data/crawl/crawl10 | 1 + tests/data/crawl/crawl11 | 1 + tests/data/crawl/crawl12 | 1 + tests/data/crawl/crawl13 | 1 + tests/data/crawl/crawl14 | 1 + tests/data/crawl/crawl15 | 1 + tests/data/crawl/crawl16 | 1 + tests/data/crawl/crawl17 | 1 + tests/data/crawl/crawl18 | 1 + tests/data/crawl/crawl19 | 1 + tests/data/crawl/crawl2 | 1 + tests/data/crawl/crawl20 | 1 + tests/data/crawl/crawl21 | 1 + tests/data/crawl/crawl22 | 1 + tests/data/crawl/crawl23 | 1 + tests/data/crawl/crawl24 | 1 + tests/data/crawl/crawl25 | 1 + tests/data/crawl/crawl26 | 1 + tests/data/crawl/crawl27 | 1 + tests/data/crawl/crawl28 | 1 + tests/data/crawl/crawl29 | 1 + tests/data/crawl/crawl3 | 1 + tests/data/crawl/crawl30 | 1 + tests/data/crawl/crawl4 | 1 + tests/data/crawl/crawl5 | 1 + tests/data/crawl/crawl6 | 1 + tests/data/crawl/crawl7 | 1 + tests/data/crawl/crawl8 | 1 + tests/data/crawl/crawl9 | 1 + 30 files changed, 37 insertions(+) create mode 100644 tests/data/crawl/crawl1 create mode 100644 tests/data/crawl/crawl10 create mode 100644 tests/data/crawl/crawl11 create mode 100644 tests/data/crawl/crawl12 create mode 100644 tests/data/crawl/crawl13 create mode 100644 tests/data/crawl/crawl14 create mode 100644 tests/data/crawl/crawl15 create mode 100644 tests/data/crawl/crawl16 create mode 100644 tests/data/crawl/crawl17 create mode 100644 tests/data/crawl/crawl18 create mode 100644 tests/data/crawl/crawl19 create mode 100644 tests/data/crawl/crawl2 create mode 100644 tests/data/crawl/crawl20 create mode 100644 tests/data/crawl/crawl21 create mode 100644 tests/data/crawl/crawl22 create mode 100644 tests/data/crawl/crawl23 create mode 100644 tests/data/crawl/crawl24 create mode 100644 tests/data/crawl/crawl25 create mode 100644 tests/data/crawl/crawl26 create mode 100644 tests/data/crawl/crawl27 create mode 100644 tests/data/crawl/crawl28 create mode 100644 tests/data/crawl/crawl29 create mode 100644 tests/data/crawl/crawl3 create mode 100644 tests/data/crawl/crawl30 create mode 100644 tests/data/crawl/crawl4 create mode 100644 tests/data/crawl/crawl5 create mode 100644 tests/data/crawl/crawl6 create mode 100644 tests/data/crawl/crawl7 create mode 100644 tests/data/crawl/crawl8 create mode 100644 tests/data/crawl/crawl9 (limited to 'tests/data') diff --git a/tests/data/crawl/crawl1 b/tests/data/crawl/crawl1 new file mode 100644 index 0000000..48328c5 --- /dev/null +++ b/tests/data/crawl/crawl1 @@ -0,0 +1,8 @@ + +Player: doy +Game: Crawl (0.18) +Server: Public Crawl server: crawl.akrasiac.org +Filename: 2016-08-15.01:36:02.ttyrec +Time: (1471224962) Sun Aug 14 21:36:02 2016 + + \ No newline at end of file diff --git a/tests/data/crawl/crawl10 b/tests/data/crawl/crawl10 new file mode 100644 index 0000000..bb80abe --- /dev/null +++ b/tests/data/crawl/crawl10 @@ -0,0 +1 @@ +Welcome, doy. Please select your species.a - Humanj - Trolls - Vine Stalkerb - High Elfk - Nagat - Demigodc - Deep Elfl - Centauru - Demonspawnd - Deep Dwarfm - Merfolkv - Mummye - Hill Orcn - Minotaurw - Ghoulf - Halflingo - Tengux - Vampireg - Koboldp - Draconiany - Felidh - Sprigganq - Gargoylez - Octopodei - Ogrer - FormicidHumans advance quickly in levels and have equal abilities in most skills.   + - Viable species* - Random species# - Viable character ! - Random character% - List aptitudes Space - Pick background first? - HelpTab - Human Necromancer \ No newline at end of file diff --git a/tests/data/crawl/crawl11 b/tests/data/crawl/crawl11 new file mode 100644 index 0000000..c4b1bfc --- /dev/null +++ b/tests/data/crawl/crawl11 @@ -0,0 +1 @@ + [?25h[?47l8 > \ No newline at end of file diff --git a/tests/data/crawl/crawl12 b/tests/data/crawl/crawl12 new file mode 100644 index 0000000..115441f --- /dev/null +++ b/tests/data/crawl/crawl12 @@ -0,0 +1 @@ +[?1051l[?1052l[?1060l[?1061l \ No newline at end of file diff --git a/tests/data/crawl/crawl13 b/tests/data/crawl/crawl13 new file mode 100644 index 0000000..19ac3d6 --- /dev/null +++ b/tests/data/crawl/crawl13 @@ -0,0 +1 @@ +[?1051l[?1052l[?1060l[?1061h \ No newline at end of file diff --git a/tests/data/crawl/crawl14 b/tests/data/crawl/crawl14 new file mode 100644 index 0000000..efa8c19 --- /dev/null +++ b/tests/data/crawl/crawl14 @@ -0,0 +1 @@ += \ No newline at end of file diff --git a/tests/data/crawl/crawl15 b/tests/data/crawl/crawl15 new file mode 100644 index 0000000..efa8c19 --- /dev/null +++ b/tests/data/crawl/crawl15 @@ -0,0 +1 @@ += \ No newline at end of file diff --git a/tests/data/crawl/crawl16 b/tests/data/crawl/crawl16 new file mode 100644 index 0000000..ab58084 --- /dev/null +++ b/tests/data/crawl/crawl16 @@ -0,0 +1 @@ +7[?47h[?25l \ No newline at end of file diff --git a/tests/data/crawl/crawl17 b/tests/data/crawl/crawl17 new file mode 100644 index 0000000..9ba9231 --- /dev/null +++ b/tests/data/crawl/crawl17 @@ -0,0 +1 @@ +Welcome, doy. Please select your species.a - Humanj - Trolls - Vine Stalkerb - High Elfk - Nagat - Demigodc - Deep Elfl - Centauru - Demonspawnd - Deep Dwarfm - Merfolkv - Mummye - Hill Orcn - Minotaurw - Ghoulf - Halflingo - Tengux - Vampireg - Koboldp - Draconiany - Felidh - Sprigganq - Gargoylez - Octopodei - Ogrer - FormicidHumans advance quickly in levels and have equal abilities in most skills.   + - Viable species* - Random species# - Viable character ! - Random character% - List aptitudes Space - Pick background first? - HelpTab - Human Necromancer \ No newline at end of file diff --git a/tests/data/crawl/crawl18 b/tests/data/crawl/crawl18 new file mode 100644 index 0000000..c97699c --- /dev/null +++ b/tests/data/crawl/crawl18 @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/tests/data/crawl/crawl19 b/tests/data/crawl/crawl19 new file mode 100644 index 0000000..26fad4e --- /dev/null +++ b/tests/data/crawl/crawl19 @@ -0,0 +1 @@ +doy the Grave Robber HumanHealth: 13/13 ========================Magic: 3/3========================AC:  2Str: 8EV: 12Int: 15SH:  0Dex: 13XL:  1 Next:  0%  Place: Dungeon:1Gold: 0Time: 0.0 (0.0)-) Nothing wielded-) Nothing quivered \ No newline at end of file diff --git a/tests/data/crawl/crawl2 b/tests/data/crawl/crawl2 new file mode 100644 index 0000000..9d99541 --- /dev/null +++ b/tests/data/crawl/crawl2 @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/tests/data/crawl/crawl20 b/tests/data/crawl/crawl20 new file mode 100644 index 0000000..39c81b8 --- /dev/null +++ b/tests/data/crawl/crawl20 @@ -0,0 +1 @@ + #### #p.# ##....... ....... #...(.. ..#.#. .#. # ### \ No newline at end of file diff --git a/tests/data/crawl/crawl21 b/tests/data/crawl/crawl21 new file mode 100644 index 0000000..16cb040 --- /dev/null +++ b/tests/data/crawl/crawl21 @@ -0,0 +1 @@ +  Welcome, doy the Human Necromancer.Will you prevail where others failed? Will you find the Orb of Zot? \ No newline at end of file diff --git a/tests/data/crawl/crawl22 b/tests/data/crawl/crawl22 new file mode 100644 index 0000000..d84b899 --- /dev/null +++ b/tests/data/crawl/crawl22 @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/tests/data/crawl/crawl23 b/tests/data/crawl/crawl23 new file mode 100644 index 0000000..d53987d --- /dev/null +++ b/tests/data/crawl/crawl23 @@ -0,0 +1 @@ +Press ? for a list of commands and other information.  Found 10 sling bullets. \ No newline at end of file diff --git a/tests/data/crawl/crawl24 b/tests/data/crawl/crawl24 new file mode 100644 index 0000000..d84b899 --- /dev/null +++ b/tests/data/crawl/crawl24 @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/tests/data/crawl/crawl25 b/tests/data/crawl/crawl25 new file mode 100644 index 0000000..bb5d42e --- /dev/null +++ b/tests/data/crawl/crawl25 @@ -0,0 +1 @@ + _Found a staircase leading out of the dungeon. \ No newline at end of file diff --git a/tests/data/crawl/crawl26 b/tests/data/crawl/crawl26 new file mode 100644 index 0000000..765cd31 --- /dev/null +++ b/tests/data/crawl/crawl26 @@ -0,0 +1 @@ + _#######<.#p####.#3.0 (3#..##...#......#>#.#.##..#.###### ## _Found an escape hatch in the floor. \ No newline at end of file diff --git a/tests/data/crawl/crawl27 b/tests/data/crawl/crawl27 new file mode 100644 index 0000000..d0906bf --- /dev/null +++ b/tests/data/crawl/crawl27 @@ -0,0 +1 @@ + _ _There is an escape hatch in the floor here. \ No newline at end of file diff --git a/tests/data/crawl/crawl28 b/tests/data/crawl/crawl28 new file mode 100644 index 0000000..20add35 --- /dev/null +++ b/tests/data/crawl/crawl28 @@ -0,0 +1 @@ + _You see here 10 sling bullets. \ No newline at end of file diff --git a/tests/data/crawl/crawl29 b/tests/data/crawl/crawl29 new file mode 100644 index 0000000..499d593 --- /dev/null +++ b/tests/data/crawl/crawl29 @@ -0,0 +1 @@ + ##...#.#...#.#  #>#.#.##..#..# ############.# #.######## #......... #.######## #######.######## ................ ######p########25.0 (22.0) ..#  >.  ........##  #####.#.#   #...#   ###.#  #.#  \ No newline at end of file diff --git a/tests/data/crawl/crawl3 b/tests/data/crawl/crawl3 new file mode 100644 index 0000000..19ac3d6 --- /dev/null +++ b/tests/data/crawl/crawl3 @@ -0,0 +1 @@ +[?1051l[?1052l[?1060l[?1061h \ No newline at end of file diff --git a/tests/data/crawl/crawl30 b/tests/data/crawl/crawl30 new file mode 100644 index 0000000..b8bd936 --- /dev/null +++ b/tests/data/crawl/crawl30 @@ -0,0 +1 @@ + _Found a stone staircase leading down. \ No newline at end of file diff --git a/tests/data/crawl/crawl4 b/tests/data/crawl/crawl4 new file mode 100644 index 0000000..e4a08bc --- /dev/null +++ b/tests/data/crawl/crawl4 @@ -0,0 +1 @@ +(B)07[?47h= \ No newline at end of file diff --git a/tests/data/crawl/crawl5 b/tests/data/crawl/crawl5 new file mode 100644 index 0000000..a4e3d21 --- /dev/null +++ b/tests/data/crawl/crawl5 @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/tests/data/crawl/crawl6 b/tests/data/crawl/crawl6 new file mode 100644 index 0000000..4f9e18b --- /dev/null +++ b/tests/data/crawl/crawl6 @@ -0,0 +1 @@ +[?25l \ No newline at end of file diff --git a/tests/data/crawl/crawl7 b/tests/data/crawl/crawl7 new file mode 100644 index 0000000..c97699c --- /dev/null +++ b/tests/data/crawl/crawl7 @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/tests/data/crawl/crawl8 b/tests/data/crawl/crawl8 new file mode 100644 index 0000000..c97699c --- /dev/null +++ b/tests/data/crawl/crawl8 @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/tests/data/crawl/crawl9 b/tests/data/crawl/crawl9 new file mode 100644 index 0000000..c97699c --- /dev/null +++ b/tests/data/crawl/crawl9 @@ -0,0 +1 @@ + \ No newline at end of file -- cgit v1.2.3-54-g00ecf