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