mirror of
https://github.com/SleepingInsomniac/pixelfaucet
synced 2024-11-17 07:48:20 +01:00
19 lines
252 B
Crystal
19 lines
252 B
Crystal
|
require "./spec_helper"
|
||
|
require "../src/game"
|
||
|
|
||
|
class Example < PF::Game
|
||
|
def update(dt)
|
||
|
end
|
||
|
|
||
|
def draw
|
||
|
end
|
||
|
end
|
||
|
|
||
|
describe PF::Game do
|
||
|
it "Instantiates" do
|
||
|
example = Example.new(100, 60)
|
||
|
example.running = false
|
||
|
example.run!
|
||
|
end
|
||
|
end
|