Skip to content

Added unit tests for matrix arithmetic #108

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Aug 29, 2019
Prev Previous commit
Next Next commit
Removed unused test function
  • Loading branch information
regexident committed Aug 29, 2019
commit b2db8c95237a6b1330ce27e4c9c147b52ab23535
5 changes: 0 additions & 5 deletions Tests/SurgeTests/MatrixTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,6 @@ class MatrixTests: XCTestCase {
XCTAssertEqual(matrix, expected)
}

// func test_pow() {
// let expectedResult = Matrix<Double>([[1, 4, 9, 16], [25, 36, 49, 64], [81, 100, 121, 144]])
// XCTAssertEqual(pow(matrix, 2), expectedResult)
// }

func test_add_matrix_matrix_float() {
typealias Scalar = Float

Expand Down