• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#*
2
3@test equality.vm
4
5This template is used for Velocity regression testing.
6If you alter this template make sure you change the
7corresponding comparison file so that the regression
8test doesn't fail incorrectly.
9
10*#
11
12#set($user = "jason")
13#set($login = false)
14#set($count = 5)
15
16#if ($user == "jason")
17    the user $user is logged in!
18#end
19
20
21#if ($count == 5)
22    the count is 5!
23#end
24
25#if ($login == false)
26    the user isn't logged in.
27#end
28
29#if ($count != 3)
30    \$count is not equal to 3
31#end
32