Skip to content

Commit

Permalink
fix error in test
Browse files Browse the repository at this point in the history
  • Loading branch information
longemen3000 committed Nov 10, 2024
1 parent 59cd959 commit 44c4a49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_database.jl
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ using Clapeyron, Test, LinearAlgebra
@test repr(params["overwriteparam"]) == "PairParam{Float64}(\"overwriteparam\")[\"sp1\", \"sp2\", \"sp3\", \"sp4\", \"sp5\"]"
@test repr("text/plain",params["overwriteparam"]) == "5×5 PairParam{Float64}([\"sp1\", \"sp2\", \"sp3\", \"sp4\", \"sp5\"]) with values:\n 1.6 4.0 0.0 0.0 0.0\n 4.0 1.2 0.0 3.0 0.0\n 0.0 0.0 1.3 2.0 0.0\n 0.0 3.0 2.0 1.4 0.0\n 0.0 0.0 0.0 0.0 1.5"
#Printing: AssocParam
@test repr(params["overwriteassocparam"]) == "AssocParam{String}(\"overwriteassocparam\")([\"val1\", \"val8\", \"val5\", \"val4\", \"val7\", \"val6\", \"val3\", \"42\"]"
@test repr(params["overwriteassocparam"]) == "AssocParam{String}(\"overwriteassocparam\")[\"val1\", \"val8\", \"val5\", \"val4\", \"val7\", \"val6\", \"val3\", \"42\"]"
@test repr("text/plain",params["overwriteassocparam"]) == "AssocParam{String}([\"sp1\", \"sp2\", \"sp3\", \"sp4\", \"sp5\"]) with 8 values:\n(\"sp3\", \"e\") >=< (\"sp3\", \"H\"): val1\n(\"sp3\", \"e2\") >=< (\"sp3\", \"H\"): val8\n(\"sp3\", \"H\") >=< (\"sp4\", \"e\"): val5\n(\"sp3\", \"H\") >=< (\"sp4\", \"H\"): val4\n(\"sp4\", \"e\") >=< (\"sp5\", \"H\"): val7\n(\"sp4\", \"H\") >=< (\"sp5\", \"e2\"): val6\n(\"sp5\", \"e\") >=< (\"sp5\", \"e\"): val3\n(\"sp5\", \"e\") >=< (\"sp5\", \"H\"): 42"
#Printing: SiteParam
@test repr(sites) == "SiteParam[\"sp1\" => [], \"sp2\" => [], \"sp3\" => [], \"sp4\" => [], \"sp5\" => []]"
Expand Down

0 comments on commit 44c4a49

Please sign in to comment.