From ef22dbafe91790790c2c739438adc9b285317f3b Mon Sep 17 00:00:00 2001 From: "Adam D. Ruppe" Date: Mon, 11 May 2020 22:23:03 -0400 Subject: [PATCH] demos version for tests --- simpledisplay.d | 2 ++ 1 file changed, 2 insertions(+) diff --git a/simpledisplay.d b/simpledisplay.d index 474300e..53929d9 100644 --- a/simpledisplay.d +++ b/simpledisplay.d @@ -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; @@ -610,6 +611,7 @@ unittest { game with simpledisplay and shows some mouse input and basic output code. +/ +version(demos) unittest { import arsd.simpledisplay;