[macruby-changes] [1785] MacRuby/branches/experimental
source_changes at macosforge.org
source_changes at macosforge.org
Sat Jun 6 12:59:10 PDT 2009
Revision: 1785
http://trac.macosforge.org/projects/ruby/changeset/1785
Author: eloy.de.enige at gmail.com
Date: 2009-06-06 12:59:09 -0700 (Sat, 06 Jun 2009)
Log Message:
-----------
Tagged critical and failing examples of Bignum spec and added Bignum to spec:ci.
Modified Paths:
--------------
MacRuby/branches/experimental/rakelib/spec.rake
Added Paths:
-----------
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/bit_and_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/bit_or_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/bit_xor_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/coerce_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/comparison_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/div_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/divide_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/divmod_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/gt_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/gte_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/lt_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/lte_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/minus_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/modulo_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/multiply_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/plus_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/quo_tags.txt
Modified: MacRuby/branches/experimental/rakelib/spec.rake
===================================================================
--- MacRuby/branches/experimental/rakelib/spec.rake 2009-06-06 15:04:27 UTC (rev 1784)
+++ MacRuby/branches/experimental/rakelib/spec.rake 2009-06-06 19:59:09 UTC (rev 1785)
@@ -4,6 +4,7 @@
spec/frozen/core/argf
spec/frozen/core/array
spec/frozen/core/basicobject
+ spec/frozen/core/bignum
spec/frozen/core/builtin_constants
spec/frozen/core/class
spec/frozen/core/comparable
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/bit_and_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/bit_and_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/bit_and_tags.txt 2009-06-06 19:59:09 UTC (rev 1785)
@@ -0,0 +1,2 @@
+fails:Bignum#& returns self bitwise AND other
+fails:Bignum#& tries to convert the given argument to an Integer using to_int
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/bit_or_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/bit_or_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/bit_or_tags.txt 2009-06-06 19:59:09 UTC (rev 1785)
@@ -0,0 +1,2 @@
+fails:Bignum#| returns self bitwise OR other
+fails:Bignum#| tries to convert the given argument to an Integer using to_int
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/bit_xor_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/bit_xor_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/bit_xor_tags.txt 2009-06-06 19:59:09 UTC (rev 1785)
@@ -0,0 +1,2 @@
+fails:Bignum#^ returns self bitwise EXCLUSIVE OR other
+fails:Bignum#^ tries to convert the given argument to an Integer using to_int
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/coerce_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/coerce_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/coerce_tags.txt 2009-06-06 19:59:09 UTC (rev 1785)
@@ -0,0 +1 @@
+fails:Bignum#coerce coerces other to a Bignum and returns [other, self] when passed a Fixnum
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/comparison_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/comparison_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/comparison_tags.txt 2009-06-06 19:59:09 UTC (rev 1785)
@@ -0,0 +1 @@
+fails:Bignum#<=> returns nil when the given argument is not an Integer
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/div_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/div_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/div_tags.txt 2009-06-06 19:59:09 UTC (rev 1785)
@@ -0,0 +1 @@
+fails:Bignum#div raises a TypeError when given a non-Integer
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/divide_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/divide_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/divide_tags.txt 2009-06-06 19:59:09 UTC (rev 1785)
@@ -0,0 +1 @@
+fails:Bignum#/ raises a TypeError when given a non-Integer
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/divmod_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/divmod_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/divmod_tags.txt 2009-06-06 19:59:09 UTC (rev 1785)
@@ -0,0 +1,2 @@
+fails:Bignum#divmod raises a FloatDomainError when the given argument is 0 and a Float
+fails:Bignum#divmod raises a TypeError when the given argument is not an Integer
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/gt_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/gt_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/gt_tags.txt 2009-06-06 19:59:09 UTC (rev 1785)
@@ -0,0 +1 @@
+fails:Bignum#> raises an ArgumentError when given a non-Integer
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/gte_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/gte_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/gte_tags.txt 2009-06-06 19:59:09 UTC (rev 1785)
@@ -0,0 +1 @@
+fails:Bignum#>= raises an ArgumentError when given a non-Integer
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/lt_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/lt_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/lt_tags.txt 2009-06-06 19:59:09 UTC (rev 1785)
@@ -0,0 +1 @@
+fails:Bignum#< raises an ArgumentError when given a non-Integer
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/lte_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/lte_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/lte_tags.txt 2009-06-06 19:59:09 UTC (rev 1785)
@@ -0,0 +1 @@
+fails:Bignum#<= raises an ArgumentError when given a non-Integer
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/minus_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/minus_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/minus_tags.txt 2009-06-06 19:59:09 UTC (rev 1785)
@@ -0,0 +1 @@
+fails:Bignum#- raises a TypeError when given a non-Integer
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/modulo_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/modulo_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/modulo_tags.txt 2009-06-06 19:59:09 UTC (rev 1785)
@@ -0,0 +1,5 @@
+critical:Bignum#modulo returns the modulus obtained from dividing self by the given argument
+critical:Bignum#modulo raises a ZeroDivisionError when the given argument is 0
+critical:Bignum#modulo does not raise a FloatDomainError when the given argument is 0 and a Float
+critical:Bignum#modulo raises a TypeError when given a non-Integer
+fails:Bignum#% raises a TypeError when given a non-Integer
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/multiply_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/multiply_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/multiply_tags.txt 2009-06-06 19:59:09 UTC (rev 1785)
@@ -0,0 +1 @@
+fails:Bignum#* raises a TypeError when given a non-Integer
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/plus_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/plus_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/plus_tags.txt 2009-06-06 19:59:09 UTC (rev 1785)
@@ -0,0 +1 @@
+fails:Bignum#+ raises a TypeError when given a non-Integer
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/quo_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/quo_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/bignum/quo_tags.txt 2009-06-06 19:59:09 UTC (rev 1785)
@@ -0,0 +1,4 @@
+fails:Bignum#quo returns the result of self divided by the given Integer as a Float
+fails:Bignum#quo does not raise a ZeroDivisionError when the given Integer is 0
+fails:Bignum#quo does not raise a FloatDomainError when the given Integer is 0 and a Float
+fails:Bignum#quo raises a TypeError when given a non-Integer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090606/9c6ae10e/attachment-0001.html>
More information about the macruby-changes
mailing list