[3521] MacRuby/trunk/spec/frozen/tags/macruby/core/random
Revision: 3521 http://trac.macosforge.org/projects/ruby/changeset/3521 Author: lsansonetti@apple.com Date: 2010-02-12 22:26:40 -0800 (Fri, 12 Feb 2010) Log Message: ----------- untag specs that now pass Modified Paths: -------------- MacRuby/trunk/spec/frozen/tags/macruby/core/random/bytes_tags.txt MacRuby/trunk/spec/frozen/tags/macruby/core/random/rand_tags.txt Removed Paths: ------------- MacRuby/trunk/spec/frozen/tags/macruby/core/random/equal_value_tags.txt MacRuby/trunk/spec/frozen/tags/macruby/core/random/float_tags.txt MacRuby/trunk/spec/frozen/tags/macruby/core/random/int_tags.txt MacRuby/trunk/spec/frozen/tags/macruby/core/random/new_seed_tags.txt MacRuby/trunk/spec/frozen/tags/macruby/core/random/new_tags.txt MacRuby/trunk/spec/frozen/tags/macruby/core/random/seed_tags.txt MacRuby/trunk/spec/frozen/tags/macruby/core/random/srand_tags.txt Modified: MacRuby/trunk/spec/frozen/tags/macruby/core/random/bytes_tags.txt =================================================================== --- MacRuby/trunk/spec/frozen/tags/macruby/core/random/bytes_tags.txt 2010-02-13 06:26:25 UTC (rev 3520) +++ MacRuby/trunk/spec/frozen/tags/macruby/core/random/bytes_tags.txt 2010-02-13 06:26:40 UTC (rev 3521) @@ -1,5 +1 @@ fails:Random#bytes returns a String -fails:Random#bytes returns a String of the length given as argument -fails:Random#bytes returns an ASCII-8BIT String -fails:Random#bytes returns the same output for a given seed -fails:Random#bytes returns a random binary String Deleted: MacRuby/trunk/spec/frozen/tags/macruby/core/random/equal_value_tags.txt =================================================================== --- MacRuby/trunk/spec/frozen/tags/macruby/core/random/equal_value_tags.txt 2010-02-13 06:26:25 UTC (rev 3520) +++ MacRuby/trunk/spec/frozen/tags/macruby/core/random/equal_value_tags.txt 2010-02-13 06:26:40 UTC (rev 3521) @@ -1,5 +0,0 @@ -fails:Random#== returns true if the two objects have the same state -fails:Random#== returns false if the two objects have different state -fails:Random#== returns true if the two objects have the same seed -fails:Random#== returns false if the two objects have a different seed -fails:Random#== returns false if the other object is not a Random Deleted: MacRuby/trunk/spec/frozen/tags/macruby/core/random/float_tags.txt =================================================================== --- MacRuby/trunk/spec/frozen/tags/macruby/core/random/float_tags.txt 2010-02-13 06:26:25 UTC (rev 3520) +++ MacRuby/trunk/spec/frozen/tags/macruby/core/random/float_tags.txt 2010-02-13 06:26:40 UTC (rev 3521) @@ -1,10 +0,0 @@ -fails:Random#float returns a Float object -fails:Random#float returns a number greater than or equal to 0.0 -fails:Random#float returns a number less than 1.0 by default -fails:Random#float returns a different number on each call -fails:Random#float returns the same sequence of values for a given seed -fails:Random#float only returns numbers less than the given argument -fails:Random#float raises Errno::EDOM for an argument of Infinity -fails:Random#float raises Errno::EDOM for an argument of NaN -fails:Random#float raises a RangeError for a Complex (with imaginary part) argument -fails:Random#float raises a TypeError for a non-Floatish argument Deleted: MacRuby/trunk/spec/frozen/tags/macruby/core/random/int_tags.txt =================================================================== --- MacRuby/trunk/spec/frozen/tags/macruby/core/random/int_tags.txt 2010-02-13 06:26:25 UTC (rev 3520) +++ MacRuby/trunk/spec/frozen/tags/macruby/core/random/int_tags.txt 2010-02-13 06:26:40 UTC (rev 3521) @@ -1,13 +0,0 @@ -fails:Random#int coerces the argument with #to_int -fails:Random#int returns an Integer -fails:Random#int returns an number >= 0 -fails:Random#int returns a number < the argument -fails:Random#int returns a random number on each call that satisfies the given inequalities -fails:Random#int returns the same sequence of numbers for a given seed -fails:Random#int returns an integer from the inclusive Integer range if one is given -fails:Random#int returns an integer from the exclusive Integer range if one is given -fails:Random#int raises a TypeError if a String range is given -fails:Random#int returns an ArgumentError when the argument is 1 -fails:Random#int returns an ArgumentError when the argument is 0 -fails:Random#int returns an ArgumentError when the argument is negative -fails:Random#int converts each endpoint of the supplied Range to Integers Deleted: MacRuby/trunk/spec/frozen/tags/macruby/core/random/new_seed_tags.txt =================================================================== --- MacRuby/trunk/spec/frozen/tags/macruby/core/random/new_seed_tags.txt 2010-02-13 06:26:25 UTC (rev 3520) +++ MacRuby/trunk/spec/frozen/tags/macruby/core/random/new_seed_tags.txt 2010-02-13 06:26:40 UTC (rev 3521) @@ -1,4 +0,0 @@ -fails:Random.new_seed returns a Bignum -fails:Random.new_seed returns an arbitrary seed value each time -fails:Random.new_seed returns a number less than 40 digits long -fails:Random.new_seed is not affected by Kernel#srand Deleted: MacRuby/trunk/spec/frozen/tags/macruby/core/random/new_tags.txt =================================================================== --- MacRuby/trunk/spec/frozen/tags/macruby/core/random/new_tags.txt 2010-02-13 06:26:25 UTC (rev 3520) +++ MacRuby/trunk/spec/frozen/tags/macruby/core/random/new_tags.txt 2010-02-13 06:26:40 UTC (rev 3521) @@ -1,7 +0,0 @@ -fails:Random.new returns a new instance of Random -fails:Random.new uses a random seed value if none is supplied -fails:Random.new accepts an Integer seed value as an argument -fails:Random.new accepts (and truncates) a Float seed value as an argument -fails:Random.new accepts (and converts to Integer) a Rational seed value as an argument -fails:Random.new accepts (and converts to Integer) a Complex (w/ imaginary part) seed value as an argument -fails:Random.new raises a RangeError if passed a Complex (with imaginary part) seed value as an argument Modified: MacRuby/trunk/spec/frozen/tags/macruby/core/random/rand_tags.txt =================================================================== --- MacRuby/trunk/spec/frozen/tags/macruby/core/random/rand_tags.txt 2010-02-13 06:26:25 UTC (rev 3520) +++ MacRuby/trunk/spec/frozen/tags/macruby/core/random/rand_tags.txt 2010-02-13 06:26:40 UTC (rev 3521) @@ -1,33 +1 @@ -fails:Random.rand returns a Float if no max argument is passed -fails:Random.rand returns a Float >= 0 if no max argument is passed -fails:Random.rand returns a Float < 1 if no max argument is passed -fails:Random.rand returns the same sequence for a given seed if no max argument is passed -fails:Random.rand returns a Integer if an Integer argument is passed -fails:Random.rand returns an Integer >= 0 if an Integer argument is passed -fails:Random.rand returns an Integer < the max argument if an Integer argument is passed -fails:Random.rand returns the same sequence for a given seed if an Integer argument is passed -fails:Random.rand coerces arguments to Integers with #to_int -fails:Random#rand with Fixnum returns an Integer -fails:Random#rand with Fixnum returns a Fixnum greater than or equal to 0 -fails:Random#rand with Fixnum returns a Fixnum less than the argument -fails:Random#rand with Fixnum returns the same sequence for a given seed -fails:Random#rand with Fixnum raises an ArgumentError when the argument is 0 -fails:Random#rand with Fixnum raises an ArgumentError when the argument is negative fails:Random#rand with Bignum returns a Bignum -fails:Random#rand with Bignum returns a Bignum greater than or equal to 0 -fails:Random#rand with Bignum returns a Bignum less than the argument -fails:Random#rand with Bignum returns the same sequence for a given seed -fails:Random#rand with Bignum raises an ArgumentError when the argument is negative -fails:Random#rand with Float returns a Float -fails:Random#rand with Float returns a Float greater than or equal to 0.0 -fails:Random#rand with Float returns a Float less than the argument -fails:Random#rand with Float returns the same sequence for a given seed -fails:Random#rand with Float raises an ArgumentError when the argument is negative -fails:Random#rand with Range returns an element from the Range -fails:Random#rand with Range returns an object that is a member of the Range -fails:Random#rand with Range works with inclusive ranges -fails:Random#rand with Range works with exclusive ranges -fails:Random#rand with Range returns the same sequence for a given seed -fails:Random#rand with Range allows the startpoint to be an object of a different class to the endpoint -fails:Random#rand with Range raises an ArgumentError when the startpoint lacks #+ and #- methods -fails:Random#rand with Range raises an ArgumentError when the endpoint lacks #+ and #- methods Deleted: MacRuby/trunk/spec/frozen/tags/macruby/core/random/seed_tags.txt =================================================================== --- MacRuby/trunk/spec/frozen/tags/macruby/core/random/seed_tags.txt 2010-02-13 06:26:25 UTC (rev 3520) +++ MacRuby/trunk/spec/frozen/tags/macruby/core/random/seed_tags.txt 2010-02-13 06:26:40 UTC (rev 3521) @@ -1,5 +0,0 @@ -fails:Random#seed returns an Integer -fails:Random#seed returns an arbitrary seed if the constructor was called without arguments -fails:Random#seed returns the same generated seed when repeatedly called on the same object -fails:Random#seed returns the seed given in the constructor -fails:Random#seed returns the given seed coerced with #to_int Deleted: MacRuby/trunk/spec/frozen/tags/macruby/core/random/srand_tags.txt =================================================================== --- MacRuby/trunk/spec/frozen/tags/macruby/core/random/srand_tags.txt 2010-02-13 06:26:25 UTC (rev 3520) +++ MacRuby/trunk/spec/frozen/tags/macruby/core/random/srand_tags.txt 2010-02-13 06:26:40 UTC (rev 3521) @@ -1,6 +0,0 @@ -fails:Random.srand returns an arbitrary seed if .srand wasn't called previously with an argument and no argument is supplied this time -fails:Random.srand returns the previous argument to .srand if one was given and no argument is supplied -fails:Random.srand returns an arbitrary seed if .srand wasn't called previously with an argument and 0 is supplied this time -fails:Random.srand returns the previous argument to .srand if one was given and 0 is supplied -fails:Random.srand seeds Random.rand such that its return value is deterministic -fails:Random.srand seeds Kernel.rand such that its return value is deterministic
participants (1)
-
source_changes@macosforge.org