Add tests for examples from Nim in Action.

This commit is contained in:
Dominik Picheta 2017-10-01 17:17:40 +01:00
commit 7889c03cbc
34 changed files with 1213 additions and 0 deletions

View file

@ -0,0 +1,9 @@
import sfml, os
var window = newRenderWindow(videoMode(800, 600), "SFML works!")
var event: Event
discard window.pollEvent(event)
window.clear(newColor(29, 64, 153, 255))
window.display()
sleep(1000)