We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fcbf0cc commit 9f087d9Copy full SHA for 9f087d9
src/Math-Tests-Matrix/PMMatrixTest.class.st
@@ -473,8 +473,9 @@ PMMatrixTest >> testMatrixHash [
473
{ #category : #'linear algebra' }
474
PMMatrixTest >> testMatrixInitializationWithNegativeDimensions [
475
476
+ " matrices with negative dimension and zero dimension should not be allowed."
477
self should: [ PMMatrix new: -2 ] raise: AssertionFailure .
- self should: [ PMMatrix rows: -3 columns: 4 ] raise: AssertionFailure.
478
+ self should: [ PMMatrix rows: 0 columns: 4 ] raise: AssertionFailure.
479
]
480
481
0 commit comments