The Assert functions determine whether a test passes or fails the expected condition. The number of asserts inside a test is unrestricted. If one assert fails, the remaining asserts are not evaluated anymore.
Example:
{Test(value1 := 1, value2:= 2, exp := 3)}
FUNCTION PUBLIC AddingTwoNumbersReturnsTheSum
VAR_INPUT
value1 : INT;
value2 : INT;
exp : INT;
END_VAR
VAR_TEMP
result : INT;
END_VAR
result := value1 + value2;
AxUnit.Assert.Equal(result, exp);
END_FUNCTION