Sha256: 0e27b0d2f3ed7a1d7526333b6671ee4279085a69e3c713a57b5245a2c2b54421

Contents?: true

Size: 973 Bytes

Versions: 2

Compression:

Stored size: 973 Bytes

Contents

#$:.unshift File.join(File.dirname(__FILE__),'..','lib')
#
#require './lib/vergissberlin/version.rb'

#
#class VersionTest < Test::Unit::TestCase
#  def test_check_should_return_true_for_matching_parameters
#    assert Vergissberlin::Version.check([2], [2])
#    assert Vergissberlin::Version.check([2,1], [2,1])
#    assert Vergissberlin::Version.check([2,1,5], [2,1,5])
#  end
#
#  def test_check_should_return_true_if_first_is_less_than_second
#    assert Vergissberlin::Version.check([2], [3])
#    assert Vergissberlin::Version.check([2], [2,1])
#    assert Vergissberlin::Version.check([2,1], [2,2])
#    assert Vergissberlin::Version.check([2,1], [2,1,1])
#  end
#
#  def test_check_should_return_false_if_first_is_greater_than_second
#    assert !Vergissberlin::Version.check([3], [2])
#    assert !Vergissberlin::Version.check([3,1], [3])
#    assert !Vergissberlin::Version.check([3,2], [3,1])
#    assert !Vergissberlin::Version.check([3,2,1], [3,2])
#  end
#end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vergissberlin-0.0.16 test/cases/version_case.rb
vergissberlin-0.0.15 test/cases/version_case.rb