Sha256: 9127f70d792d6807dad54efd647260292ede7378cef569a215ba194621466a17
Contents?: true
Size: 304 Bytes
Versions: 52
Compression:
Stored size: 304 Bytes
Contents
require File.expand_path('../../../spec_helper', __FILE__) describe "Bignum#~" do it "returns self with each bit flipped" do (~bignum_value(48)).should == -9223372036854775857 (~(-bignum_value(21))).should == 9223372036854775828 (~bignum_value(1)).should == -9223372036854775810 end end
Version data entries
52 entries across 52 versions & 2 rubygems