summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2010-04-28Merge branch 'master' into seqfnsseqfnsRich Hickey
2010-04-28turn off annotations test for nowRich Hickey
2010-04-28added flatten, group-by, partition-by, frequencies, reductions, rand-nth, ↵Rich Hickey
seq-contains?, partition-all, shuffle no-arg range is infinite 0,1,2,3... opts for vector
2010-04-27Add containsKey and entryAt support to Vec, plus tests. Fixes #314.Daniel Solano Gómez
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-04-27Add Comparable support to Vec, with tests. Fixes #266.Daniel Solano Gómez
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-04-27tests for annotationsStuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-04-24munge package names in definterface, #306Stuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-04-24re-import changed deftype, see #303Stuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-04-24java.util.Map for defrecord, #313Stuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-04-24make defrecord .cons work, #231Stuart Halloway
- based on original patch from Allen Rohner - altered to handle nil correctly - added test cases Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-04-22reversible support for Vec #267Stuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-04-21IPersistentCollection methods for VecSeq (see #297)Stuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-04-21tests for case (#296)Stuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-04-20tests for #299Stuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-04-20munge genclass field names to keep Java side happy, see #104Stuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-04-20Use bigint division when converting ratios to longs.Alex Osborne
BigDecimal division is not precise enough for some large ratios yielding incorrect results: (long 10000000000000000000/3) => 3333333333333332992 Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-04-20Don't truncate large ratios when converting to bigint. Fixes #290.Alex Osborne
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-04-16InternalReduceStuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-04-16updating tests to match deftype/defrecord split - only defrecord does ↵Stuart Halloway
hashCode/equals for you - direct implementers now included in extends? - types less dynamic, using per-test-named-types instead of reloading Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-04-16deftype factories and object methodsStuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-04-16re-extendingStuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-04-16tests for extenders and satisifies?Stuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-04-16test plus hack to reload a protocolStuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-04-16more protocol testsStuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-04-16added build step to compile things for test purposes, initial testsStuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-04-16test for assembla #262Stuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-04-16test for assembla #275Stuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-04-05catch duplicate set keys for literals and hash-set calls.Rich Hickey
2010-03-11numerator and denominator fns for Ratios, refs #255Kevin Downey
Signed-off-by: Rich Hickey <richhickey@gmail.com>
2010-03-11check load arguments and options are valid #253Timothy Pratley
Signed-off-by: Rich Hickey <richhickey@gmail.com>
2010-03-11fixed set/rename tests for rename patchRich Hickey
2010-01-27adding more tests for set Fixes #220devender
Signed-off-by: Chouser <chouser@n01se.net>
2010-01-19metadata for fnsRich Hickey
2010-01-13Add agent error handlers and error modes :fail and :continue. Fixes #30Chouser
2009-12-23Added test-empty-sorted to test_clojure/sequences.clj Refs #128Sean
Signed-off-by: Rich Hickey <richhickey@gmail.com>
2009-12-23Added sorted tests to test-empty in test_clojure/sequences.clj Refs #128Sean
Signed-off-by: Rich Hickey <richhickey@gmail.com>
2009-12-03Remove deprecated ^ reader macro from tests; fixes #215Stuart Sierra
Signed-off-by: Chouser <chouser@n01se.net>
2009-11-25fixed sorted-set-by with no items, and added test coverageTimothy Pratley
Signed-off-by: Timothy Pratley <timothypratley@gmail.com> Signed-off-by: Rich Hickey <richhickey@gmail.com>
2009-11-24Fixed broken test-embedded-constants. Fixes #164tpratley
Signed-off-by: Chouser <chouser@n01se.net>
2009-11-24#209 Unifying array support for primativesTimothy Pratley
Signed-off-by: Rich Hickey <richhickey@gmail.com>
2009-11-24#209 Unifying array support for primativesunknown
Signed-off-by: Rich Hickey <richhickey@gmail.com>
2009-10-28Add test for metadata-carrying deftest. Refs #201Phil Hagelberg
Signed-off-by: Chouser <chouser@n01se.net>
2009-10-28Don't repeatedly compose on calls to use-fixtures. Fixes #194.Phil Hagelberg
Updated tests and added a docstring to use-fixtures. Signed-off-by: Chouser <chouser@n01se.net>
2009-10-01shorter, stronger embedded-constants tests. fixes #164tpratley
Signed-off-by: Chouser <chouser@n01se.net>
2009-09-28added tests, fixes #164tpratley
Signed-off-by: Chouser <chouser@n01se.net>
2009-09-28fix #167, tests for sequences, control, and numbersMike Hinchey
Signed-off-by: Chouser <chouser@n01se.net>
2009-09-07fixed NPE when creating an empty array of ints, longs, floats or doubles, ↵Frantisek Sodomka
fixes #146 Signed-off-by: Chouser <chouser@n01se.net>
2009-08-24Add support for chunked seqs to 'for'. Refs #1Chouser
2009-08-19fix #168, ant targets should fail on error, also test print report correctlyMike Hinchey
Signed-off-by: Chouser <chouser@n01se.net>
2009-08-19updated remaining tests, closes #158Frantisek Sodomka
Signed-off-by: Chouser <chouser@n01se.net>