hsalokor / rkt-glfw

Racket bindings for GLFW library
1 stars 5 forks source link

Re-implement the tests for GLFW 3 #3

Closed kstrafe closed 6 years ago

kstrafe commented 6 years ago

These tests work for my machine, however, I would like to cut out that (sleep 1) if possible. Is there any way of forcing the window pipeline to process the command before getting the window size?

Edit: Made an issue about defines in #:before here https://github.com/racket/rackunit/issues/83

jackfirth commented 6 years ago

@BourgondAries If you like, I can take a peek at this PR and make suggestions for test improvements (especially if you end up using fixture).

kstrafe commented 6 years ago

I wouldn't mind at all, I don't have a lot of experience with tests in racket so let me know what I'm doing wrong :D

jackfirth commented 6 years ago

Great, happy to help :) Do you have more work you wanted to do on this PR before I make suggestions?

kstrafe commented 6 years ago

@jackfirth that should be it.

hsalokor commented 6 years ago

Looks good to me, sorry for the delay.