Skip to content

Commit

Permalink
Issue #101 unit test (should fail)
Browse files Browse the repository at this point in the history
  • Loading branch information
NQNStudios committed Sep 11, 2024
1 parent 8821044 commit 5ef517c
Show file tree
Hide file tree
Showing 16 changed files with 20,190 additions and 0 deletions.
Binary file added rsrc/test-scenarios/townrectMac.exs
Binary file not shown.
Binary file added rsrc/test-scenarios/townrectUniversal/header.exs
Binary file not shown.
9,063 changes: 9,063 additions & 0 deletions rsrc/test-scenarios/townrectUniversal/items.xml

Large diffs are not rendered by default.

4,606 changes: 4,606 additions & 0 deletions rsrc/test-scenarios/townrectUniversal/monsters.xml

Large diffs are not rendered by default.

48 changes: 48 additions & 0 deletions rsrc/test-scenarios/townrectUniversal/out/out0~0.map
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5
5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5
5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5
5,5,5,21,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,18,5,5,5
5,5,5,9,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,15,5,5,5
5,5,5,9,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,15,5,5,5
5,5,5,9,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,15,5,5,5
5,5,5,9,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,15,5,5,5
5,5,5,9,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,15,5,5,5
5,5,5,9,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,15,5,5,5
5,5,5,9,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,15,5,5,5
5,5,5,9,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,15,5,5,5
5,5,5,20,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,19,5,5,5
5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5
5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5
5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5
Empty file.
5 changes: 5 additions & 0 deletions rsrc/test-scenarios/townrectUniversal/out/out0~0.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<sector boes="2.0.0">
<name>Area name</name>
<comment>Comment</comment>
</sector>
Empty file.
61 changes: 61 additions & 0 deletions rsrc/test-scenarios/townrectUniversal/scenario.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<scenario boes="2.0.0">
<title>Rect Town Bounds</title>
<icon>0</icon>
<id></id>
<version>1.0.192</version>
<language>en-US</language>
<author>
<name>NQNStudios</name>
<email>Contact info</email>
</author>
<text>
<teaser>Who wrote 1</teaser>
<teaser>Who wrote 2</teaser>
</text>
<ratings>
<content>G</content>
<difficulty>1</difficulty>
</ratings>
<flags>
<adjust-difficulty>true</adjust-difficulty>
<legacy>false</legacy>
<custom-graphics>true</custom-graphics>
</flags>
<creator>
<type>oboe</type>
<version>2.0.0</version>
<os>Apple Mac OS X Version 14.5 (Build 23F79)</os>
</creator>
<game>
<num-towns>1</num-towns>
<out-width>1</out-width>
<out-height>1</out-height>
<start-town>0</start-town>
<town-start x="24" y="24" />
<outdoor-start x="0" y="0" />
<sector-start x="24" y="24" />
<shop>
<name>Healing</name>
<type>dead</type>
<prompt>heal</prompt>
<face>41</face>
<entries>
<heal>0</heal>
<heal>1</heal>
<heal>2</heal>
<heal>4</heal>
<heal>9</heal>
<heal>5</heal>
<heal>6</heal>
<heal>7</heal>
<heal>8</heal>
</entries>
</shop>
</game>
<editor>
<default-ground>0</default-ground>
<last-out-section x="0" y="0" />
<last-town>0</last-town>
</editor>
</scenario>
Loading

0 comments on commit 5ef517c

Please sign in to comment.