Zoomed Image

AMSX Scripting Language - Command : valuetest

Summary

Assert that two values are equal, throwing an error if they differ

Description

Compares the two evaluated tokens. If both are numeric the comparison is decimal; otherwise it is a string comparison. Logs success if they match; throws an exception with the mismatched values if they do not. Used in automated testing scripts.

Parameters

This command does not require parameters.

Syntax


ValueTest

Return to the AMSX Command Reference