Skip to content

Commit a1498d5

Browse files
committed
refactor: tests
1 parent 2addd2b commit a1498d5

25 files changed

Lines changed: 82 additions & 84 deletions

tests/GraphBLAS-sharp.Tests/Algorithms/BFS.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module Algo.BFS
1+
module GraphBLAS.FSharp.Tests.Backend.Algo.BFS
22

33
open Expecto
44
open GraphBLAS.FSharp.Backend

tests/GraphBLAS-sharp.Tests/BackendCommonTests/BitonicSortTests.fs renamed to tests/GraphBLAS-sharp.Tests/Common/BitonicSort.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module Backend.BitonicSort
1+
module GraphBLAS.FSharp.Tests.Backend.Common.BitonicSort
22

33
open Expecto
44
open Expecto.Logging

tests/GraphBLAS-sharp.Tests/BackendCommonTests/CopyTests.fs renamed to tests/GraphBLAS-sharp.Tests/Common/Copy.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module Backend.Copy
1+
module GraphBLAS.FSharp.Tests.Backend.Common.Copy
22

33
open Expecto
44
open Expecto.Logging

tests/GraphBLAS-sharp.Tests/BackendCommonTests/PrefixSumTests.fs renamed to tests/GraphBLAS-sharp.Tests/Common/PrefixSum.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module Backend.PrefixSum
1+
module GraphBLAS.FSharp.Tests.Backend.Common.PrefixSum
22

33
open Expecto
44
open Expecto.Logging

tests/GraphBLAS-sharp.Tests/BackendCommonTests/ReduceTests.fs renamed to tests/GraphBLAS-sharp.Tests/Common/Reduce.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module Backend.Reduce
1+
module GraphBLAS.FSharp.Tests.Backend.Common.Reduce
22

33
open Expecto
44
open Expecto.Logging

tests/GraphBLAS-sharp.Tests/BackendCommonTests/RemoveDuplicatesTests.fs renamed to tests/GraphBLAS-sharp.Tests/Common/RemoveDuplicates.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module Backend.RemoveDuplicates
1+
module GraphBLAS.FSharp.Tests.Backend.Common.RemoveDuplicates
22

33
open Expecto
44
open Expecto.Logging

tests/GraphBLAS-sharp.Tests/BackendCommonTests/ReplicateTests.fs renamed to tests/GraphBLAS-sharp.Tests/Common/Replicate.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module Backend.Replicate
1+
module GraphBLAS.FSharp.Tests.Backend.Common.Replicate
22

33
open Expecto
44
open Expecto.Logging

tests/GraphBLAS-sharp.Tests/BackendCommonTests/ScatterTests.fs renamed to tests/GraphBLAS-sharp.Tests/Common/Scatter.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module Backend.Scatter
1+
module GraphBLAS.FSharp.Tests.Backend.Common.Scatter
22

33
open Expecto
44
open Expecto.Logging

tests/GraphBLAS-sharp.Tests/BackendCommonTests/SumTest.fs renamed to tests/GraphBLAS-sharp.Tests/Common/Sum.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module Backend.Sum
1+
module GraphBLAS.FSharp.Tests.Backend.Common.Sum
22

33
open Expecto
44
open Expecto.Logging

tests/GraphBLAS-sharp.Tests/GraphBLAS-sharp.Tests.fsproj

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,14 @@
1515
<Compile Include="QuickGraph/CreateGraph.fs" />
1616
<Compile Include="QuickGraph/Algorithms/ConnectedComponents.fs" />
1717
<Compile Include="QuickGraph/Algorithms/BFS.fs" />
18-
<Compile Include="BackendCommonTests/BitonicSortTests.fs" />
19-
<Compile Include="BackendCommonTests/RemoveDuplicatesTests.fs" />
20-
<Compile Include="BackendCommonTests/CopyTests.fs" />
21-
<Compile Include="BackendCommonTests/ReplicateTests.fs" />
22-
<Compile Include="BackendCommonTests/PrefixSumTests.fs" />
23-
<Compile Include="BackendCommonTests/ScatterTests.fs" />
24-
<Compile Include="BackendCommonTests/MatrixElementwiseTests.fs" />
25-
<Compile Include="BackendCommonTests/ConvertTests.fs" />
26-
<Compile Include="BackendCommonTests/TransposeTests.fs" />
27-
<Compile Include="BackendCommonTests/MxmTests.fs" />
28-
<Compile Include="BackendCommonTests/SpMVTests.fs" />
29-
<Compile Include="BackendCommonTests/SumTest.fs" />
30-
<Compile Include="BackendCommonTests/ReduceTests.fs" />
18+
<Compile Include="Common\BitonicSort.fs" />
19+
<Compile Include="Common\RemoveDuplicates.fs" />
20+
<Compile Include="Common\Copy.fs" />
21+
<Compile Include="Common\Replicate.fs" />
22+
<Compile Include="Common\PrefixSum.fs" />
23+
<Compile Include="Common\Scatter.fs" />
24+
<Compile Include="Common\Sum.fs" />
25+
<Compile Include="Common\Reduce.fs" />
3126
<!--Compile Include="MatrixOperationsTests/GetTuplesTests.fs" /-->
3227
<!--Compile Include="MatrixOperationsTests/MxvTests.fs" /-->
3328
<!--Compile Include="MatrixOperationsTests/VxmTests.fs" /-->
@@ -41,7 +36,12 @@
4136
<Compile Include="Vector/Reduce.fs" />
4237
<Compile Include="Vector/ElementWise.fs" />
4338
<Compile Include="Vector/ContainsNonZero.fs" />
39+
<Compile Include="Vector\SpMV.fs" />
4440
<Compile Include="Algorithms/BFS.fs" />
41+
<Compile Include="Matrix\Convert.fs" />
42+
<Compile Include="Matrix\Elementwise.fs" />
43+
<Compile Include="Matrix\Mxm.fs" />
44+
<Compile Include="Matrix\Transpose.fs" />
4545
<Compile Include="Program.fs" />
4646
</ItemGroup>
4747
<Import Project="..\..\.paket\Paket.Restore.targets" />

0 commit comments

Comments
 (0)