PEATSA/Core/Tests/UnitTests/TestMatrix.py
def testArchiving(self):
		
		'''Tests that archiving a matrix and then reading it back produces the same matrix'''
		
		filename = 'temp'
		self.matrix.writeToFile('temp')
		newMatrix = Matrix.matrixFromFile(filename)
		os.remove(filename)
		
		self.assertEqual(newMatrix, self.matrix)
Tests that archiving a matrix and then reading it back produces the same matrix
Tests that archiving a matrix and then reading it back produces the same matrix
Tests that archiving a matrix and then reading it back produces the same matrix
def testArchiving(self):
		filename = 'temp'
		self.matrix.writeToFile('temp')
		newMatrix = Matrix.matrixFromFile(filename)
		os.remove(filename)
		self.assertEqual(newMatrix, self.matrix)
def testArchiving ( self ) : filename = 'temp' self . matrix . writeToFile ( 'temp' ) newMatrix = Matrix . matrixFromFile ( filename ) os . remove ( filename ) self . assertEqual ( newMatrix , self . matrix )
Tests that archiving a matrix and then reading it back produces the same matrix
Tests that archiving a matrix and then reading it back produces the same matrix
'''Tests that archiving a matrix and then reading it back produces the same matrix'''
self