Skip to content

Commit

Permalink
demos version for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdruppe committed May 12, 2020
1 parent 1534a7f commit ef22dba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions simpledisplay.d
Expand Up @@ -489,6 +489,7 @@ module arsd.simpledisplay;
with the keyboard. Player two is controlled with the mouse. It demos
the pulse timer, event handling, and some basic drawing.
+/
version(demos)
unittest {
// dmd example.d simpledisplay.d color.d
import arsd.simpledisplay;
Expand Down Expand Up @@ -610,6 +611,7 @@ unittest {
game with simpledisplay and shows some mouse input and basic output
code.
+/
version(demos)
unittest {
import arsd.simpledisplay;

Expand Down

0 comments on commit ef22dba

Please sign in to comment.