Skip to content

Commit

Permalink
Ups missing code, extension method added
Browse files Browse the repository at this point in the history
  • Loading branch information
PalumboN committed Feb 24, 2022
1 parent d838029 commit 84868b0
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions smalltalksrc/VMMakerTests/ParametrizedTestMatrix.extension.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Extension { #name : #ParametrizedTestMatrix }

{ #category : #'*VMMakerTests' }
ParametrizedTestMatrix >> + aParametrizedTestMatrix [

| newMatrix |
newMatrix := ParametrizedTestMatrix new.
self expandMatrix do: [ :subcase1 |
newMatrix addCase: subcase1 ].
aParametrizedTestMatrix asTestMatrix expandMatrix do: [ :subcase2 |
newMatrix addCase: subcase2 ].
^ newMatrix
]

0 comments on commit 84868b0

Please sign in to comment.