summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/test
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-10-31 09:31:11 +0100
committerRobert Vollmert <rvollmert@gmx.net>2009-10-31 09:39:52 +0100
commit16fabb6ee171d664ff55859b39653267ad7ba67e (patch)
tree9379b9357e37326db60eb31923c028da94462293 /crawl-ref/source/test
parentee3b9a6aba1ec74467dd50d5bf7be7cfa7bcf9b6 (diff)
downloadcrawl-ref-16fabb6ee171d664ff55859b39653267ad7ba67e.tar.gz
crawl-ref-16fabb6ee171d664ff55859b39653267ad7ba67e.zip
Trivial losight test case for performance testing.
Diffstat (limited to 'crawl-ref/source/test')
-rw-r--r--crawl-ref/source/test/los_base.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/crawl-ref/source/test/los_base.lua b/crawl-ref/source/test/los_base.lua
new file mode 100644
index 0000000000..94123156b1
--- /dev/null
+++ b/crawl-ref/source/test/los_base.lua
@@ -0,0 +1,6 @@
+-- Just calls calc_show_los once to ensure there's no crash bugs
+-- there or in raycasting.
+-- Can also be used for raycast performance testing.
+
+you.losight()
+