We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 130be2a + a0f4402 commit 41f33c9Copy full SHA for 41f33c9
test/malli/generator_test.cljc
@@ -1045,13 +1045,16 @@
1045
(deftest map-of-min-max-test
1046
(is (empty? (remove #(<= 2 (count %))
1047
(mg/sample [:map-of {:min 2} [:enum 1 2 3] :any]
1048
- {:size 100}))))
+ {:size 100
1049
+ :seed 3}))))
1050
(is (empty? (remove #(<= (count %) 2)
1051
(mg/sample [:map-of {:max 2} [:enum 1 2 3] :any]
1052
1053
1054
(is (empty? (remove #(<= 2 (count %) 3)
1055
(mg/sample [:map-of {:min 2 :max 3} [:enum 1 2 3] :any]
- {:size 100})))))
1056
1057
+ :seed 3})))))
1058
1059
(deftest such-that-generator-failure-test
1060
(is (thrown-with-msg?
0 commit comments