Sha256: 1285e6e75e9bf8bcea9f735ac908edc23a08fb6406fc694a6f4969fdde470da5
Contents?: true
Size: 283 Bytes
Versions: 2
Compression:
Stored size: 283 Bytes
Contents
require 'spec_helper' describe Fixnum do let(:value) { "FF00".hex } describe '#to_formatted_hex' do subject { value.to_formatted_hex } it { should eq("FF00") } end describe '#negate' do subject { value.negate } it { should eq("00FF".hex) } end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
utc_rpn_calc-0.1.0 | spec/lib/core_ext/fixnum_spec.rb |
utc_rpn_calc-0.0.1 | spec/core_ext/fixnum_spec.rb |