Sha256: 111c58cbf94fc5582875947f28c69763fcbb3f18281f1f99daba702d4a8aba1a

Contents?: true

Size: 286 Bytes

Versions: 1

Compression:

Stored size: 286 Bytes

Contents

require 'helper'

class TestBioAliphaticIndex < Test::Unit::TestCase
  should "aliphatic" do
    assert_equal 71.33, (Bio::Sequence::AA.new('MVKSYDRYEYEDCLGIVNSKSSNCVFLNNA').aliphatic_index*100).round.to_f/100 
    assert_equal 0.0, Bio::Sequence::AA.new('M').aliphatic_index
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bio-aliphatic_index-0.0.1 test/test_bio-aliphatic_index.rb