Sha256: c76059700738a9a17b9c0fc40ab77d2c88fb9fcba30c59da5ee861a5f5b9d5b5

Contents?: true

Size: 338 Bytes

Versions: 2

Compression:

Stored size: 338 Bytes

Contents

(ns cljs.import-test
  (:import goog.math.Long
           cljs.import-test.foo.Bar
           cljs.import-test.foo.Quux))

(defn test-import []
  (assert (fn? Long))
  (assert (.equals (Long. 4 6) (.add (Long. 1 2) (Long. 3 4))))
  (assert (= "12" (Long/fromInt 12)))
  (assert (= 12 (.-x (Bar. 12))))
  (assert (= 12 (.-x (Quux. 12)))))

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
clementine-0.0.3 ext/clojure-clojurescript-bef56a7/test/cljs/cljs/import_test.cljs
clementine-0.0.2 ext/clojure-clojurescript-bef56a7/test/cljs/cljs/import_test.cljs