Sha256: 1c5569e8e344965f05d3d3af27e6a176d8d702da96686208f09c6f715ca08165
Contents?: true
Size: 396 Bytes
Versions: 1
Compression:
Stored size: 396 Bytes
Contents
require 'test/unit' $-w = true Thread.abort_on_exception = true require 'sleepy_penguin/sp' 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sleepy_penguin-3.2.0 | test/test_constants.rb |