19 lines
1.3 KiB
Plaintext
19 lines
1.3 KiB
Plaintext
Testing helpers:{~n}
|
|
str is {str}{~n}
|
|
int is {int}{~n}
|
|
alpha is {alpha}{~n}
|
|
beta is {beta}{~n}
|
|
{@ne key=str value="master"}str does not equal "master"{:else}str is equal to "master"{/ne}{~n}
|
|
{@ne key=str value="7"}str does not equal "7"{:else}str is equal to "7"{/ne}{~n}
|
|
{@ne key=int value="7"}int does not equal "7"{:else}int is equal to "7"{/ne}{~n}
|
|
{@ne key=int value=7}int does not equal 7{:else}int is equal to 7{/ne}{~n}
|
|
{@ne key=alpha value=beta}alpha does not equal beta{:else}alpha is equal to beta{/ne}{~n}
|
|
{@ne value=beta}missing key is true{:else}missing key is false{/ne}{~n}
|
|
{@ne value=gamma}missing key and non-existent value is true{:else}missing key and non-existent value is false{/ne}{~n}
|
|
{@ne key=alpha}missing value is true{:else}missing value is false{/ne}{~n}
|
|
{@ne key=gamma}missing value and non-existent key is true{:else}missing value and non-existent key is false{/ne}{~n}
|
|
{@ne key="master" value="master"}"master" does not equal "master"{:else}"master" is equal to "master"{/ne}{~n}
|
|
{@ne key=null}null does not equal a missing value{:else}null equals a missing value{/ne}{~n}
|
|
{@ne key=null value=gamma}null does not equal non-existent value{:else}null equals a non-existent value{/ne}{~n}
|
|
{@ne}no parameters is true{:else}no parameters is false{/ne}{~n}
|