[macruby-changes] [1655] MacRuby/branches/experimental

source_changes at macosforge.org source_changes at macosforge.org
Sat May 30 15:55:49 PDT 2009


Revision: 1655
          http://trac.macosforge.org/projects/ruby/changeset/1655
Author:   eloy.de.enige at gmail.com
Date:     2009-05-30 15:55:48 -0700 (Sat, 30 May 2009)
Log Message:
-----------
Tagged critical and failing exmaples of numeric spec and added Numeric to spec:ci.

Modified Paths:
--------------
    MacRuby/branches/experimental/rakelib/spec.rake

Added Paths:
-----------
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/coerce_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/comparison_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/eql_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/initialize_copy_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/quo_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/singleton_method_added_tags.txt
    MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/step_tags.txt

Modified: MacRuby/branches/experimental/rakelib/spec.rake
===================================================================
--- MacRuby/branches/experimental/rakelib/spec.rake	2009-05-30 22:43:02 UTC (rev 1654)
+++ MacRuby/branches/experimental/rakelib/spec.rake	2009-05-30 22:55:48 UTC (rev 1655)
@@ -58,6 +58,7 @@
     spec/frozen/language
     spec/frozen/core/array
     spec/frozen/core/hash
+    spec/frozen/core/numeric
   }.join(' ')
   
   MACRUBY_MSPEC = "./spec/macruby.mspec"

Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/coerce_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/coerce_tags.txt	                        (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/coerce_tags.txt	2009-05-30 22:55:48 UTC (rev 1655)
@@ -0,0 +1,2 @@
+critical:Numeric#coerce returns [other.to_f, self.to_f] if self and other are instances of different classes
+fails:Numeric#coerce raises a TypeError when passed a Symbol

Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/comparison_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/comparison_tags.txt	                        (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/comparison_tags.txt	2009-05-30 22:55:48 UTC (rev 1655)
@@ -0,0 +1 @@
+critical:Numeric#<=> returns nil if self does not equal other
\ No newline at end of file

Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/eql_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/eql_tags.txt	                        (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/eql_tags.txt	2009-05-30 22:55:48 UTC (rev 1655)
@@ -0,0 +1 @@
+critical:Numeric#eql? returns false if self's and other's types don't match
\ No newline at end of file

Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/initialize_copy_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/initialize_copy_tags.txt	                        (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/initialize_copy_tags.txt	2009-05-30 22:55:48 UTC (rev 1655)
@@ -0,0 +1 @@
+critical:Numeric#singleton_method_added raises a TypeError when trying to #dup a Numeric
\ No newline at end of file

Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/quo_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/quo_tags.txt	                        (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/quo_tags.txt	2009-05-30 22:55:48 UTC (rev 1655)
@@ -0,0 +1 @@
+fails:Numeric#quo returns the result of calling self#/ with other

Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/singleton_method_added_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/singleton_method_added_tags.txt	                        (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/singleton_method_added_tags.txt	2009-05-30 22:55:48 UTC (rev 1655)
@@ -0,0 +1 @@
+critical:Numeric#singleton_method_added raises a TypeError when trying to define a singleton method on a Numeric
\ No newline at end of file

Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/step_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/step_tags.txt	                        (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/numeric/step_tags.txt	2009-05-30 22:55:48 UTC (rev 1655)
@@ -0,0 +1,2 @@
+fails:Numeric#step with [stop, step] returns an Enumerator when passed no block and self > stop
+fails:Numeric#step with [stop, step] returns an Enumerator when passed no block and self < stop
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090530/1cefc8d8/attachment.html>


More information about the macruby-changes mailing list