SQLxD Part 10 — WHERE and tests

This is the tenth part of the SQLxD series. For your convenience you can find other parts in the table of contents in Part 1 – XML Transformation

Today we are going to test our code. First, we need to have some mocks:

We start with tests for WHERE clause:

And now tests for simple predicates:

Now tests for logic operators:

And finally tests for LIKE operator:

That’s all.