Skip to content

Commit 27983b8

Browse files
Leon Wabekealyst
authored andcommitted
tests: include test_helpers.jl in runtests.jl
to avoid redefining test helper functions
1 parent 539e223 commit 27983b8

File tree

4 files changed

+2
-3
lines changed

4 files changed

+2
-3
lines changed

test/affprop.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ using Clustering
66
using LinearAlgebra
77
using Random, StableRNGs
88
using Statistics
9-
include("test_helpers.jl")
109

1110
@testset "affinityprop() (affinity propagation)" begin
1211

test/dbscan.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
using Test
22
using Clustering
33
using Distances
4-
include("test_helpers.jl")
54

65
@testset "dbscan() (DBSCAN clustering)" begin
76

test/kmedoids.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
using Test
22
using Distances
33
using Clustering
4-
include("test_helpers.jl")
54

65
@testset "kmedoids() (k-medoids)" begin
76

test/runtests.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ using SparseArrays
66
using StableRNGs
77
using Statistics
88

9+
include("test_helpers.jl")
10+
911
tests = ["seeding",
1012
"kmeans",
1113
"kmedoids",

0 commit comments

Comments
 (0)