PEATSA/Core/Tests/UnitTests/TestMatrix.py
def testGetColumnForHeader(self):
	
		'''Tests correct column is returned for specified header
		Tests reponse when a non-existant header is supplied'''
	
		column = self.matrix.columnWithHeader("Header2")
		self.assertEqual( (2, 34.66), column)	
		
		#Test if the header doesn't exist
		column = self.matrix.columnWithHeader("Non-existant header")
		self.assertEqual(None, column)
Tests correct column is returned for specified header
		Tests reponse when a non-existant header is supplied
Tests correct column is returned for specified header
Tests reponse when a non-existant header is supplied
Tests correct column is returned for specified header Tests reponse when a non - existant header is supplied
def testGetColumnForHeader(self):
		column = self.matrix.columnWithHeader("Header2")
		self.assertEqual( (2, 34.66), column)	
		column = self.matrix.columnWithHeader("Non-existant header")
		self.assertEqual(None, column)
def testGetColumnForHeader ( self ) : column = self . matrix . columnWithHeader ( "Header2" ) self . assertEqual ( ( 2 , 34.66 ) , column ) column = self . matrix . columnWithHeader ( "Non-existant header" ) self . assertEqual ( None , column )
Tests correct column is returned for specified header
Tests reponse when a non-existant header is supplied
Tests correct column is returned for specified header Tests reponse when a non - existant header is supplied
'''Tests correct column is returned for specified header
		Tests reponse when a non-existant header is supplied''' #Test if the header doesn't exist
self