Sha256: 84e0a7c31dba7b5f03e62edf9520b456dcda9c44be1232720ed4812db328b6d8
Contents?: true
Size: 389 Bytes
Versions: 9
Compression:
Stored size: 389 Bytes
Contents
# frozen_string_literal: true require_relative 'helper' class TestSemVer < Test::Unit::TestCase include DeterministicHelper assert_methods_are_deterministic(FFakerTW::SemVer, :next) def setup @tester = FFakerTW::SemVer end def test_next assert_includes(%w[0.0.1 0.1.0 1.0.0], @tester.next) assert_includes(%w[2.0.0 1.3.0 1.2.4], @tester.next('1.2.3')) end end
Version data entries
9 entries across 9 versions & 1 rubygems