FreeMarker: Boolean Values Test

A simple test follows:

Hello, world!

Now perform scalar boolean tests:

b is true.

This makes sense.

boolean3 succeeded.

boolean4 succeeded.

boolean4 || boolean5 succeeded.

boolean5 || boolean4 || boolean5 succeeded.

boolean4 && boolean5 failed.

Now test list models:

list1 succeeded.

list2 succeeded.

Test hash models:

hash1 succeeded: Hello, world.

hash2 succeeded.

Test not operator:

Not boolean1 succeeded

Not boolean1 succeeded

Not boolean2 failed

Not boolean2 failed

Message is "Hello, world!"

Message is "Hello, world!"