summaryrefslogtreecommitdiffhomepage
path: root/test/window_spec.rb
blob: c49b824f48757c27b90bb9bc6852e93f5021e1e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
require 'ruby2d'

RSpec.describe Ruby2D::Window do

  it 'returns class values' do
    expect(Window.current).to be_a(Ruby2D::Window)
    expect(Window.width).to eq(640)
    set width: 200
    expect(Window.width).to eq(200)
  end

end