Mercurial > repos > yufei-luo > s_mart
diff commons/pyRepetUnit/hmmer/hmmOutput/tests/Test_HmmOutput.py @ 18:94ab73e8a190
Uploaded
author | m-zytnicki |
---|---|
date | Mon, 29 Apr 2013 03:20:15 -0400 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/commons/pyRepetUnit/hmmer/hmmOutput/tests/Test_HmmOutput.py Mon Apr 29 03:20:15 2013 -0400 @@ -0,0 +1,15 @@ +import os +import unittest +from commons.pyRepetUnit.hmmer.hmmOutput.HmmOutput import HmmOutput + +class Test_HmmOutput(unittest.TestCase): + + def testAppend(self): + hmmpfamOutput = HmmOutput() + self.assertEquals(0, hmmpfamOutput.len()) + list = ["a","b"] + hmmpfamOutput.append(list) + self.assertEquals(1, hmmpfamOutput.len()) + list2 = ["c","d"] + hmmpfamOutput.append(list2) + self.assertEquals(2, hmmpfamOutput.len()) \ No newline at end of file