Sha256: 68095d83d94ca39c4348da5f765b7cb2b96e172ae961444ec2aae7fdb0e0c850
Contents?: true
Size: 264 Bytes
Versions: 233
Compression:
Stored size: 264 Bytes
Contents
require 'generator/exercise_case' class RomanNumeralsCase < Generator::ExerciseCase def name 'test_%s' % number.to_s end def workload "assert_equal '#{expected}', #{actual}" end private def actual '%s.to_roman' % number.to_s end end
Version data entries
233 entries across 233 versions & 1 rubygems