Skip to content
This repository
branch: sets
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 20 lines (15 sloc) 0.263 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
require File.dirname(__FILE__) + '/base'

describe Fixnum do
before do
@num = 2
end

it "counts kb" do
@num.kb.should == 2*1024
end

it "counts mb" do
@num.mb.should == 2*1024*1024
end

it "counts gb" do
@num.gb.should == 2*1024*1024*1024
end
end
Something went wrong with that request. Please try again.