From 44482b3f557ce9fcedfbb012af4009ed494dcfdf Mon Sep 17 00:00:00 2001 From: JaredSchwartz <75581425+JaredSchwartz@users.noreply.github.com> Date: Thu, 13 Jun 2024 16:04:07 -0600 Subject: [PATCH] added sorted values to test due to multithreading --- test/runtests.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/runtests.jl b/test/runtests.jl index 5870b68..884bf65 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -12,5 +12,5 @@ end @testset "apriori.jl" begin data = load_transactions(joinpath(@__DIR__,"files/testdata.txt"),:wide; sep=',') rules = apriori(data,0.3,2) - @test rules.RHS == ["beer","bread","cheese","eggs","ham","milk","milk","eggs"] -end + @test sort(rules.RHS) == ["beer", "bread", "cheese", "eggs", "eggs", "ham", "milk", "milk"] +end \ No newline at end of file