Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Alex Gaynor
committed
Apr 4, 2013
1 parent
463ab56
commit d260940
Showing
2 changed files
with
6 additions
and
10 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,2 @@ | ||
fails:Fixnum#[] returns 1 if the nth bit is set | ||
fails:Fixnum#[] returns 0 if the nth bit is not set | ||
fails:Fixnum#[] returns 0 if the nth bit is greater than the most significant bit | ||
fails:Fixnum#[] returns 0 when passed a negative argument | ||
fails:Fixnum#[] calls #to_int to convert the argument to an Integer and returns 1 if the nth bit is set | ||
fails:Fixnum#[] calls #to_int to convert the argument to an Integer and returns 0 if the nth bit is set | ||
fails:Fixnum#[] accepts a Float argument and returns 0 if the bit at the truncated value is not set | ||
fails:Fixnum#[] accepts a Float argument and returns 1 if the bit at the truncated value is set | ||
fails:Fixnum#[] raises a TypeError when passed a String | ||
fails:Fixnum#[] raises a TypeError when #to_int does not return an Integer | ||
fails:Fixnum#[] calls #to_int to coerce a String to a Bignum and returns 0 | ||
fails:Fixnum#[] returns 0 when passed a Float in the range of a Bignum |
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