blob: bed30c546d64e2cfcda2ffb54415488921b3c955 (
plain)
1
2
3
4
5
6
7
8
9
|
require_relative '../../../spec_helper'
describe "Enumerator::ArithmeticSequence#begin" do
it "returns the begin of the sequence" do
1.step(10).begin.should == 1
(1..10).step.begin.should == 1
(1...10).step.begin.should == 1
end
end
|