demos version for tests

This commit is contained in:
Adam D. Ruppe 2020-05-11 22:23:03 -04:00
parent 1534a7fa19
commit ef22dbafe9
1 changed files with 2 additions and 0 deletions

View File

@ -489,6 +489,7 @@ module arsd.simpledisplay;
with the keyboard. Player two is controlled with the mouse. It demos with the keyboard. Player two is controlled with the mouse. It demos
the pulse timer, event handling, and some basic drawing. the pulse timer, event handling, and some basic drawing.
+/ +/
version(demos)
unittest { unittest {
// dmd example.d simpledisplay.d color.d // dmd example.d simpledisplay.d color.d
import arsd.simpledisplay; import arsd.simpledisplay;
@ -610,6 +611,7 @@ unittest {
game with simpledisplay and shows some mouse input and basic output game with simpledisplay and shows some mouse input and basic output
code. code.
+/ +/
version(demos)
unittest { unittest {
import arsd.simpledisplay; import arsd.simpledisplay;