(ns transit.corner-cases)

(def forms
  [nil
   true
   false
   :a
   :foo
   'f
   'foo
   (java.util.Date.)
   1/3
   \t
   "f"
   "foo"
   "~foo"
   []
   '()
   #{}
   [1 24 3]
   `(7 23 5)
   {:foo :bar}
   #{:a :b :c}
   #{true false}
   0
   42
   8987676543234565432178765987645654323456554331234566789
   {false nil}
   {true nil}
   {false nil true nil}
   {"a" false}
   {"a" true}
   [\"]
   {\[ 1}
   {1 \[}
   {\] 1}
   {1 \]}
   [\{ 1]
   [\[]
   {\{ 1}
   {1 \{}
   ])

(def transit-json
  ["{\"~#point\":[1,2]}"
   "{\"foo\":\"~xfoo\"}"
   "{\"~/t\":null}"
   "{\"~/f\":null}"
   ])

(ns transit.corner-cases)

(def forms
  [nil
   true
   false
   :a
   :foo
   'f
   'foo
   (java.util.Date.)
   1/3
   \t
   "f"
   "foo"
   "~foo"
   []
   '()
   #{}
   [1 24 3]
   `(7 23 5)
   {:foo :bar}
   #{:a :b :c}
   #{true false}
   0
   42
   8987676543234565432178765987645654323456554331234566789
   {false nil}
   {true nil}
   {false nil true nil}
   {"a" false}
   {"a" true}
   [\"]
   {\[ 1}
   {1 \[}
   {\] 1}
   {1 \]}
   [\{ 1]
   [\[]
   {\{ 1}
   {1 \{}
   [\` \~ \^ \#]
   ])

(def transit-json
  ["{\"~#point\":[1,2]}"
   "{\"foo\":\"~xfoo\"}"
   "{\"~/t\":null}"
   "{\"~/f\":null}"
   ])

Add corner case found in generative tests
Add corner case found in generative tests

alexanderkiel/transit-clj,borovsky/transit-clj,jdunruh/transit-clj,cognitect/transit-clj