Skip to content

Commit 2bf35c2

Browse files
style: format SymbolicUtils tests
1 parent de03b73 commit 2bf35c2

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

test/test_simplification.jl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,7 @@ tree_copy = convert(Node, eqn, operators_with_pow)
5555

5656
# Let's test a more complex function with supported operators
5757
# (Custom operators are not supported in SymbolicUtils v4+)
58-
operators = OperatorEnum(;
59-
binary_operators=(+, *, -, /), unary_operators=(cos, exp, sin)
60-
)
58+
operators = OperatorEnum(; binary_operators=(+, *, -, /), unary_operators=(cos, exp, sin))
6159

6260
x1, x2, x3 = Node("x1"), Node("x2"), Node("x3")
6361
@extend_operators operators

test/test_symbolic_utils.jl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@ include("test_params.jl")
77
# Test basic conversion with supported operators only
88
# (Custom operators are not supported in SymbolicUtils v4+)
99
operators = OperatorEnum(;
10-
default_params...,
11-
binary_operators=(+, *, -, /),
12-
unary_operators=(sin, cos, exp),
10+
default_params..., binary_operators=(+, *, -, /), unary_operators=(sin, cos, exp)
1311
)
1412

1513
# Build tree: sin(3.0 * x1) + 2.0

0 commit comments

Comments
 (0)