01f73b2e240cecf66afa78f79e67cfde6f14727f,tests/features/test_tmvar.py,TmVarDefaultTest,test_type2,#TmVarDefaultTest#,74
Before Change
self.assertEqual(self.feature.is_special_type_1("blaaa"), None)
def test_type2(self):
self.assertEqual(self.feature.is_special_type_2("p"), "Type2")
self.assertEqual(self.feature.is_special_type_2("as"), None)
def test_dna_symbols(self):
self.assertEqual(self.feature.has_dna_symbols("A"), "DNASym")
After Change
self.assertEqual(self.feature.is_special_type_1("blaaa"), None)
def test_type2(self):
feature_dic = FeatureDictionary()
eval_binary_feature(feature_dic, "type2", lambda x: x == "p", "p")
self.assertEqual(feature_dic.get("type2[0]"), 1)
feature_dic = FeatureDictionary()
eval_binary_feature(feature_dic, "type2", lambda x: x == "p", "as")
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: Rostlab/nalaf
Commit Name: 01f73b2e240cecf66afa78f79e67cfde6f14727f
Time: 2015-08-24
Author: aleksandar.bojchevski@gmail.com
File Name: tests/features/test_tmvar.py
Class Name: TmVarDefaultTest
Method Name: test_type2
Project Name: Rostlab/nalaf
Commit Name: 01f73b2e240cecf66afa78f79e67cfde6f14727f
Time: 2015-08-24
Author: aleksandar.bojchevski@gmail.com
File Name: tests/features/test_tmvar.py
Class Name: TmVarDefaultTest
Method Name: test_dna_symbols
Project Name: Rostlab/nalaf
Commit Name: 01f73b2e240cecf66afa78f79e67cfde6f14727f
Time: 2015-08-24
Author: aleksandar.bojchevski@gmail.com
File Name: tests/features/test_tmvar.py
Class Name: TmVarDefaultTest
Method Name: test_mutation_word