FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
lpython/integration_tests/expr_15.py at main · lucifer1004/lpython · GitHub
lucifer1004
/
lpython
Public
forked from
lcompilers/lpython
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
lpython
/
integration_tests
/
expr_15.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
33 lines (27 loc) · 477 Bytes
Breadcrumbs
lpython
/
integration_tests
/
expr_15.py
Copy path
File metadata and controls
33 lines (27 loc) · 477 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
from
lpython
import
i8
,
i16
def
test_issue_1586
():
x4
:
i16
y4
:
i16
y4
=
i16
(
10
)
x4
=
i16
(
12345
)
assert
x4
//
y4
==
i16
(
1234
)
a4
:
i8
b4
:
i8
a4
=
i8
(
10
)
b4
=
i8
(
123
)
assert
b4
//
a4
==
i8
(
12
)
def
test_issue_1619
():
a
:
i16
b
:
i16
a
=
i16
(
10
)
b
=
i16
(
12345
)
assert
b
%
a
==
i16
(
5
)
c
:
i8
d
:
i8
c
=
i8
(
10
)
d
=
i8
(
123
)
assert
d
%
c
==
i8
(
3
)
def
check
():
test_issue_1586
()
test_issue_1619
()
check
()
Back
|
FazBrowse Home
|
New Git URL