Sha256: 982b655f63481f2f9b779b1e076f1feeb506c446f43a08efc779d7442a31f76a
Contents?: true
Size: 462 Bytes
Versions: 15
Compression:
Stored size: 462 Bytes
Contents
require 'spec_helper' require 'mspire/mass/common' describe Mspire::Mass::Common do it 'provides string and symbol access to common mass spec masses' do mono = Mspire::Mass::Common::MONO mono['OH'].should be_within(0.0000001).of( 17.002739651629998 ) mono[:OH].should == mono['OH'] Mspire::Mass::Common[:OH].should == mono[:OH] avg = Mspire::Mass::Common::AVG avg['OH'].should == 17.00734 avg[:OH].should == avg['OH'] end end
Version data entries
15 entries across 15 versions & 1 rubygems