diff --git a/src/battle_asserts/issues/supremum_syracuse.clj b/src/battle_asserts/issues/supremum_syracuse.clj index 3a5a26f2..820440fd 100644 --- a/src/battle_asserts/issues/supremum_syracuse.clj +++ b/src/battle_asserts/issues/supremum_syracuse.clj @@ -17,11 +17,11 @@ (gen/tuple (gen/choose 1 100))) (def test-data - [{:expected 8 + [{:expected 16 :arguments [6]} - {:expected 26 + {:expected 52 :arguments [11]} - {:expected 4616 + {:expected 9232 :arguments [27]}]) (defn solution [num] @@ -31,6 +31,6 @@ [num] (concat [num] (if (odd? num) - (gen-seq (quot (inc (* 3 num)) 2)) + (gen-seq (inc (* 3 num))) (gen-seq (quot num 2))))))] (apply max (gen-seq num))))