Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Thirumalai-Shaktivel committed Aug 13, 2023
1 parent 10cb4f8 commit 553bc09
Show file tree
Hide file tree
Showing 32 changed files with 126 additions and 126 deletions.
2 changes: 1 addition & 1 deletion tests/reference/asr-constants1-5828e8a.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"outfile": null,
"outfile_hash": null,
"stdout": "asr-constants1-5828e8a.stdout",
"stdout_hash": "9ee2a3ca03f116d819095a08b7600931b18ffc887fb3670e65905935",
"stdout_hash": "6a720ac727aa279e50caba080213442c089fcaaf28297bbbb524c825",
"stderr": null,
"stderr_hash": null,
"returncode": 0
Expand Down
14 changes: 7 additions & 7 deletions tests/reference/asr-constants1-5828e8a.stdout
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
[]
[(=
(Var 5 a)
(IntrinsicFunction
(IntrinsicScalarFunction
Abs
[(IntegerConstant 5 (Integer 4))]
0
Expand All @@ -95,7 +95,7 @@
)
(=
(Var 5 a)
(IntrinsicFunction
(IntrinsicScalarFunction
Abs
[(IntegerUnaryMinus
(IntegerConstant 500 (Integer 4))
Expand All @@ -110,7 +110,7 @@
)
(=
(Var 5 a)
(IntrinsicFunction
(IntrinsicScalarFunction
Abs
[(Cast
(LogicalConstant
Expand All @@ -129,7 +129,7 @@
)
(=
(Var 5 a)
(IntrinsicFunction
(IntrinsicScalarFunction
Abs
[(Cast
(LogicalConstant
Expand All @@ -149,7 +149,7 @@
(=
(Var 5 b)
(Cast
(IntrinsicFunction
(IntrinsicScalarFunction
Abs
[(RealConstant
3.450000
Expand All @@ -174,7 +174,7 @@
(=
(Var 5 b)
(Cast
(IntrinsicFunction
(IntrinsicScalarFunction
Abs
[(RealUnaryMinus
(RealConstant
Expand Down Expand Up @@ -206,7 +206,7 @@
(=
(Var 5 b)
(Cast
(IntrinsicFunction
(IntrinsicScalarFunction
Abs
[(FunctionCall
5 complex@__lpython_overloaded_5__complex
Expand Down
2 changes: 1 addition & 1 deletion tests/reference/asr-elemental_01-b58df26.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"outfile": null,
"outfile_hash": null,
"stdout": "asr-elemental_01-b58df26.stdout",
"stdout_hash": "7ce2e5fe829c8e51cf8f467dfd726fef8da1601c714b5af3e24dd1af",
"stdout_hash": "6fd3b9bf7ded59e56672127135e71ffe94a3e2715eb5ae6c1d77ea82",
"stderr": null,
"stderr_hash": null,
"returncode": 0
Expand Down
12 changes: 6 additions & 6 deletions tests/reference/asr-elemental_01-b58df26.stdout
Original file line number Diff line number Diff line change
Expand Up @@ -1868,7 +1868,7 @@
(IntegerConstant 1 (Integer 4)))
[(Assert
(RealCompare
(IntrinsicFunction
(IntrinsicScalarFunction
Abs
[(RealBinOp
(ArrayItem
Expand Down Expand Up @@ -1969,7 +1969,7 @@
block
[(Assert
(RealCompare
(IntrinsicFunction
(IntrinsicScalarFunction
Abs
[(RealBinOp
(FunctionCall
Expand Down Expand Up @@ -2337,7 +2337,7 @@
(IntegerConstant 1 (Integer 4)))
[(Assert
(RealCompare
(IntrinsicFunction
(IntrinsicScalarFunction
Abs
[(RealBinOp
(RealBinOp
Expand Down Expand Up @@ -2598,7 +2598,7 @@
(IntegerConstant 1 (Integer 4)))
[(Assert
(RealCompare
(IntrinsicFunction
(IntrinsicScalarFunction
Abs
[(RealBinOp
(RealBinOp
Expand Down Expand Up @@ -2734,7 +2734,7 @@
block
[(Assert
(RealCompare
(IntrinsicFunction
(IntrinsicScalarFunction
Abs
[(RealBinOp
(RealBinOp
Expand Down Expand Up @@ -3044,7 +3044,7 @@
block
[(Assert
(RealCompare
(IntrinsicFunction
(IntrinsicScalarFunction
Abs
[(RealBinOp
(RealBinOp
Expand Down
2 changes: 1 addition & 1 deletion tests/reference/asr-expr_05-3a37324.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"outfile": null,
"outfile_hash": null,
"stdout": "asr-expr_05-3a37324.stdout",
"stdout_hash": "b647c29262d846c6a9470081add7c497093bf643f3834e9504dbe784",
"stdout_hash": "e568b4fb4b9a08389b8d7639ee6e08ad43ec2b8086a7486598ffd92b",
"stderr": null,
"stderr_hash": null,
"returncode": 0
Expand Down
4 changes: 2 additions & 2 deletions tests/reference/asr-expr_05-3a37324.stdout
Original file line number Diff line number Diff line change
Expand Up @@ -1193,7 +1193,7 @@
)
(Assert
(RealCompare
(IntrinsicFunction
(IntrinsicScalarFunction
Abs
[(RealBinOp
(FunctionCall
Expand Down Expand Up @@ -1255,7 +1255,7 @@
)
(Assert
(RealCompare
(IntrinsicFunction
(IntrinsicScalarFunction
Abs
[(RealBinOp
(FunctionCall
Expand Down
2 changes: 1 addition & 1 deletion tests/reference/asr-expr_09-f3e89c8.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"outfile": null,
"outfile_hash": null,
"stdout": "asr-expr_09-f3e89c8.stdout",
"stdout_hash": "ecfde426a62ac9860418a88dd60edcea1ce2ac278554857680143a35",
"stdout_hash": "ba3074d0bc0b2017872e27e730d06054b799d295c6599949176a0e15",
"stderr": null,
"stderr_hash": null,
"returncode": 0
Expand Down
14 changes: 7 additions & 7 deletions tests/reference/asr-expr_09-f3e89c8.stdout
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,7 @@
)
(Assert
(RealCompare
(IntrinsicFunction
(IntrinsicScalarFunction
Abs
[(RealBinOp
(Var 4 x)
Expand Down Expand Up @@ -684,7 +684,7 @@
)
(Assert
(RealCompare
(IntrinsicFunction
(IntrinsicScalarFunction
Abs
[(RealBinOp
(Var 4 y)
Expand Down Expand Up @@ -712,7 +712,7 @@
)
(Assert
(RealCompare
(IntrinsicFunction
(IntrinsicScalarFunction
Abs
[(RealBinOp
(Var 4 e)
Expand Down Expand Up @@ -740,7 +740,7 @@
)
(Assert
(RealCompare
(IntrinsicFunction
(IntrinsicScalarFunction
Abs
[(RealBinOp
(Var 4 d)
Expand Down Expand Up @@ -845,7 +845,7 @@
(IntegerConstant 1 (Integer 4)))
[(Assert
(RealCompare
(IntrinsicFunction
(IntrinsicScalarFunction
Abs
[(RealBinOp
(ListItem
Expand Down Expand Up @@ -880,7 +880,7 @@
)
(Assert
(RealCompare
(IntrinsicFunction
(IntrinsicScalarFunction
Abs
[(RealBinOp
(ListItem
Expand Down Expand Up @@ -915,7 +915,7 @@
)
(Assert
(RealCompare
(IntrinsicFunction
(IntrinsicScalarFunction
Abs
[(RealBinOp
(RealBinOp
Expand Down
2 changes: 1 addition & 1 deletion tests/reference/asr-expr_14-f2bd343.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"outfile": null,
"outfile_hash": null,
"stdout": "asr-expr_14-f2bd343.stdout",
"stdout_hash": "38802a7dc7857816979d9549fda992e3637ca30ab8db286db22340a4",
"stdout_hash": "b03cf9660c69a5bd18468550cc176ffd6f219869f5b9a198c2b23e71",
"stderr": null,
"stderr_hash": null,
"returncode": 0
Expand Down
12 changes: 6 additions & 6 deletions tests/reference/asr-expr_14-f2bd343.stdout
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@
)
(Assert
(RealCompare
(IntrinsicFunction
(IntrinsicScalarFunction
Abs
[(RealBinOp
(Var 3 a3)
Expand Down Expand Up @@ -456,7 +456,7 @@
)
(Assert
(RealCompare
(IntrinsicFunction
(IntrinsicScalarFunction
Abs
[(RealBinOp
(Var 3 b3)
Expand Down Expand Up @@ -527,7 +527,7 @@
)
(Assert
(RealCompare
(IntrinsicFunction
(IntrinsicScalarFunction
Abs
[(RealBinOp
(Var 3 c3)
Expand Down Expand Up @@ -598,7 +598,7 @@
)
(Assert
(RealCompare
(IntrinsicFunction
(IntrinsicScalarFunction
Abs
[(RealBinOp
(Var 3 d3)
Expand Down Expand Up @@ -711,7 +711,7 @@
)
(Assert
(RealCompare
(IntrinsicFunction
(IntrinsicScalarFunction
Abs
[(ComplexBinOp
(ComplexBinOp
Expand Down Expand Up @@ -842,7 +842,7 @@
)
(Assert
(RealCompare
(IntrinsicFunction
(IntrinsicScalarFunction
Abs
[(ComplexBinOp
(ComplexBinOp
Expand Down
2 changes: 1 addition & 1 deletion tests/reference/asr-list1-770ba33.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"outfile": null,
"outfile_hash": null,
"stdout": "asr-list1-770ba33.stdout",
"stdout_hash": "bdbe744ed90d9e0317c8370db8b793bff41ddd23c7ee9c0ccf9b1360",
"stdout_hash": "6b6e9737c184719a7d269490a7fcdfe22f3c1e69d34e20502528f1ac",
"stderr": null,
"stderr_hash": null,
"returncode": 0
Expand Down
4 changes: 2 additions & 2 deletions tests/reference/asr-list1-770ba33.stdout
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@
)
(=
(Var 3 d)
(IntrinsicFunction
(IntrinsicScalarFunction
ListPop
[(Var 3 a)]
0
Expand All @@ -333,7 +333,7 @@
)
(=
(Var 3 d)
(IntrinsicFunction
(IntrinsicScalarFunction
ListPop
[(Var 3 a)
(IntegerConstant 2 (Integer 4))]
Expand Down
2 changes: 1 addition & 1 deletion tests/reference/asr-set1-b7b913a.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"outfile": null,
"outfile_hash": null,
"stdout": "asr-set1-b7b913a.stdout",
"stdout_hash": "64366c80a466b43ffcd25c03d279a6c1b8a17e7e3fa53b6cd7733271",
"stdout_hash": "5cedd001b9359adb6bbe66fb49cbbcdb2b13fbc5eae198660c91a996",
"stderr": null,
"stderr_hash": null,
"returncode": 0
Expand Down
4 changes: 2 additions & 2 deletions tests/reference/asr-set1-b7b913a.stdout
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
()
)
(Expr
(IntrinsicFunction
(IntrinsicScalarFunction
SetAdd
[(Var 3 a)
(IntegerConstant 9 (Integer 4))]
Expand All @@ -119,7 +119,7 @@
)
)
(Expr
(IntrinsicFunction
(IntrinsicScalarFunction
SetRemove
[(Var 3 a)
(IntegerConstant 4 (Integer 4))]
Expand Down
2 changes: 1 addition & 1 deletion tests/reference/asr-structs_05-fa98307.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"outfile": null,
"outfile_hash": null,
"stdout": "asr-structs_05-fa98307.stdout",
"stdout_hash": "dc3d73243eff18d08010fb4566a90b895639855e74a4c5622445f790",
"stdout_hash": "9a947180189938b72d890313d7745a3f4a41d546b6dba9e19e7a9c20",
"stderr": null,
"stderr_hash": null,
"returncode": 0
Expand Down
Loading

0 comments on commit 553bc09

Please sign in to comment.