Mercurial > repos > yufei-luo > s_mart
annotate 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 |
rev | line source |
---|---|
18 | 1 import os |
2 import unittest | |
3 from commons.pyRepetUnit.hmmer.hmmOutput.HmmOutput import HmmOutput | |
4 | |
5 class Test_HmmOutput(unittest.TestCase): | |
6 | |
7 def testAppend(self): | |
8 hmmpfamOutput = HmmOutput() | |
9 self.assertEquals(0, hmmpfamOutput.len()) | |
10 list = ["a","b"] | |
11 hmmpfamOutput.append(list) | |
12 self.assertEquals(1, hmmpfamOutput.len()) | |
13 list2 = ["c","d"] | |
14 hmmpfamOutput.append(list2) | |
15 self.assertEquals(2, hmmpfamOutput.len()) |