PEATSA/Core/Tests/UnitTests/TestMatrix.py
def testRowMutability(self):
			
		'''Checks that matrix copies row additions so they can't be changed externally'''
		
		myRow = [1,12342]
		self.matrix.addRow(myRow)
		myRow.pop()
		self.assertEqual(self.matrix.row(2), tuple([1,12342]))
Checks that matrix copies row additions so they can't be changed externally
Checks that matrix copies row additions so they can't be changed externally
Checks that matrix copies row additions so they can ' t be changed externally
def testRowMutability(self):
		myRow = [1,12342]
		self.matrix.addRow(myRow)
		myRow.pop()
		self.assertEqual(self.matrix.row(2), tuple([1,12342]))
def testRowMutability ( self ) : myRow = [ 1 , 12342 ] self . matrix . addRow ( myRow ) myRow . pop ( ) self . assertEqual ( self . matrix . row ( 2 ) , tuple ( [ 1 , 12342 ] ) )
Checks that matrix copies row additions so they can't be changed externally
Checks that matrix copies row additions so they can ' t be changed externally
'''Checks that matrix copies row additions so they can't be changed externally'''
self