Package bmrblib :: Package pystarlib :: Module UtilsTest
[hide private]
[frames] | no frames]

Source Code for Module bmrblib.pystarlib.UtilsTest

 1  from unittest import TestCase 
 2  import unittest 
 3  import bmrblib.pystarlib.Utils 
 4   
 5   
6 -class AllChecks(TestCase):
7 - def test(self):
8 """STAR Utils""" 9 m1 = [ [1, 2], [3, 4] ] 10 m2 = [ (1, 3), (2, 4) ] 11 m1t= Utils.transpose(m1) 12 self.assertTrue(m1t==m2)
13 if __name__ == "__main__": 14 unittest.main() 15