PEATSA/Core/Tests/UnitTests/TestMatrix.py
def testIndexForColumn(self):
	
		'''Tests getting the index of the column associated with a given header'''
	
		index = self.matrix.indexOfColumnWithHeader("Header2")
		self.assertEqual(index, 1)
		
		self.assertRaises(ValueError, self.matrix.indexOfColumnWithHeader, "Non existant header")
Tests getting the index of the column associated with a given header
Tests getting the index of the column associated with a given header
Tests getting the index of the column associated with a given header
def testIndexForColumn(self):
		index = self.matrix.indexOfColumnWithHeader("Header2")
		self.assertEqual(index, 1)
		self.assertRaises(ValueError, self.matrix.indexOfColumnWithHeader, "Non existant header")
def testIndexForColumn ( self ) : index = self . matrix . indexOfColumnWithHeader ( "Header2" ) self . assertEqual ( index , 1 ) self . assertRaises ( ValueError , self . matrix . indexOfColumnWithHeader , "Non existant header" )
Tests getting the index of the column associated with a given header
Tests getting the index of the column associated with a given header
'''Tests getting the index of the column associated with a given header'''
self