Sha256: 008a2e2cd236cc1c55897514d481a99b3053cdc4813dd23dad77be62275f7470

Contents?: true

Size: 358 Bytes

Versions: 3

Compression:

Stored size: 358 Bytes

Contents

require 'sleepy_penguin/sp'
require_relative 'helper'

class TestConstants < Test::Unit::TestCase
  def test_constants
    assert_equal SleepyPenguin::SLEEPY_PENGUIN_VERSION,
                 SP::SLEEPY_PENGUIN_VERSION
    v = SP::SLEEPY_PENGUIN_VERSION.split('.')

    (0..2).each do |i|
      assert_equal v[i], v[i].to_i.to_s, v.inspect
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sleepy_penguin-3.5.2 test/test_constants.rb
sleepy_penguin-3.5.1 test/test_constants.rb
sleepy_penguin-3.5.0 test/test_constants.rb