FreeMarker: Numeric Operations Test

A simple test follows:

Hello, world!

Start with the increment operator:

a1 = 0

a1 = 1

a1 = 2

Now the decrement operator:

a2 = 5

a2 = 4

a2 = 3

a2 = 2

a2 = 1

a2 = 0

a2 = -1

Now the add operator:

op1 = 5, op2 = 3, op3 = 8

op3 = 11

And the subtract operator:

op1 = 5, op2 = 3, op3 = 2

op3 = -1

The comparison operators:

Item is: 0

Item is less than five.

Item is less than or equals to seven.

Item is: 1

Item is less than five.

Item is less than or equals to seven.

Item is: 2

Item is less than five.

Item is less than or equals to seven.

Item is: 3

Item is less than five.

Item is less than or equals to seven.

Item is greater than two.

Item is: 4

Item is less than five.

Item is less than or equals to seven.

Item is greater than two.

Item is: 5

Item is less than or equals to seven.

Item is greater than two.

Item is: 6

Item is less than or equals to seven.

Item is greater than two.

Item is: 7

Item is less than or equals to seven.

Item is greater than two.

Item is: 8

Item is greater than two.

Item is: 9

Item is greater than two.

Item is: 10

Item is greater than two.

Item is greater than or equal to ten.

Item is: 11

Item is greater than two.

Item is greater than or equal to ten.

Item is: 12

Item is greater than two.

Item is greater than or equal to ten.