mirror of
https://github.com/SleepingInsomniac/pixelfaucet
synced 2024-11-16 07:47:36 +01:00
18 lines
252 B
Crystal
18 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
|