Mercurial > repos > yufei-luo > s_mart
view commons/pyRepetUnit/hmmer/hmmOutput/tests/Test_HmmOutput.py @ 31:0ab839023fe4
Uploaded
author | m-zytnicki |
---|---|
date | Tue, 30 Apr 2013 14:33:21 -0400 |
parents | 94ab73e8a190 |
children |
line wrap: on
line source
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())