Skip to content

Commit

Permalink
tests: include test_helpers.jl in runtests.jl
Browse files Browse the repository at this point in the history
to avoid redefining test helper functions
  • Loading branch information
Leon Wabeke authored and alyst committed Jan 5, 2025
1 parent 539e223 commit 27983b8
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion test/affprop.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ using Clustering
using LinearAlgebra
using Random, StableRNGs
using Statistics
include("test_helpers.jl")

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

Expand Down
1 change: 0 additions & 1 deletion test/dbscan.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using Test
using Clustering
using Distances
include("test_helpers.jl")

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

Expand Down
1 change: 0 additions & 1 deletion test/kmedoids.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using Test
using Distances
using Clustering
include("test_helpers.jl")

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

Expand Down
2 changes: 2 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ using SparseArrays
using StableRNGs
using Statistics

include("test_helpers.jl")

tests = ["seeding",
"kmeans",
"kmedoids",
Expand Down

0 comments on commit 27983b8

Please sign in to comment.