Sha256: d1752fe9c8989ff5150ea6a8e7cfa5f335fa4571dcad2afc3d18fd2c60369285

Contents?: true

Size: 237 Bytes

Versions: 125

Compression:

Stored size: 237 Bytes

Contents

require 'generator/exercise_case'

class TwoFerCase < Generator::ExerciseCase

  def workload
    if input == nil
      assert_equal {"TwoFer.two_fer"}
    else
      assert_equal { "TwoFer.two_fer(#{input.inspect})" }
    end
  end
end

Version data entries

125 entries across 125 versions & 1 rubygems

Version Path
trackler-2.2.1.139 tracks/ruby/exercises/two-fer/.meta/generator/two_fer_case.rb
trackler-2.2.1.138 tracks/ruby/exercises/two-fer/.meta/generator/two_fer_case.rb
trackler-2.2.1.137 tracks/ruby/exercises/two-fer/.meta/generator/two_fer_case.rb
trackler-2.2.1.136 tracks/ruby/exercises/two-fer/.meta/generator/two_fer_case.rb
trackler-2.2.1.135 tracks/ruby/exercises/two-fer/.meta/generator/two_fer_case.rb
trackler-2.2.1.134 tracks/ruby/exercises/two-fer/.meta/generator/two_fer_case.rb
trackler-2.2.1.133 tracks/ruby/exercises/two-fer/.meta/generator/two_fer_case.rb
trackler-2.2.1.132 tracks/ruby/exercises/two-fer/.meta/generator/two_fer_case.rb
trackler-2.2.1.131 tracks/ruby/exercises/two-fer/.meta/generator/two_fer_case.rb
trackler-2.2.1.130 tracks/ruby/exercises/two-fer/.meta/generator/two_fer_case.rb
trackler-2.2.1.129 tracks/ruby/exercises/two-fer/.meta/generator/two_fer_case.rb
trackler-2.2.1.128 tracks/ruby/exercises/two-fer/.meta/generator/two_fer_case.rb
trackler-2.2.1.127 tracks/ruby/exercises/two-fer/.meta/generator/two_fer_case.rb
trackler-2.2.1.126 tracks/ruby/exercises/two-fer/.meta/generator/two_fer_case.rb
trackler-2.2.1.125 tracks/ruby/exercises/two-fer/.meta/generator/two_fer_case.rb
trackler-2.2.1.124 tracks/ruby/exercises/two-fer/.meta/generator/two_fer_case.rb
trackler-2.2.1.123 tracks/ruby/exercises/two-fer/.meta/generator/two_fer_case.rb
trackler-2.2.1.122 tracks/ruby/exercises/two-fer/.meta/generator/two_fer_case.rb
trackler-2.2.1.121 tracks/ruby/exercises/two-fer/.meta/generator/two_fer_case.rb
trackler-2.2.1.120 tracks/ruby/exercises/two-fer/.meta/generator/two_fer_case.rb