This repository has been archived by the owner on Jul 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add test for operations with
Rational
and fix 3 / 2
* Replace integers to rational in test * Add test for operations with rationals
- Loading branch information
1 parent
1c77fc6
commit 8d0a547
Showing
6 changed files
with
38 additions
and
7 deletions.
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
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
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
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
0 | ||
1 | ||
0.0 | ||
1.0 | ||
Hello World! |
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,15 @@ | ||
println 0.0 | ||
println +1.0 | ||
println -2.0 | ||
println 1.0 + 2.0 | ||
println 5.0 - 1.0 | ||
println 2.5 * 2.0 | ||
println 9.0 / (3 / 2) | ||
println 0.0 == 0.0 | ||
println 1.0 != 0.0 | ||
println 0.0 < 1.0 | ||
println 1.0 > 0.0 | ||
println 0.0 <= 0.0 | ||
println 0.0 <= 1.0 | ||
println 0.0 >= 0.0 | ||
println 1.0 >= 0.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,15 @@ | ||
0.0 | ||
1.0 | ||
-2.0 | ||
3.0 | ||
4.0 | ||
5.0 | ||
6.0 | ||
true | ||
true | ||
true | ||
true | ||
true | ||
true | ||
true | ||
true |