[macruby-changes] [1791] MacRuby/branches/experimental
source_changes at macosforge.org
source_changes at macosforge.org
Sat Jun 6 17:30:29 PDT 2009
Revision: 1791
http://trac.macosforge.org/projects/ruby/changeset/1791
Author: eloy.de.enige at gmail.com
Date: 2009-06-06 17:30:29 -0700 (Sat, 06 Jun 2009)
Log Message:
-----------
Tagged critical and failing examples of Float spec and added Float to spec:ci.
Modified Paths:
--------------
MacRuby/branches/experimental/rakelib/spec.rake
Added Paths:
-----------
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/float/
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/float/divide_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/float/divmod_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/float/induced_from_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/float/to_s_tags.txt
Modified: MacRuby/branches/experimental/rakelib/spec.rake
===================================================================
--- MacRuby/branches/experimental/rakelib/spec.rake 2009-06-06 20:49:54 UTC (rev 1790)
+++ MacRuby/branches/experimental/rakelib/spec.rake 2009-06-07 00:30:29 UTC (rev 1791)
@@ -19,6 +19,7 @@
spec/frozen/core/file
spec/frozen/core/filetest
spec/frozen/core/fixnum
+ spec/frozen/core/float
spec/frozen/core/gc
spec/frozen/core/hash
spec/frozen/core/integer
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/float/divide_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/float/divide_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/float/divide_tags.txt 2009-06-07 00:30:29 UTC (rev 1791)
@@ -0,0 +1 @@
+fails:Float#/ properly handles BigDecimal argument
\ No newline at end of file
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/float/divmod_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/float/divmod_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/float/divmod_tags.txt 2009-06-07 00:30:29 UTC (rev 1791)
@@ -0,0 +1 @@
+fails:Float#divmod raises FloatDomainError if other is zero
\ No newline at end of file
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/float/induced_from_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/float/induced_from_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/float/induced_from_tags.txt 2009-06-07 00:30:29 UTC (rev 1791)
@@ -0,0 +1,5 @@
+critical:Float.induced_from returns the passed argument when passed a Float
+critical:Float.induced_from converts passed Fixnums or Bignums to Floats (using #to_f)
+critical:Float.induced_from does not try to convert non-Integers to Integers using #to_int
+critical:Float.induced_from does not try to convert non-Integers to Floats using #to_f
+critical:Float.induced_from raises a TypeError when passed a non-Integer
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/float/to_s_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/float/to_s_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/float/to_s_tags.txt 2009-06-07 00:30:29 UTC (rev 1791)
@@ -0,0 +1 @@
+fails:Float#to_s returns a string representation of self
\ No newline at end of file
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090606/84148ab6/attachment.html>
More information about the macruby-changes
mailing list