File Exchange

image thumbnail

Test Tools - Utilities for unit tests

version 1.1 (10.5 KB) by

Tools that facilitate debugging or writing unit test for MATLAB functions.

1 Download

Updated

View License

Version 1.2 (JASP) 26-Jul-2009

This package is a set of tools that facilitate debugging or writing unit test for MATLAB functions.

disp_value - display the value of an expression
disp_test_title - display a test name
disp_test_name - display a subtest name
disp_num_failures - display number of test failures

check_err - verify an expected error message
check_warn - verify an expected warning message
check_value - compare a test value with an expected value
check_float - specifically checks floating point numbers

set_val - sets, displays variable value without expanding value

time - times a script/function call
timesim - times a Simulink model run

Comments and Ratings (0)

Updates

1.1

- Changed license from GPL to BSD
- Scrubbed mlint warnings

desc

MATLAB Release
MATLAB 5.3 (R11)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video