Sha256: 4a7776c7d3eba4d71380d222f360a503eaec17357b3ba2d6f299e306a4bbfdc6

Contents?: true

Size: 248 Bytes

Versions: 176

Compression:

Stored size: 248 Bytes

Contents

require 'generator/exercise_case'

class BobCase < Generator::ExerciseCase
  def workload
    indent_lines(["remark = #{input.inspect}",
      "assert_equal '#{expected}', Bob.hey(remark), %q{Bob hears #{input.inspect}, and..}"
    ], 4)
  end
end

Version data entries

176 entries across 176 versions & 1 rubygems

Version Path
trackler-2.2.1.147 tracks/ruby/exercises/bob/.meta/generator/bob_case.rb
trackler-2.2.1.146 tracks/ruby/exercises/bob/.meta/generator/bob_case.rb
trackler-2.2.1.145 tracks/ruby/exercises/bob/.meta/generator/bob_case.rb
trackler-2.2.1.144 tracks/ruby/exercises/bob/.meta/generator/bob_case.rb
trackler-2.2.1.143 tracks/ruby/exercises/bob/.meta/generator/bob_case.rb
trackler-2.2.1.142 tracks/ruby/exercises/bob/.meta/generator/bob_case.rb
trackler-2.2.1.141 tracks/ruby/exercises/bob/.meta/generator/bob_case.rb
trackler-2.2.1.140 tracks/ruby/exercises/bob/.meta/generator/bob_case.rb
trackler-2.2.1.139 tracks/ruby/exercises/bob/.meta/generator/bob_case.rb
trackler-2.2.1.138 tracks/ruby/exercises/bob/.meta/generator/bob_case.rb
trackler-2.2.1.137 tracks/ruby/exercises/bob/.meta/generator/bob_case.rb
trackler-2.2.1.136 tracks/ruby/exercises/bob/.meta/generator/bob_case.rb
trackler-2.2.1.135 tracks/ruby/exercises/bob/.meta/generator/bob_case.rb
trackler-2.2.1.134 tracks/ruby/exercises/bob/.meta/generator/bob_case.rb
trackler-2.2.1.133 tracks/ruby/exercises/bob/.meta/generator/bob_case.rb
trackler-2.2.1.132 tracks/ruby/exercises/bob/.meta/generator/bob_case.rb
trackler-2.2.1.131 tracks/ruby/exercises/bob/.meta/generator/bob_case.rb
trackler-2.2.1.130 tracks/ruby/exercises/bob/.meta/generator/bob_case.rb
trackler-2.2.1.129 tracks/ruby/exercises/bob/.meta/generator/bob_case.rb
trackler-2.2.1.128 tracks/ruby/exercises/bob/.meta/generator/bob_case.rb