From 34be99a20f2f9d7f76e0d01db75bf31eaa308234 Mon Sep 17 00:00:00 2001 From: Andersen Wall Date: Sun, 10 Nov 2024 00:46:41 -0500 Subject: [PATCH] JunctionTree test case changed --- test/JunctionTrees.jl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/JunctionTrees.jl b/test/JunctionTrees.jl index 9001215..0e9b724 100644 --- a/test/JunctionTrees.jl +++ b/test/JunctionTrees.jl @@ -21,7 +21,10 @@ order = JunctionTrees.Order(graph, AMDJL_AMD()) @test order == [8, 11, 7, 2, 4, 3, 1, 6, 13, 14, 10, 12, 17, 16, 5, 9, 15] order = JunctionTrees.Order(graph, MetisJL_ND()) -@test order == [11, 17, 14, 13, 10, 12, 8, 6, 7, 5, 4, 3, 9, 2, 1, 16, 15] +# @test order == [11, 17, 14, 13, 10, 12, 8, 6, 7, 5, 4, 3, 9, 2, 1, 16, 15] +# changing test case to only check that the size of the order object as the object in previous test case +# reference change request in PR#20 StructuredDecompositions +@test length(order) == length([11, 17, 14, 13, 10, 12, 8, 6, 7, 5, 4, 3, 9, 2, 1, 16, 15]) order = JunctionTrees.Order(graph, MCS()) @test order == [2, 3, 4, 8, 1, 5, 6, 9, 7, 11, 13, 10, 14, 16, 12, 15, 17]