test/unit/bio/db/test_prosite.rb in bio-1.2.1 vs test/unit/bio/db/test_prosite.rb in bio-1.3.0
- old
+ new
@@ -1231,11 +1231,11 @@
"P30938",
"P49685",
"P11616",
"P23275",
"Q01338"]
- assert_equal(data, @obj.list_truepositive)
+ assert_equal(data.sort, @obj.list_truepositive.sort)
end
def test_list_falsenegative
data = ["P18259",
"Q13813",
@@ -1299,11 +1299,11 @@
"P77932",
"Q53547",
"P77933",
"P34529",
"Q00126"]
- assert_equal(data, @obj.list_falsenegative)
+ assert_equal(data.sort, @obj.list_falsenegative.sort)
end
def test_list_falsepositive
data =["P41985",
"P41986",
@@ -1351,11 +1351,11 @@
"Q90456",
"Q95136",
"Q95137",
"Q62953",
"Q95195"]
- assert_equal(data, @obj.list_falsepositive)
+ assert_equal(data.sort, @obj.list_falsepositive.sort)
end
def test_list_potentialhit
data = ["P41985",
"P41986",
@@ -1403,10 +1403,10 @@
"Q90456",
"Q95136",
"Q95137",
"Q62953",
"Q95195"]
- assert_equal(data, @obj.list_potentialhit)
+ assert_equal(data.sort, @obj.list_potentialhit.sort)
end
def test_list_unknown
data = []
assert_equal(data, @obj.list_unknown)