he ratio has the numerator given
(matcha/run-match (matcha/has-numerator 1) 1/10) ; =&gt; passes
(matcha/run-match (matcha/has-numerator 2) 1/10) ; =&gt; fails</pre></div></div><div class="public anchor" id="var-has-val"><h3>has-val</h3><div class="usage"><code>(has-val v)</code></div><div class="doc"><pre class="plaintext">passes if the map received contains the given val

(matcha/run-match (matcha/has-val 1) {:a 1}) ; =&gt; passes
(matcha/run-match (matcha/has-val 1) {:a 2}) ; =&gt; fails</pre></div></div