Sha256: b5ce86d1f23fc59ae5fa400e26bd3bb3b41febd9726e9033ed92925510c69c1a
Contents?: true
Size: 427 Bytes
Versions: 15
Compression:
Stored size: 427 Bytes
Contents
require 'spec_helper' require 'mspire/mass/aa' describe Mspire::Mass::AA do it 'provides string and symbol access to element masses' do mono = Mspire::Mass::AA::MONO mono['C'].should == 103.0091844778 mono[:C].should == mono['C'] Mspire::Mass::AA[:C].should == mono[:C] # <- not a hash but a method avg = Mspire::Mass::AA::AVG avg['C'].should == 103.1429 avg[:C].should == avg['C'] end end
Version data entries
15 entries across 15 versions & 1 rubygems