           fns (gen/all-symbol-api-functions gen/op-names)
           _ (gen/write-to-file [(first fns) (second fns)]
                                (gen/symbol-api-gen-ns false)
-                               fname)
-          good-contents (slurp "test/good-test-symbol-api.clj")
-          contents (slurp fname)]
-      (is (= good-contents contents))))
+                               fname)]
+      (is (= "activation"
+             (file-function-name "test/good-test-symbol-api.clj")
+             (file-function-name fname)))))
 
   (testing "symbol-random-api"
     (let [fname "test/test-symbol-random-api.clj"
           fns (gen/all-symbol-random-api-functions gen/op-names)
           _ (gen/write-to-file [(first fns) (second fns)]
                                (gen/symbol-api-gen-ns true)
-                               fname)
-          good-contents (slurp "test/good-test-symbol-random-api.clj")
-          contents (slurp fname)]
-      (is (= good-contents contents))))
+                               fname)]
+      (is (= "exponential"
+             (file-function-name "test/good-test-symbol-random-api.clj")
+             (file-function-name fname)))))
 
 
  (testing "symbol"


(ns dev.generator-test
  (:require [clojure.test :refer :all]
            [dev.generator :as gen]))

(deftest test-clojure-case
  (is (= "foo-bar" (gen/clojure-case "FooBar")))

          fns (gen/all-ndarray-api-functions gen/op-names)
          _ (gen/write-to-file [(first fns) (second fns)]
                               (gen/ndarray-api-gen-ns false)
                               fname)]
      (is (= "activation"
             (file-function-name "test/good-test-ndarray-api.clj")
             (file-function-name fname)))))

  (testing "ndarray-random-api"
    (let [fname "test/test-ndarray-random-api.clj"
          fns (gen/all-ndarray-random-api-functions gen/op-names)
          _ (gen/write-to-file [(first fns) (second fns)]
                               (gen/ndarray-api-gen-ns true)
                               fname)]
      (is (= "exponential"
             (file-function-name "test/good-test-ndarray-random-api.clj")
             (file-function-name fname)))))

  (testing "ndarray"
    (let [fname "test/test-ndarray.clj"
