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.66 tracks/ruby/exercises/bob/.meta/generator/bob_case.rb
trackler-2.2.1.65 tracks/ruby/exercises/bob/.meta/generator/bob_case.rb
trackler-2.2.1.64 tracks/ruby/exercises/bob/.meta/generator/bob_case.rb
trackler-2.2.1.63 tracks/ruby/exercises/bob/.meta/generator/bob_case.rb
trackler-2.2.1.62 tracks/ruby/exercises/bob/.meta/generator/bob_case.rb
trackler-2.2.1.61 tracks/ruby/exercises/bob/.meta/generator/bob_case.rb
trackler-2.2.1.60 tracks/ruby/exercises/bob/.meta/generator/bob_case.rb
trackler-2.2.1.59 tracks/ruby/exercises/bob/.meta/generator/bob_case.rb
trackler-2.2.1.58 tracks/ruby/exercises/bob/.meta/generator/bob_case.rb
trackler-2.2.1.57 tracks/ruby/exercises/bob/.meta/generator/bob_case.rb
trackler-2.2.1.56 tracks/ruby/exercises/bob/.meta/generator/bob_case.rb
trackler-2.2.1.55 tracks/ruby/exercises/bob/.meta/generator/bob_case.rb
trackler-2.2.1.54 tracks/ruby/exercises/bob/.meta/generator/bob_case.rb
trackler-2.2.1.53 tracks/ruby/exercises/bob/.meta/generator/bob_case.rb
trackler-2.2.1.52 tracks/ruby/exercises/bob/.meta/generator/bob_case.rb
trackler-2.2.1.51 tracks/ruby/exercises/bob/.meta/generator/bob_case.rb
trackler-2.2.1.50 tracks/ruby/exercises/bob/.meta/generator/bob_case.rb
trackler-2.2.1.49 tracks/ruby/exercises/bob/.meta/generator/bob_case.rb
trackler-2.2.1.48 tracks/ruby/exercises/bob/.meta/generator/bob_case.rb
trackler-2.2.1.47 tracks/ruby/exercises/bob/.meta/generator/bob_case.rb