[macruby-changes] [3026] MacRuby/trunk/spec/frozen/tags/macruby

source_changes at macosforge.org source_changes at macosforge.org
Mon Nov 16 15:46:22 PST 2009


Revision: 3026
          http://trac.macosforge.org/projects/ruby/changeset/3026
Author:   eloy.de.enige at gmail.com
Date:     2009-11-16 15:46:21 -0800 (Mon, 16 Nov 2009)
Log Message:
-----------
Tagged failing examples.

Modified Paths:
--------------
    MacRuby/trunk/spec/frozen/tags/macruby/core/array/comparison_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/enumerator/with_index_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/hash/default_proc_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/kernel/respond_to_missing_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/string/modulo_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/string/upto_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/language/eigenclass_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/language/regexp/encoding_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/language/return_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/mathn/integer/prime_division_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/column_vector_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/columns_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/det_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/determinant_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/exponent_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/multiply_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/square_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/t_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/transpose_tags.txt

Added Paths:
-----------
    MacRuby/trunk/spec/frozen/tags/macruby/core/fixnum/divide_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/io/inspect_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/io/try_convert_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/kernel/comparison_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/core/string/encode_bang_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/language/string_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/bigdecimal/case_compare_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/bigdecimal/eql_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/bigdecimal/equal_value_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/bigdecimal/gt_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/bigdecimal/gte_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/bigdecimal/lt_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/bigdecimal/lte_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/delegate/
    MacRuby/trunk/spec/frozen/tags/macruby/library/delegate/frozen_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/delegate/method_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/delegate/send_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/collect_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/column_size_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/column_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/constructor_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/inspect_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/map_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/minor_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/row_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/tr_tags.txt
    MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/trace_tags.txt

Modified: MacRuby/trunk/spec/frozen/tags/macruby/core/array/comparison_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/array/comparison_tags.txt	2009-11-16 23:45:34 UTC (rev 3025)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/array/comparison_tags.txt	2009-11-16 23:46:21 UTC (rev 3026)
@@ -1 +1,2 @@
 critical:Array#<=> properly handles recursive arrays
+fails:Array#<=> returns nil when the argument is not array-like

Modified: MacRuby/trunk/spec/frozen/tags/macruby/core/enumerator/with_index_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/enumerator/with_index_tags.txt	2009-11-16 23:45:34 UTC (rev 3025)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/enumerator/with_index_tags.txt	2009-11-16 23:46:21 UTC (rev 3026)
@@ -2,3 +2,8 @@
 fails:Enumerator#with_index accepts an optional argument when not given a block
 fails:Enumerator#with_index numbers indices from the given index when given an offset but no block
 fails:Enumerator#with_index numbers indices from the given index when given an offset and block
+fails:Enumerator#with_index raises a TypeError when the argument cannot be converted to numeric
+fails:Enumerator#with_index converts non-numeric arguments to Integer via #to_int
+fails:Enumerator#with_index coerces the given numeric argument to an Integer
+fails:Enumerator#with_index treats nil argument as no argument
+fails:Enumerator#with_index accepts negative argument

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/fixnum/divide_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/fixnum/divide_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/fixnum/divide_tags.txt	2009-11-16 23:46:21 UTC (rev 3026)
@@ -0,0 +1 @@
+fails:Fixnum#/ supports dividing negative numbers

Modified: MacRuby/trunk/spec/frozen/tags/macruby/core/hash/default_proc_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/hash/default_proc_tags.txt	2009-11-16 23:45:34 UTC (rev 3025)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/hash/default_proc_tags.txt	2009-11-16 23:46:21 UTC (rev 3026)
@@ -2,3 +2,4 @@
 fails:Hash#default_proc= uses :to_proc on its argument
 fails:Hash#default_proc= overrides the static default
 fails:Hash#default_proc= raises an error if passed stuff not convertible to procs
+fails:Hash#default_proc= raises a TypeError if passed a lambda with an arity other than 2

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/io/inspect_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/io/inspect_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/io/inspect_tags.txt	2009-11-16 23:46:21 UTC (rev 3026)
@@ -0,0 +1 @@
+fails:IO#inspect returns a string describing a stream

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/io/try_convert_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/io/try_convert_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/io/try_convert_tags.txt	2009-11-16 23:46:21 UTC (rev 3026)
@@ -0,0 +1 @@
+fails:IO.try_convert checks the result of the conversion

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/kernel/comparison_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/kernel/comparison_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/kernel/comparison_tags.txt	2009-11-16 23:46:21 UTC (rev 3026)
@@ -0,0 +1,5 @@
+fails:Kernel#<=> returns 0 if self
+fails:Kernel#<=> returns 0 if self is == to the argument
+fails:Kernel#<=> returns nil if self is eql? but not == to the argument
+fails:Kernel#<=> returns nil if self.==(arg) returns nil
+fails:Kernel#<=> returns nil if self is not == to the argument

Modified: MacRuby/trunk/spec/frozen/tags/macruby/core/kernel/respond_to_missing_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/kernel/respond_to_missing_tags.txt	2009-11-16 23:45:34 UTC (rev 3025)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/kernel/respond_to_missing_tags.txt	2009-11-16 23:46:21 UTC (rev 3026)
@@ -6,3 +6,5 @@
 fails:Kernel#respond_to_missing? is not called with false as a second argument when #respond_to? is
 fails:Kernel#respond_to_missing? is called when obj responds to the given private method, include_private = false
 fails:Kernel#respond_to_missing? is called for missing class methods
+fails:Kernel#respond_to_missing? is called with a 2nd argument of false when #respond_to? is
+fails:Kernel#respond_to_missing? is called a 2nd argument of false when #respond_to? is called with only 1 argument

Added: MacRuby/trunk/spec/frozen/tags/macruby/core/string/encode_bang_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/string/encode_bang_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/string/encode_bang_tags.txt	2009-11-16 23:46:21 UTC (rev 3026)
@@ -0,0 +1,14 @@
+fails:String#encode! transcodes to the default internal encoding with no argument
+fails:String#encode! transcodes self to the given encoding
+fails:String#encode! can convert between encodings where a multi-stage conversion path is needed
+fails:String#encode! raises an Encoding::InvalidByteSequenceError for invalid byte sequences
+fails:String#encode! raises UndefinedConversionError if the String contains characters invalid for the target     encoding
+fails:String#encode! raises Encoding::ConverterNotFoundError for invalid target encodings
+fails:String#encode! replaces invalid characters
+fails:String#encode! replaces undefined characters
+fails:String#encode! replaces xml characters
+fails:String#encode! replaces xml characters and quotes the result
+fails:String#encode! raises a RuntimeError when called on a frozen String
+fails:String#encode! raises a RuntimeError when called on a frozen String when it's a no-op
+fails:String#encode! returns self when called with only a target encoding
+fails:String#encode! tags the String with the given encoding

Modified: MacRuby/trunk/spec/frozen/tags/macruby/core/string/modulo_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/string/modulo_tags.txt	2009-11-16 23:45:34 UTC (rev 3025)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/string/modulo_tags.txt	2009-11-16 23:46:21 UTC (rev 3026)
@@ -69,3 +69,4 @@
 fails:String#% tries to convert the passed argument to an Array using #to_ary
 fails:String#% tries to convert the passed argument to an Array using #to_ary
 fails:String#% tries to convert the passed argument to an Array using #to_ary
+fails:String#% pads with spaces for %E with Inf, -Inf, and NaN

Modified: MacRuby/trunk/spec/frozen/tags/macruby/core/string/upto_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/core/string/upto_tags.txt	2009-11-16 23:45:34 UTC (rev 3025)
+++ MacRuby/trunk/spec/frozen/tags/macruby/core/string/upto_tags.txt	2009-11-16 23:46:21 UTC (rev 3026)
@@ -1,3 +1,4 @@
 fails:String#upto works with symbols to
 fails:String#upto returns an enumerator when no block given
 fails:String#upto works with symbols
+fails:String#upto doesn't call block with self even if self is less than stop but stop length is less than self length

Modified: MacRuby/trunk/spec/frozen/tags/macruby/language/eigenclass_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/language/eigenclass_tags.txt	2009-11-16 23:45:34 UTC (rev 3025)
+++ MacRuby/trunk/spec/frozen/tags/macruby/language/eigenclass_tags.txt	2009-11-16 23:46:21 UTC (rev 3026)
@@ -14,3 +14,4 @@
 fails:Class methods of an eigenclass includes instance methods of the metaclass of Class, for a class
 fails:Class methods of an eigenclass includes instance methods of the metaclass of Class, for a metaclass
 fails:Class methods of an eigenclass does not include class methods of the metaclass of Class, for a class
+fails:Instantiating an eigenclass raises a TypeError when new is called

Modified: MacRuby/trunk/spec/frozen/tags/macruby/language/regexp/encoding_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/language/regexp/encoding_tags.txt	2009-11-16 23:45:34 UTC (rev 3025)
+++ MacRuby/trunk/spec/frozen/tags/macruby/language/regexp/encoding_tags.txt	2009-11-16 23:46:21 UTC (rev 3026)
@@ -1,3 +1,7 @@
 fails:Regexps with encoding modifiers supports /n (Normal encoding)
 fails:Regexps with encoding modifiers supports /s (Windows_31J encoding)
 fails:Regexps with encoding modifiers supports /n (No encoding)
+fails:Regexps with encoding modifiers supports /n (No encoding) with interpolation
+fails:Regexps with encoding modifiers supports /n (No encoding) with interpolation /o
+fails:Regexps with encoding modifiers supports /s (Windows_31J encoding) with interpolation
+fails:Regexps with encoding modifiers supports /s (Windows_31J encoding) with interpolation and /o

Modified: MacRuby/trunk/spec/frozen/tags/macruby/language/return_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/language/return_tags.txt	2009-11-16 23:45:34 UTC (rev 3025)
+++ MacRuby/trunk/spec/frozen/tags/macruby/language/return_tags.txt	2009-11-16 23:46:21 UTC (rev 3026)
@@ -3,3 +3,4 @@
 fails:The return keyword within a block causes lambda to return the value passed to return
 fails:The return keyword within a block returns from the lexically enclosing method even in case of chained calls(in yield)
 fails:The return keyword within two blocks causes the method that lexically encloses the block to return
+fails:The return keyword within a begin executes the ensure clause when begin/ensure are inside a lambda

Added: MacRuby/trunk/spec/frozen/tags/macruby/language/string_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/language/string_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/language/string_tags.txt	2009-11-16 23:46:21 UTC (rev 3026)
@@ -0,0 +1 @@
+fails:Ruby character strings interpolates the return value of Object#inspect, without ivars, if Object#to_s does not return a String instance

Added: MacRuby/trunk/spec/frozen/tags/macruby/library/bigdecimal/case_compare_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/bigdecimal/case_compare_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/bigdecimal/case_compare_tags.txt	2009-11-16 23:46:21 UTC (rev 3026)
@@ -0,0 +1,2 @@
+fails:BigDecimal#=== NaN is never equal to any number
+fails:BigDecimal#=== returns false when compared objects that can not be coerced into BigDecimal

Added: MacRuby/trunk/spec/frozen/tags/macruby/library/bigdecimal/eql_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/bigdecimal/eql_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/bigdecimal/eql_tags.txt	2009-11-16 23:46:21 UTC (rev 3026)
@@ -0,0 +1,2 @@
+fails:BigDecimal#eql? NaN is never equal to any number
+fails:BigDecimal#eql? returns false when compared objects that can not be coerced into BigDecimal

Added: MacRuby/trunk/spec/frozen/tags/macruby/library/bigdecimal/equal_value_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/bigdecimal/equal_value_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/bigdecimal/equal_value_tags.txt	2009-11-16 23:46:21 UTC (rev 3026)
@@ -0,0 +1,2 @@
+fails:BigDecimal#== NaN is never equal to any number
+fails:BigDecimal#== returns false when compared objects that can not be coerced into BigDecimal

Added: MacRuby/trunk/spec/frozen/tags/macruby/library/bigdecimal/gt_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/bigdecimal/gt_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/bigdecimal/gt_tags.txt	2009-11-16 23:46:21 UTC (rev 3026)
@@ -0,0 +1,2 @@
+fails:BigDecimal#> properly handles NaN values
+fails:BigDecimal#> raises an ArgumentError if the argument can't be coerced into a BigDecimal

Added: MacRuby/trunk/spec/frozen/tags/macruby/library/bigdecimal/gte_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/bigdecimal/gte_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/bigdecimal/gte_tags.txt	2009-11-16 23:46:21 UTC (rev 3026)
@@ -0,0 +1,2 @@
+fails:BigDecimal#>= properly handles NaN values
+fails:BigDecimal#>= returns nil if the argument is nil

Added: MacRuby/trunk/spec/frozen/tags/macruby/library/bigdecimal/lt_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/bigdecimal/lt_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/bigdecimal/lt_tags.txt	2009-11-16 23:46:21 UTC (rev 3026)
@@ -0,0 +1,2 @@
+fails:BigDecimal#< properly handles NaN values
+fails:BigDecimal#< raises an ArgumentError if the argument can't be coerced into a BigDecimal

Added: MacRuby/trunk/spec/frozen/tags/macruby/library/bigdecimal/lte_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/bigdecimal/lte_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/bigdecimal/lte_tags.txt	2009-11-16 23:46:21 UTC (rev 3026)
@@ -0,0 +1,2 @@
+fails:BigDecimal#<= properly handles NaN values
+fails:BigDecimal#<= raises an ArgumentError if the argument can't be coerced into a BigDecimal

Added: MacRuby/trunk/spec/frozen/tags/macruby/library/delegate/frozen_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/delegate/frozen_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/delegate/frozen_tags.txt	2009-11-16 23:46:21 UTC (rev 3026)
@@ -0,0 +1,2 @@
+fails:SimpleDelegator when frozen is not writeable
+fails:SimpleDelegator when frozen causes mutative calls to raise RuntimeError

Added: MacRuby/trunk/spec/frozen/tags/macruby/library/delegate/method_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/delegate/method_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/delegate/method_tags.txt	2009-11-16 23:46:21 UTC (rev 3026)
@@ -0,0 +1,3 @@
+fails:SimpleDelegator#method returns a method object for a valid method
+fails:SimpleDelegator#method returns a method that respond_to_missing?
+fails:SimpleDelegator#method raises a NameError if method is no longer valid because object has changed

Added: MacRuby/trunk/spec/frozen/tags/macruby/library/delegate/send_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/delegate/send_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/delegate/send_tags.txt	2009-11-16 23:46:21 UTC (rev 3026)
@@ -0,0 +1,2 @@
+fails:SimpleDelegator.new doesn't forward private method calls
+fails:SimpleDelegator.new forwards private method calls made via send or __send__

Modified: MacRuby/trunk/spec/frozen/tags/macruby/library/mathn/integer/prime_division_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/mathn/integer/prime_division_tags.txt	2009-11-16 23:45:34 UTC (rev 3025)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/mathn/integer/prime_division_tags.txt	2009-11-16 23:46:21 UTC (rev 3026)
@@ -1,2 +1,3 @@
 fails:Integer#prime_division Performs a prime factorization of an integer
 fails:Integer#prime_division raises a ZeroDivisionError when is called on zero
+fails:Integer#prime_division Performs a prime factorization of a negative integer

Added: MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/collect_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/collect_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/collect_tags.txt	2009-11-16 23:46:21 UTC (rev 3026)
@@ -0,0 +1 @@
+fails:Matrix#collect returns an enumerator if no block is given

Added: MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/column_size_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/column_size_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/column_size_tags.txt	2009-11-16 23:46:21 UTC (rev 3026)
@@ -0,0 +1 @@
+fails:Matrix#column_size returns 0 for empty matrices

Added: MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/column_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/column_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/column_tags.txt	2009-11-16 23:46:21 UTC (rev 3026)
@@ -0,0 +1,3 @@
+fails:Matrix#column returns self when called with a block
+fails:Matrix#column returns nil when out of bounds
+fails:Matrix#column never yields when out of bounds

Modified: MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/column_vector_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/column_vector_tags.txt	2009-11-16 23:45:34 UTC (rev 3025)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/column_vector_tags.txt	2009-11-16 23:46:21 UTC (rev 3026)
@@ -1 +1,2 @@
 fails:Matrix.column_vector returns a single column Matrix when called with an Array
+fails:Matrix.column_vector returns an empty Matrix when called with an empty Array

Modified: MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/columns_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/columns_tags.txt	2009-11-16 23:45:34 UTC (rev 3025)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/columns_tags.txt	2009-11-16 23:46:21 UTC (rev 3026)
@@ -1 +1,3 @@
 fails:Matrix.columns creates a Matrix from argument columns
+fails:Matrix.columns accepts Vectors as argument columns
+fails:Matrix.columns handles empty matrices

Added: MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/constructor_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/constructor_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/constructor_tags.txt	2009-11-16 23:46:21 UTC (rev 3026)
@@ -0,0 +1,5 @@
+fails:Matrix.[] requires arrays as parameters
+fails:Matrix.[] creates an empty Matrix with no arguments
+fails:Matrix.[] raises for non-rectangular matrices
+fails:Matrix.[] accepts vector arguments
+fails:Matrix.[] tries to calls :to_ary on arguments

Modified: MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/det_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/det_tags.txt	2009-11-16 23:45:34 UTC (rev 3025)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/det_tags.txt	2009-11-16 23:46:21 UTC (rev 3026)
@@ -1 +1,2 @@
 fails:Matrix#det returns the determinant of a Matrices containing 0 as first entry
+fails:Matrix#det returns 1 for an empty Matrix

Modified: MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/determinant_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/determinant_tags.txt	2009-11-16 23:45:34 UTC (rev 3025)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/determinant_tags.txt	2009-11-16 23:46:21 UTC (rev 3026)
@@ -1 +1,2 @@
 fails:Matrix#determinant returns the determinant of a Matrices containing 0 as first entry
+fails:Matrix#determinant returns 1 for an empty Matrix

Modified: MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/exponent_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/exponent_tags.txt	2009-11-16 23:45:34 UTC (rev 3025)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/exponent_tags.txt	2009-11-16 23:46:21 UTC (rev 3026)
@@ -1 +1,3 @@
 fails:Matrix#** multiples the Matrix by itself _n_ times
+fails:Matrix#** given an integer _n_ multiples the Matrix by itself _n_ times
+fails:Matrix#** given an integer _n_ that is <= 0 returns the inverse of **(-n)

Added: MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/inspect_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/inspect_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/inspect_tags.txt	2009-11-16 23:46:21 UTC (rev 3026)
@@ -0,0 +1 @@
+fails:Matrix#inspect returns 'Matrix.empty(...)' for empty matrices

Added: MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/map_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/map_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/map_tags.txt	2009-11-16 23:46:21 UTC (rev 3026)
@@ -0,0 +1 @@
+fails:Matrix#map returns an enumerator if no block is given

Added: MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/minor_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/minor_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/minor_tags.txt	2009-11-16 23:46:21 UTC (rev 3026)
@@ -0,0 +1,4 @@
+fails:Matrix#minor with start_row, nrows, start_col, ncols returns an empty Matrix unless nrows and ncols are greater than 0
+fails:Matrix#minor with start_row, nrows, start_col, ncols returns nil for out-of-bounds start_row/col
+fails:Matrix#minor with start_row, nrows, start_col, ncols returns nil for negative nrows or ncols
+fails:Matrix#minor with col_range, row_range returns nil if col_range or row_range is out of range

Modified: MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/multiply_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/multiply_tags.txt	2009-11-16 23:45:34 UTC (rev 3025)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/multiply_tags.txt	2009-11-16 23:46:21 UTC (rev 3026)
@@ -1,2 +1,6 @@
 fails:Matrix#* returns the result of multiplying the corresponding elements of self and a Matrix
 fails:Matrix#* returns the result of multiplying the corresponding elements of self and a Vector
+fails:Matrix#* returns a zero matrix if (nx0) * (0xn)
+fails:Matrix#* returns an empty matrix if (0xn) * (nx0)
+fails:Matrix#* returns a mx0 matrix if (mxn) * (nx0)
+fails:Matrix#* returns a 0xm matrix if (0xm) * (mxn)

Added: MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/row_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/row_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/row_tags.txt	2009-11-16 23:46:21 UTC (rev 3026)
@@ -0,0 +1,3 @@
+fails:Matrix#row returns self when called with a block
+fails:Matrix#row returns nil when out of bounds
+fails:Matrix#row never yields when out of bounds

Modified: MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/square_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/square_tags.txt	2009-11-16 23:45:34 UTC (rev 3025)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/square_tags.txt	2009-11-16 23:46:21 UTC (rev 3026)
@@ -1 +1,2 @@
 fails:"Matrix#square? returns false when the Matrix is not square\n    and the first row has the same number of columns as the matrix has rows."
+fails:Matrix#square? returns handles empty matrices

Modified: MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/t_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/t_tags.txt	2009-11-16 23:45:34 UTC (rev 3025)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/t_tags.txt	2009-11-16 23:46:21 UTC (rev 3026)
@@ -1 +1,2 @@
 fails:Matrix#transpose returns a transposed matrix
+fails:Matrix#transpose can transpose empty matrices

Added: MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/tr_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/tr_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/tr_tags.txt	2009-11-16 23:46:21 UTC (rev 3026)
@@ -0,0 +1 @@
+fails:Matrix#tr returns the sum of diagonal elements in a rectangular Matrix

Added: MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/trace_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/trace_tags.txt	                        (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/trace_tags.txt	2009-11-16 23:46:21 UTC (rev 3026)
@@ -0,0 +1 @@
+fails:Matrix#trace returns the sum of diagonal elements in a rectangular Matrix

Modified: MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/transpose_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/transpose_tags.txt	2009-11-16 23:45:34 UTC (rev 3025)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/matrix/transpose_tags.txt	2009-11-16 23:46:21 UTC (rev 3026)
@@ -1 +1,2 @@
 fails:Matrix#transpose returns a transposed matrix
+fails:Matrix#transpose can transpose empty matrices
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20091116/4f3910e7/attachment-0001.html>


More information about the macruby-changes mailing list