test_rewrite_depth_first (TestSexpProcessor)

    # File test/test_sexp_processor.rb, line 209
      def test_rewrite_depth_first
        inn = s(:specific,
                s(:rewritable,
                  s(:a),
                  s(:rewritable,
                    s(:rewritable, s(:b), s(:c)),
                    s(:d))))
        out = s(:specific,
                s(:rewritable,
                  s(:rewritable,
                    s(:d),
                    s(:rewritable, s(:c), s(:b))),
                  s(:a)))

        assert_equal(out, @processor.rewrite(inn))
      end