title: Is there a strategy to test macros in Clojure?
body: <p>I would generally make functions and would write unit tests for them.
  but for macros that  do code transformations, how will one apply logic of macthing expected and actual value ?</p>
  
  <p>because input to macros will be code and output will be code as well. this seems so dynamic to me to be able to come up with some strategy to test.</p>
  
  <p>Or I can use a sample input for macro, and pass the expression to macroexpand-1 and match the output with the expected one ?</p>