Skip to content

Commit

Permalink
fastarepresentation test
Browse files Browse the repository at this point in the history
  • Loading branch information
gp0 committed Mar 26, 2015
1 parent ab5f22b commit f49da16
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/hit.jl
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,8 @@ test_hit = Hit(1,"gi|18412314|ref|NP_565204.1|","tTest Hit","NP_565204",166,
aminoacid("MNQLQQLQNPGESPPVHPFVAPLSYLLGTWRGQGEGEYPTIPSFRYGEEIRFSHSGKPVIAY"))])

@test check_threshold(0.01, test_hit) == true
@test check_threshold(2.9e-38, test_hit) == false
@test check_threshold(2.9e-38, test_hit) == false

# fastarepresentation test

@test fastarepresentation(test_hit) == ("gi|18412314|ref|NP_565204.1|","MNQLQQLQNPGESPPVHPFVAPLSYLLGTWRGQGEGEYPTIPSFRYGEEIRFSHSGKPVIAY")

0 comments on commit f49da16

Please sign in to comment.