<commit_before>(ns little-clojurer.chapter3_test
  (:require [clojure.test :refer :all]
            [little-clojurer.chapter3 :refer :all]))

(deftest rember-test
  (testing
    (is (= '(1 3 4) (rember 2 '(1 2 3 4))))
    (is (= '(1 2 3 4) (rember 5 '(1 2 3 4))))
    (is (= '() (rember 5 '())))
    (is (= '() (rember :a '())))
    (is (= '(2 1 3 4 1) (rember 1 '(1 2 1 3 4 1))))))


(deftest firsts
  (testing))


(deftest insertR
  (testing))


(deftest insertL
  (testing))


(deftest subst
  (testing))


(deftest subst2
  (testing))


(deftest multirember
  (testing))


(deftest multiinsertR
  (testing))


(deftest multiinsertL
  (testing))


(deftest multisubst
  (testing))<commit_msg>Tests for firsts.<commit_after>(ns little-clojurer.chapter3_test
  (:require [clojure.test :refer :all]
            [little-clojurer.chapter3 :refer :all]))

(deftest rember-test
  (testing
    (is (= '(1 3 4) (rember 2 '(1 2 3 4))))
    (is (= '(1 2 3 4) (rember 5 '(1 2 3 4))))
    (is (= '() (rember 5 '())))
    (is (= '() (rember :a '())))
    (is (= '(2 1 3 4 1) (rember 1 '(1 2 1 3 4 1))))))


(deftest firsts-test
  (testing
    (is (= '(1 2 3 4) (firsts '((1 2) (2 3) (3 4) (4 5)))))
    (is (= '() (firsts '())))
    (is (= '(()) (firsts '((())))))))


(deftest insertR-test
  (testing
    (is true)))


(deftest insertL-test
  (testing
    (is true)))


(deftest subst-test
  (testing
    (is true)))


(deftest subst2-test
  (testing
    (is true)))


(deftest multirember-test
  (testing
    (is true)))


(deftest multiinsertR-test
  (testing
    (is true)))


(deftest multiinsertL-test
  (testing
    (is true)))


(deftest multisubst-test
  (testing
    (is true)))
{'fraction_non_alphanumeric': 0.1997614788312463, 'fraction_numerical': 0.046511627906976744, 'mean_word_length': 2.884259259259259, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2542601', 'n_tokens_mistral': 789, 'n_tokens_neox': 702, 'n_words': 195}