Tommy Parnell
65a145c13c
hashes, and strings
2018-06-01 02:03:52 +00:00
Tommy Parnell
fcec2c02ab
hashes
2018-06-01 01:28:32 +00:00
Tommy Parnell
b1893f6d68
add koans dir
2018-06-01 01:17:07 +00:00
Jim Weirich
2ddd929473
Remove koans directory from source control.
...
Patches were submitted against the koans directory rather than the
src directory. This lead to potential problems when we regenerate the
koans directory from scratch, leading to the very real possibility
that changes could be lost.
Please make all changes to the src directory and use "rake gen" (or
"rake regen") to generate the koans directory as needed.
2011-12-04 02:47:24 -05:00
Matt Darby
e2c4cb6c07
Merge pull request #52 from dandorman/hash_fetch_koan
...
Add koan addressing Hash#fetch.
2011-10-07 12:58:45 -07:00
Dan Dorman
6acc65ac92
Add koans addressing passing a block to Hash#initialize.
2011-09-08 09:48:41 -06:00
Dan Dorman
7c34268f84
Add koan addressing Hash#fetch.
2011-09-08 09:46:02 -06:00
Potapov Sergey
caceba4d23
Added test for Hash default value. Developers often forget about using it.
2011-02-08 00:50:39 +02:00
Jim Weirich
b41d6167b4
Updated koans from src.
2010-09-28 14:17:46 -04:00
Jim Weirich
8ef93f1d3a
UPdated koans to match latest source.
2010-08-16 15:06:12 -04:00
Jim Weirich
6052c776bc
Use .values rather than .keys in values test ( http://www.pivotaltracker.com/story/show/2177802 )
2010-01-14 14:31:30 -05:00
Jim Weirich
f05d9ee1ac
Merged src directory with existing koans.
2009-12-21 16:17:32 -05:00
Marc Peabody
17ac70bd4d
hash keys and values must assert against sorted arrays - thanks gregmalcolm
2009-10-08 10:16:57 -04:00
unknown
d8d1d4cc64
Provided an alternative test_hash_keys_and_values function.
...
Asserts on hash.keys or hash.values can not be relied on as the order is random (I had an expected values of [:two, :one] when I got to that test).
2009-03-17 21:38:05 -04:00
Joe O'Brien
7d59878eaa
moving files around a bit
2009-01-26 12:11:46 -05:00