Sha256: 11cfcc6ae010d090f9ab2f886d0974939345dd8b18a4e4f827ab06ddc49e2212

Contents?: true

Size: 627 Bytes

Versions: 6

Compression:

Stored size: 627 Bytes

Contents

require 'spec_helper'

require 'ms/mass/aa'

describe 'using a mass table' do
  it 'has monoisotopic masses by string or symbol' do
    Ms::Mass::AA::MONO['A'].is 71.0371137878
    Ms::Mass::AA::MONO[:A].is 71.0371137878
  end
  it 'MONO also includes Ms::Mass::MONO' do
    Ms::Mass::AA::MONO['oh'].is 17.002739665
    Ms::Mass::AA::MONO[:oh].is 17.002739665
  end
  it 'has average masses by string or symbol' do
    Ms::Mass::AA::AVG['A'].is 71.0779
    Ms::Mass::AA::AVG[:A].is 71.0779
  end
  it 'AVG also includes Ms::Mass::AVG' do
    Ms::Mass::AA::AVG['oh'].is 17.00734
    Ms::Mass::AA::AVG[:oh].is 17.00734
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ms-core-0.0.19 spec/ms/mass/aa_spec.rb
ms-core-0.0.18 spec/ms/mass/aa_spec.rb
ms-core-0.0.17 spec/ms/mass/aa_spec.rb
ms-core-0.0.16 spec/ms/mass/aa_spec.rb
ms-core-0.0.14 spec/ms/mass/aa_spec.rb
ms-core-0.0.13 spec/ms/mass/aa_spec.rb