Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions src/Math-Matrix-Tests/PMAdditionalTest.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@ here are tests that would be in Math-Tests-DHB-Numerical, if it could construct

"
Class {
#name : #PMAdditionalTest,
#superclass : #TestCase,
#category : #'Math-Matrix-Tests'
#name : 'PMAdditionalTest',
#superclass : 'TestCase',
#category : 'Math-Matrix-Tests',
#package : 'Math-Matrix-Tests'
}

{ #category : #tests }
{ #category : 'tests' }
PMAdditionalTest >> testMatrixInversionSmall [
"it is here since it uses random matrices"

Expand Down Expand Up @@ -38,7 +39,7 @@ PMAdditionalTest >> testMatrixInversionSmall [
self assert: i class equals: PMMatrix ]
]

{ #category : #tests }
{ #category : 'tests' }
PMAdditionalTest >> testMatrixSquared [
"this tests squared and is not in Math-Tests-Numerical since it uses random matrices"

Expand All @@ -53,7 +54,7 @@ PMAdditionalTest >> testMatrixSquared [
self assert: a squared class equals: PMSymmetricMatrix
]

{ #category : #tests }
{ #category : 'tests' }
PMAdditionalTest >> testTensorProduct [
"this tests if a tensor product of two vectors is calculated correctly"

Expand Down
11 changes: 6 additions & 5 deletions src/Math-Matrix-Tests/PMJacobiTransformationTest.class.st
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
Class {
#name : #PMJacobiTransformationTest,
#superclass : #TestCase,
#category : #'Math-Matrix-Tests'
#name : 'PMJacobiTransformationTest',
#superclass : 'TestCase',
#category : 'Math-Matrix-Tests',
#package : 'Math-Matrix-Tests'
}

{ #category : #tests }
{ #category : 'tests' }
PMJacobiTransformationTest >> testEigenvalueOfIdentityMatrixIsOne [
"The eigenvalue of I is 1"

Expand All @@ -17,7 +18,7 @@ PMJacobiTransformationTest >> testEigenvalueOfIdentityMatrixIsOne [
self assert: jacobiTransformation evaluate equals: expected
]

{ #category : #tests }
{ #category : 'tests' }
PMJacobiTransformationTest >> testEigenvectorsOfIdentityMatrixAreTheUnitVectors [
"The eigenvectors of I are (1 0) and (0 1), the unit basis vectors"

Expand Down
Loading