Skip to content

Commit e52e47b

Browse files
committed
refactor: Matrix.elementWiseTests -> *.map2Tests
1 parent 40ec02b commit e52e47b

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

tests/GraphBLAS-sharp.Tests/Matrix/Map2.fs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ let testFixturesEWiseAdd case =
138138
|> correctnessGenericTest 0uy (+) byteAdd byteToCOO (=) q
139139
|> testPropertyWithConfig config (getCorrectnessTestName "byte") ]
140140

141-
let elementwiseAddTests =
141+
let addTests =
142142
operationGPUTests "Backend.Matrix.EWiseAdd tests" testFixturesEWiseAdd
143143

144144
let testFixturesEWiseAddAtLeastOne case =
@@ -186,7 +186,7 @@ let testFixturesEWiseAddAtLeastOne case =
186186
|> correctnessGenericTest 0uy (+) byteAdd byteToCOO (=) q
187187
|> testPropertyWithConfig config (getCorrectnessTestName "byte") ]
188188

189-
let elementwiseAddAtLeastOneTests =
189+
let addAtLeastOneTests =
190190
operationGPUTests "Backend.Matrix.EWiseAddAtLeastOne tests" testFixturesEWiseAddAtLeastOne
191191

192192
let testFixturesEWiseAddAtLeastOneToCOO case =
@@ -234,7 +234,7 @@ let testFixturesEWiseAddAtLeastOneToCOO case =
234234
|> correctnessGenericTest 0uy (+) byteAdd byteToCOO (=) q
235235
|> testPropertyWithConfig config (getCorrectnessTestName "byte") ]
236236

237-
let elementwiseAddAtLeastOneToCOOTests =
237+
let addAtLeastOneToCOOTests =
238238
operationGPUTests "Backend.Matrix.EWiseAddAtLeastOneToCOO tests" testFixturesEWiseAddAtLeastOneToCOO
239239

240240
let testFixturesEWiseMulAtLeastOne case =
@@ -282,5 +282,5 @@ let testFixturesEWiseMulAtLeastOne case =
282282
|> correctnessGenericTest 0uy (*) byteAdd byteToCOO (=) q
283283
|> testPropertyWithConfig config (getCorrectnessTestName "byte") ]
284284

285-
let elementwiseMulAtLeastOneTests =
285+
let mulAtLeastOneTests =
286286
operationGPUTests "Backend.Matrix.eWiseMulAtLeastOne tests" testFixturesEWiseMulAtLeastOne

tests/GraphBLAS-sharp.Tests/Program.fs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ let matrixTests =
55
testList
66
"Matrix tests"
77
[ Matrix.Convert.tests
8-
Matrix.Map2.elementwiseAddTests
9-
Matrix.Map2.elementwiseAddAtLeastOneTests
10-
Matrix.Map2.elementwiseMulAtLeastOneTests
11-
Matrix.Map2.elementwiseAddAtLeastOneToCOOTests
8+
Matrix.Map2.addTests
9+
Matrix.Map2.addAtLeastOneTests
10+
Matrix.Map2.mulAtLeastOneTests
11+
Matrix.Map2.addAtLeastOneToCOOTests
1212
Matrix.Mxm.tests
1313
Matrix.Transpose.tests ]
1414
|> testSequenced

0 commit comments

Comments
 (0)