Skip to content

Commit

Permalink
TEST: Update reference tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Shaikh-Ubaid committed May 4, 2023
1 parent 87cb5d6 commit 05bde7d
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 44 deletions.
4 changes: 2 additions & 2 deletions tests/reference/asr-test_numpy_03-6dd742e.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"basename": "asr-test_numpy_03-6dd742e",
"cmd": "lpython --show-asr --indent --no-color {infile} -o {outfile}",
"infile": "tests/../integration_tests/test_numpy_03.py",
"infile_hash": "7adaceaf3fd681036b880955e851507a36d42b61fae4e8b0b5527ac9",
"infile_hash": "c0ff0b1ddaee26393573088dbfd8babf9e0c95c3b2cfddbe36c2b633",
"outfile": null,
"outfile_hash": null,
"stdout": "asr-test_numpy_03-6dd742e.stdout",
"stdout_hash": "10b1b9b4a271cfc5db527fe2a0a1df4158cfe2501d49bef13ec562fa",
"stdout_hash": "00fc9276ccbb947926b561a3c8d00470a3bffcb39e180913855ebc6d",
"stderr": null,
"stderr_hash": null,
"returncode": 0
Expand Down
74 changes: 32 additions & 42 deletions tests/reference/asr-test_numpy_03-6dd742e.stdout
Original file line number Diff line number Diff line change
Expand Up @@ -812,32 +812,27 @@
[(=
(Var 193 i)
(Cast
(Cast
(RealBinOp
(Cast
(Var 193 l)
IntegerToReal
(Real 8 [])
()
)
Div
(Cast
(IntegerConstant 256 (Integer 4 []))
IntegerToReal
(Real 8 [])
(RealConstant
256.000000
(Real 8 [])
)
)
(RealBinOp
(Cast
(Var 193 l)
IntegerToReal
(Real 8 [])
()
)
RealToInteger
(Integer 8 [])
Div
(Cast
(IntegerConstant 256 (Integer 4 []))
IntegerToReal
(Real 8 [])
(RealConstant
256.000000
(Real 8 [])
)
)
(Real 8 [])
()
)
IntegerToInteger
RealToInteger
(Integer 4 [])
()
)
Expand Down Expand Up @@ -1352,32 +1347,27 @@
[(=
(Var 195 i)
(Cast
(Cast
(RealBinOp
(Cast
(Var 195 l)
IntegerToReal
(Real 8 [])
()
)
Div
(Cast
(IntegerConstant 256 (Integer 4 []))
IntegerToReal
(Real 8 [])
(RealConstant
256.000000
(Real 8 [])
)
)
(RealBinOp
(Cast
(Var 195 l)
IntegerToReal
(Real 8 [])
()
)
RealToInteger
(Integer 8 [])
Div
(Cast
(IntegerConstant 256 (Integer 4 []))
IntegerToReal
(Real 8 [])
(RealConstant
256.000000
(Real 8 [])
)
)
(Real 8 [])
()
)
IntegerToInteger
RealToInteger
(Integer 4 [])
()
)
Expand Down

0 comments on commit 05bde7d

Please sign in to comment.