1
0
Fork 0
euler-presentation-code/spec/problem-5.rb
2015-05-12 16:45:41 -04:00

12 lines
282 B
Ruby

require_relative 'spec_helper'
require_relative '../solutions/solution-5'
describe 'Smallest multiple' do
it 'works for the given example' do
expect(solution_5(10)).to eq(2520)
end
it 'works for the known answer' do
expect(solution_5(20)).to eq(232792560)
end
end