Sha256: 521449461113ca5b67b98f6dd6645f9200016bac52dde61d0dc5a656eac26d35

Contents?: true

Size: 353 Bytes

Versions: 4

Compression:

Stored size: 353 Bytes

Contents

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

describe DXRubyRP5::Font, 'フォントを表すクラス' do
  before(:all) do
    Sketch.new
  end

  describe '.new' do
    given = 32
    context "大きさ(#{given.inspect})を指定した場合" do
      subject { described_class.new(given) }

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

Version data entries

4 entries across 4 versions & 1 rubygems

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