-
Notifications
You must be signed in to change notification settings - Fork 124
Closed
Description
Currently, if I write
julia> using SymbolicUtils, Test; @vars a b;
julia> a * b * a
((a ^ 2) * b)
julia> @test a * b * a == a^2 * b
Test Failed at REPL[33]:1
Expression: a * b * a == a ^ 2 * b
Evaluated: ((a ^ 2) * b) == ((a ^ 2) * b)
ERROR: There was an error during testingBecause we simplify the output of Base.show, errors testsets tricky to debug. notice it says Evaluated: ((a ^ 2) * b) == ((a ^ 2) * b)
One can use showraw to see what the actual representation is, but I think maybe we shouldn't be simplifying on show.
Metadata
Metadata
Assignees
Labels
No labels