mirror of
https://github.com/SleepingInsomniac/pixelfaucet
synced 2024-11-16 07:47:36 +01:00
11 lines
230 B
Crystal
11 lines
230 B
Crystal
require "./spec_helper"
|
|
require "sdl"
|
|
require "../src/controller"
|
|
|
|
describe PF::Controller do
|
|
it "detects my keyboard" do
|
|
SDL.init(SDL::Init::VIDEO)
|
|
PF::Controller.detect_layout.should eq(:dvorak)
|
|
SDL.quit
|
|
end
|
|
end
|