Skip to content

Commit

Permalink
Ran formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
wmkouw committed Nov 26, 2024
1 parent 56d425e commit aea1dde
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions test/rule_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -713,18 +713,17 @@
end

@testset "get_from_rule_method" begin

let
let
rule1 = methods(ReactiveMP.rule)[1]

messages_rule1 = ReactiveMP.get_messages_from_rule_method(rule1)
message_names_rule1 = ReactiveMP.get_message_names_from_rule_method(rule1)
message_types_rule1 = ReactiveMP.get_message_types_from_rule_method(rule1)
messages_rule1 = ReactiveMP.get_messages_from_rule_method(rule1)
message_names_rule1 = ReactiveMP.get_message_names_from_rule_method(rule1)
message_types_rule1 = ReactiveMP.get_message_types_from_rule_method(rule1)

marginals_rule1 = ReactiveMP.get_marginals_from_rule_method(rule1)
marginal_names_rule1 = ReactiveMP.get_marginal_names_from_rule_method(rule1)
marginal_types_rule1 = ReactiveMP.get_marginal_types_from_rule_method(rule1)

@test ReactiveMP.get_node_from_rule_method(rule1) == "*"
@test occursin("μ(A) :: BayesBase.PointMass", messages_rule1[1])
@test occursin("μ(out) :: Union{ExponentialFamily.NormalDistributionsFamily{T}", messages_rule1[2])
Expand Down

0 comments on commit aea1dde

Please sign in to comment.