PEATSA/Core/Tests/UnitTests/TestMatrix.py
def testInitialisationWithoutHeaders(self):
	
		'''Test that the matrix is initialised correctly if no headers are supplied'''
	
		matrix = Matrix.Matrix(rows=lists)
		self.assertEqual(2, matrix.numberOfRows())
		self.assertEqual(2, matrix.numberOfColumns())
		self.assertEqual(("None", "None"), matrix.columnHeaders())
Test that the matrix is initialised correctly if no headers are supplied
Test that the matrix is initialised correctly if no headers are supplied
Test that the matrix is initialised correctly if no headers are supplied
def testInitialisationWithoutHeaders(self):
		matrix = Matrix.Matrix(rows=lists)
		self.assertEqual(2, matrix.numberOfRows())
		self.assertEqual(2, matrix.numberOfColumns())
		self.assertEqual(("None", "None"), matrix.columnHeaders())
def testInitialisationWithoutHeaders ( self ) : matrix = Matrix . Matrix ( rows = lists ) self . assertEqual ( 2 , matrix . numberOfRows ( ) ) self . assertEqual ( 2 , matrix . numberOfColumns ( ) ) self . assertEqual ( ( "None" , "None" ) , matrix . columnHeaders ( ) )
Test that the matrix is initialised correctly if no headers are supplied
Test that the matrix is initialised correctly if no headers are supplied
'''Test that the matrix is initialised correctly if no headers are supplied'''
self