diff options
author | Stuart Halloway <stu@thinkrelevance.com> | 2009-06-25 22:19:00 -0400 |
---|---|---|
committer | Stuart Halloway <stu@thinkrelevance.com> | 2009-06-25 22:19:00 -0400 |
commit | 82cf0409d0fcb71be477ebfc4da18ee2128a2ad1 (patch) | |
tree | d150d6e182e693bffb735604c473b7f7dc051fed /src/clojure/contrib/test_clojure/other_functions.clj | |
parent | f9b111c67752220c9d45a7d6ef22c6eecf400c87 (diff) | |
parent | 4f2c7bb5cf6828eb710fd18b603828ab295d0fa5 (diff) |
Merge commit 'stuart/gtic'
Diffstat (limited to 'src/clojure/contrib/test_clojure/other_functions.clj')
-rw-r--r-- | src/clojure/contrib/test_clojure/other_functions.clj | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/src/clojure/contrib/test_clojure/other_functions.clj b/src/clojure/contrib/test_clojure/other_functions.clj deleted file mode 100644 index 3138fbd9..00000000 --- a/src/clojure/contrib/test_clojure/other_functions.clj +++ /dev/null @@ -1,57 +0,0 @@ -;; Copyright (c) Frantisek Sodomka. All rights reserved. The use and -;; distribution terms for this software are covered by the Eclipse Public -;; License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) which can -;; be found in the file epl-v10.html at the root of this distribution. By -;; using this software in any fashion, you are agreeing to be bound by the -;; terms of this license. You must not remove this notice, or any other, -;; from this software. - -(ns clojure.contrib.test-clojure.other-functions - (:use clojure.contrib.test-is)) - -; http://clojure.org/other_functions - -; [= not= (tests in data_structures.clj and elsewhere)] - - -(deftest test-identity - ; exactly 1 argument needed - (is (thrown? IllegalArgumentException (identity))) - (is (thrown? IllegalArgumentException (identity 1 2))) - - (are (= (identity _) _) - nil - false true - 0 42 - 0.0 3.14 - 2/3 - 0M 1M - \c - "" "abc" - 'sym - :kw - () '(1 2) - [] [1 2] - {} {:a 1 :b 2} - #{} #{1 2} ) - - ; evaluation - (are (= (identity _1) _2) - (+ 1 2) 3 - (> 5 0) true )) - - -; time assert comment doc - -; partial -; comp -; complement -; constantly - -; Printing -; pr prn print println newline -; pr-str prn-str print-str println-str [with-out-str (vars.clj)] - -; Regex Support -; re-matcher re-find re-matches re-groups re-seq - |