Skip to content

Commit

Permalink
Fixes #67
Browse files Browse the repository at this point in the history
  • Loading branch information
VEZY committed Nov 28, 2024
1 parent 6514014 commit a5dca8c
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion test/Manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

julia_version = "1.10.3"
manifest_format = "2.0"
project_hash = "9e86721cb86a744a97227ba89d7c40fce37e546e"
project_hash = "c829a0992e1bf6dd410fe4b463dcdab974e10924"

[[deps.ANSIColoredPrinters]]
git-tree-sha1 = "574baf8110975760d391c710b6341da1afa48d8c"
Expand Down
1 change: 0 additions & 1 deletion test/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,4 @@ ReferenceTests = "324d217c-45ce-50fc-942e-d289b448e8cf"
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
Tables = "bd369af6-aec1-5ad0-b16a-f7cc5008161c"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
TransformsBase = "28dd2a49-a57a-4bfb-84ca-1a49db9b96b8"
Unitful = "1986cc42-f94f-5a68-af5c-568840ba703d"
1 change: 0 additions & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ using StaticArrays
using MultiScaleTreeGraph
using LinearAlgebra
using Tables
using TransformsBase
using Unitful
using PlantGeom

Expand Down
2 changes: 0 additions & 2 deletions test/test-write_opf.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ tmp_file = tempname()
PlantGeom.write_opf(tmp_file, mtg)
mtg2 = read_opf(tmp_file, attr_type=Dict)

#! to remove when https://github.com/JuliaML/TransformsBase.jl/issues/8 is fixed
Base.:(==)(x::TransformsBase.SequentialTransform, y::TransformsBase.SequentialTransform) = x.transforms == y.transforms
# Note: we only do this in the tests because it is type piracy and we don't want to change the behavior of the package.
# Compare each node one by one:
@test MultiScaleTreeGraph.traverse(mtg, node -> node) == MultiScaleTreeGraph.traverse(mtg2, node -> node)
Expand Down

0 comments on commit a5dca8c

Please sign in to comment.