Sha256: 31c2ce2432dc1a5cdaa51036da1b0468df495e2b935328d6ee664bac41b78e89

Contents?: true

Size: 313 Bytes

Versions: 4

Compression:

Stored size: 313 Bytes

Contents

# -*- coding: utf-8 -*-
require 'spec_helper'

describe DXRubySDL::Font, 'フォントを表すクラス' do
  describe '.new' do
    given = 32
    context "大きさ(#{given.inspect})を指定した場合" do
      subject { DXRubySDL::Font.new(given) }

      its(:size) { should eq(given) }
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
dxruby_sdl-0.0.4 spec/dxruby_sdl/font_spec.rb
dxruby_sdl-0.0.3 spec/dxruby_sdl/font_spec.rb
dxruby_sdl-0.0.2 spec/dxruby_sdl/font_spec.rb
dxruby_sdl-0.0.1 spec/dxruby_sdl/font_spec.rb