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.127 tracks/ruby/exercises/bob/.meta/generator/bob_case.rb
trackler-2.2.1.126 tracks/ruby/exercises/bob/.meta/generator/bob_case.rb
trackler-2.2.1.125 tracks/ruby/exercises/bob/.meta/generator/bob_case.rb
trackler-2.2.1.124 tracks/ruby/exercises/bob/.meta/generator/bob_case.rb
trackler-2.2.1.123 tracks/ruby/exercises/bob/.meta/generator/bob_case.rb
trackler-2.2.1.122 tracks/ruby/exercises/bob/.meta/generator/bob_case.rb
trackler-2.2.1.121 tracks/ruby/exercises/bob/.meta/generator/bob_case.rb
trackler-2.2.1.120 tracks/ruby/exercises/bob/.meta/generator/bob_case.rb
trackler-2.2.1.119 tracks/ruby/exercises/bob/.meta/generator/bob_case.rb
trackler-2.2.1.118 tracks/ruby/exercises/bob/.meta/generator/bob_case.rb
trackler-2.2.1.117 tracks/ruby/exercises/bob/.meta/generator/bob_case.rb
trackler-2.2.1.116 tracks/ruby/exercises/bob/.meta/generator/bob_case.rb
trackler-2.2.1.115 tracks/ruby/exercises/bob/.meta/generator/bob_case.rb
trackler-2.2.1.114 tracks/ruby/exercises/bob/.meta/generator/bob_case.rb
trackler-2.2.1.113 tracks/ruby/exercises/bob/.meta/generator/bob_case.rb
trackler-2.2.1.111 tracks/ruby/exercises/bob/.meta/generator/bob_case.rb
trackler-2.2.1.110 tracks/ruby/exercises/bob/.meta/generator/bob_case.rb
trackler-2.2.1.109 tracks/ruby/exercises/bob/.meta/generator/bob_case.rb
trackler-2.2.1.108 tracks/ruby/exercises/bob/.meta/generator/bob_case.rb
trackler-2.2.1.107 tracks/ruby/exercises/bob/.meta/generator/bob_case.rb