 	}
 	
 	func testRowEchelonForm() {
-		let a = Matrix(abc)
-		let aref = a.rowEchelonForm
-		let asref = a.reducedRowEchelonForm
-		XCTAssert(aref.rank == 2 && asref.rank == 2)
+		forAll(assert: { $1 == true }) { $0.rowEchelonForm.rank == $0.reducedRowEchelonForm.rank }
 	}
 	
 	func testIsSquare() {

import XCTest
import Math

class MatrixTests: XCTestCase {
	
	let abc = [[0,1,2], [3,4,5], [6,7,8]]
	

		XCTAssert(Matrix(c).rank == 0)
	}
	
	func testReducedRowEchelonForm() {
		print(Matrix(abc).reducedRowEchelonForm)
	}
	
