Asserts examples
January 14, 2024 ยท View on GitHub
- assert shows how to use xtd::tunit::assert class.
- assert_abort shows how to use xtd::tunit::assert::abort method.
- assert_are_equal shows how to use xtd::tunit::assert::are_equal method.
- assert_are_equal_with_tolerance shows how to use xtd::tunit::assert::are_equal_with_tolerance method.
- assert_are_not_equal shows how to use xtd::tunit::assert::are_not_equal method.
- assert_are_not_same shows how to use xtd::tunit::assert::are_not_same method.
- assert_are_same shows how to use xtd::tunit::assert::are_same method.
- assert_contains shows how to use xtd::tunit::assert::contains method.
- assert_does_not_throw shows how to use xtd::tunit::assert::does_not_throw method.
- assert_fail shows how to use xtd::tunit::assert::fail method.
- assert_ignore shows how to use xtd::tunit::assert::ignore method.
- assert_is_empty shows how to use xtd::tunit::assert::is_empty method.
- assert_is_false shows how to use xtd::tunit::assert::is_false method.
- assert_is_greater shows how to use xtd::tunit::assert::is_greater method.
- assert_is_greater_or_equal shows how to use xtd::tunit::assert::is_greater_or_equal method.
- assert_is_instance_of shows how to use xtd::tunit::assert::is_instance_of method.
- assert_is_less shows how to use xtd::tunit::assert::is_less method.
- assert_is_less_or_equal shows how to use xtd::tunit::assert::is_less_or_equal method.
- assert_is_NaN shows how to use xtd::tunit::assert::is_NaN method.
- assert_is_negative shows how to use xtd::tunit::assert::is_negative method.
- assert_is_not_empty shows how to use xtd::tunit::assert::is_not_empty method.
- assert_is_not_instance_of shows how to use xtd::tunit::assert::is_not_instance_of method.
- assert_is_not_null shows how to use xtd::tunit::assert::is_not_null method.
- assert_is_not_zero shows how to use xtd::tunit::assert::is_not_zero method.
- assert_is_null shows how to use xtd::tunit::assert::is_null method.
- assert_is_positive shows how to use xtd::tunit::assert::is_positive method.
- assert_is_true shows how to use xtd::tunit::assert::is_true method.
- assert_is_zero shows how to use xtd::tunit::assert::is_zero method.
- assert_succeed shows how to use xtd::tunit::assert::succeed method.
- assert_throws shows how to use xtd::tunit::assert::throws method.
- assert_throws_any shows how to use xtd::tunit::assert::throws_any method.
Build and run any project
Open "Command Prompt" or "Terminal". Navigate to the folder that contains the project and type the following:
xtdc run -t any_project_name