-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #36 from VeryElegantBread/main
added math test cases for ints and unsigned ints
- Loading branch information
Showing
3 changed files
with
81 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
skibidi main { | ||
rizz num1 = 3; | ||
rizz num2 = 7; | ||
yapping("%d", num1 + num2); | ||
rizz num1 = -4; | ||
rizz num2 = 9; | ||
yapping("%d", num1 + num2); | ||
|
||
rizz num1 = 9; | ||
rizz num2 = 6; | ||
yapping("%d", num1 - num2); | ||
rizz num1 = 6; | ||
rizz num2 = 9; | ||
yapping("%d", num1 - num2); | ||
|
||
rizz num1 = 5; | ||
rizz num2 = 4; | ||
yapping("%d", num1 * num2); | ||
rizz num1 = 5; | ||
rizz num2 = -4; | ||
yapping("%d", num1 * num2); | ||
|
||
rizz num1 = 14; | ||
rizz num2 = 7; | ||
yapping("%d", num1 / num2); | ||
rizz num1 = 12; | ||
rizz num2 = 7; | ||
yapping("%d", num1 / num2); | ||
|
||
rizz num1 = 8; | ||
rizz num2 = 3; | ||
yapping("%d", num1 % num2); | ||
rizz num1 = -8; | ||
rizz num2 = 3; | ||
yapping("%d", num1 % num2); | ||
|
||
|
||
bussin 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
skibidi main { | ||
nonut rizz num1 = 3; | ||
nonut rizz num2 = 7; | ||
yapping("%u", num1 + num2); | ||
nonut rizz num1 = 447863; | ||
nonut rizz num2 = 9483874; | ||
yapping("%u", num1 + num2); | ||
|
||
nonut rizz num1 = 9; | ||
nonut rizz num2 = 6; | ||
yapping("%u", num1 - num2); | ||
nonut rizz num1 = 647238974; | ||
nonut rizz num2 = 9; | ||
yapping("%u", num1 - num2); | ||
|
||
nonut rizz num1 = 5; | ||
nonut rizz num2 = 4; | ||
yapping("%u", num1 * num2); | ||
nonut rizz num1 = 55348; | ||
nonut rizz num2 = 4434; | ||
yapping("%u", num1 * num2); | ||
|
||
nonut rizz num1 = 14; | ||
nonut rizz num2 = 7; | ||
yapping("%u", num1 / num2); | ||
nonut rizz num1 = 12; | ||
nonut rizz num2 = 7; | ||
yapping("%u", num1 / num2); | ||
|
||
nonut rizz num1 = 8; | ||
nonut rizz num2 = 3; | ||
yapping("%u", num1 % num2); | ||
nonut rizz num1 = 437473348; | ||
nonut rizz num2 = 3; | ||
yapping("%u", num1 % num2); | ||
|
||
|
||
bussin 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters