Skip to content

Commit

Permalink
Updated the test after checking it worked.
Browse files Browse the repository at this point in the history
  • Loading branch information
tpersson committed Jan 22, 2024
1 parent d277490 commit 757c110
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions tests/test-addexpression/test-addexpression.ref
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@

++++++++++++++++++++++++++++++++++++++++++++
+ MAD-X 5.07.00 (64 bit, Linux) +
+ MAD-X 5.09.01 (64 bit, Linux) +
+ Support: mad@cern.ch, http://cern.ch/mad +
+ Release date: 2021.05.03 +
+ Execution date: 2021.12.10 13:04:55 +
+ Release date: 2023.12.04 +
+ Execution date: 2024.01.22 17:05:50 +
++++++++++++++++++++++++++++++++++++++++++++


Expand All @@ -17,10 +17,13 @@ add2expr, var = x, expr=-a;

add2expr, var = x, expr=b;

++++++ info: x redefined
add2expr, var = y, expr=b;

++++++ info: y redefined
add2expr, var = z, expr=c;

++++++ info: z redefined


z1=100; ! Doesn't change because not a defered expression
Expand All @@ -37,13 +40,13 @@ c=4;

show, x;

x := 0.0000000000000000 - a + b ;
x := -a+b ;
show, y;

y := 2.0000000000000000 + b ;
y := 2.0000000000000000+b ;
show, z;

z := 0.0000000000000000 + c ;
z := 0.0000000000000000+c ;


value, x;
Expand Down

0 comments on commit 757c110

Please sign in to comment.