Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mruby
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
mruby
Commits
b9e9ce92
Commit
b9e9ce92
authored
May 14, 2014
by
yui-knk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add ISO No. to Integer#divmod test.
parent
e1b84143
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
test/t/integer.rb
test/t/integer.rb
+3
-3
No files found.
test/t/integer.rb
View file @
b9e9ce92
...
...
@@ -235,9 +235,7 @@ assert('Integer#upto', '15.2.8.3.27') do
assert_equal
6
,
a
end
# Not ISO specified
assert
(
'Integer#divmod'
)
do
assert
(
'Integer#divmod'
,
'15.2.8.3.30'
)
do
assert_equal
[
0
,
0
],
0
.
divmod
(
1
)
assert_equal
[
0
,
1
],
1
.
divmod
(
3
)
assert_equal
[
3
,
0
],
3
.
divmod
(
1
)
...
...
@@ -247,6 +245,8 @@ assert('Integer#divmod') do
assert_equal
[
1
,
-
6
],
-
13
.
divmod
(
-
7
)
end
# Not ISO specified
assert
(
'Integer#step'
)
do
a
=
[]
b
=
[]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment