Skip to content

Commit 2b8402d

Browse files
committed
removed exponent aliases in onepass test
1 parent 8159f99 commit 2b8402d

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

test/test_onepass.jl

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -749,7 +749,7 @@ function test_onepass()
749749
r = y₃
750750
v = y₄
751751
aa = y₁
752-
(s) == [aa(s), r²(s) + w(s) + z₁, 0, 0]
752+
(s) == [aa(s), r(s)^2 + w(s) + z₁, 0, 0]
753753
0 => min # generic (untested)
754754
end
755755
z = [5, 6]
@@ -798,8 +798,8 @@ function test_onepass()
798798
w R, control
799799
r = y₃
800800
v = y₄
801-
aa = y₁(0) + v³ + z₂
802-
(__t) == [aa(__t) + (w^2)(__t), r²(__t), 0, 0]
801+
aa = y₁(0) + v^3 + z₂
802+
(__t) == [aa(__t) + (w^2)(__t), r(__t)^2, 0, 0]
803803
aa(0) + y₂(z₁) min
804804
end
805805
z = [5, 6]
@@ -823,7 +823,7 @@ function test_onepass()
823823
u R, control
824824
r = x₁
825825
v = x₂
826-
w = r¹ + 2v³
826+
w = r + 2v^3
827827
r(0) + w(tf) - tf^2 == 0, (1)
828828
derivative(x)(t) == x(t) # generic (untested)
829829
0 => min # generic (untested)
@@ -2548,8 +2548,8 @@ function test_onepass()
25482548
w R, control
25492549
r = y₃
25502550
v = y₄
2551-
aa = y₁(s) + v³ + z₂
2552-
(s) == [aa(s) + (w^2)(s), r²(s), 0, 0]
2551+
aa = y₁(s) + v^3 + z₂
2552+
(s) == [aa(s) + (w^2)(s), r(s)^2, 0, 0]
25532553
r(0) + v(z₁) + z₂ min
25542554
end
25552555
z = [5, 6]
@@ -2567,7 +2567,7 @@ function test_onepass()
25672567
w R, control
25682568
r = y₃
25692569
v = y₄
2570-
aa = y₁ + v³ + z₂
2570+
aa = y₁ + v^3 + z₂
25712571
aa(0) + y₂(z₁) min
25722572
derivative(y)(s) == y(s) # generic (untested)
25732573
end
@@ -2583,8 +2583,8 @@ function test_onepass()
25832583
w R, control
25842584
r = y₃
25852585
v = y₄
2586-
aa = y₁(__t) + v³ + z₂
2587-
(__t) == [aa(__t) + (w^2)(__t), r²(__t), 0, 0]
2586+
aa = y₁(__t) + v^3 + z₂
2587+
(__t) == [aa(__t) + (w^2)(__t), r(__t)^2, 0, 0]
25882588
aa(0) + y₂(z₁) min
25892589
end
25902590
z = [5, 6]

0 commit comments

Comments
 (0)