From f51087d98f404cd057b79f386892982795de71c1 Mon Sep 17 00:00:00 2001 From: "St. Elmo Wilken" Date: Sat, 27 Aug 2022 18:30:27 +0200 Subject: [PATCH] add tests --- test/reactions.jl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/test/reactions.jl b/test/reactions.jl index 7a14abc..6712a84 100644 --- a/test/reactions.jl +++ b/test/reactions.jl @@ -1,3 +1,8 @@ @testset "From Rhea reactions" begin - @test true + # PFL + r = MetaNetXReactions.get_reaction_from_rhea(11844) + + @test r.id == "MNXR188637" + @test "2.3.1.54" in r.classification + @test all(in.(["11844", "11845", "11846", "11847"], Ref(r.crossreferences["rhea"]))) end \ No newline at end of file