Sha256: d26e0791a095a48c8c5d23bf28704f980c28c2e5a1797773582b949f16c8acce
Contents?: true
Size: 352 Bytes
Versions: 6
Compression:
Stored size: 352 Bytes
Contents
require_relative "helper" class TestHelper < Test::Unit::TestCase include Helper def test_version_comparison v = Version.new("2.0.1") assert v > "1" assert v > "2" assert v < "3" assert v < "10" assert v < "2.1" assert v < "2.0.2" assert v < "2.0.1.1" assert v < "2.0.10" assert v == "2.0.1" end end
Version data entries
6 entries across 6 versions & 1 rubygems