Alert Checking

버전 1.0.0 (3.69 KB) 작성자: Sky Sartorius
Check Matlab code that is supposed to throw errors or warnings.
다운로드 수: 5
업데이트 날짜: 2021/4/26

Sometimes when testing code, it is desirable to not only make sure that the code executes correctly when it should, but also to check that it throws errors or warning when expected. These simple utilities make it easy to test if the expected alerting behavior takes place.

shoulderror: throws an error if the code executes successfully without error.
shouldwarn: throws an error if the code executes without warning.
shouldalert: throws an error if the code executes without either an error or warning.

인용 양식

Sky Sartorius (2024). Alert Checking (https://github.com/sky-s/alert-checking), GitHub. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2021a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

GitHub 디폴트 브랜치를 사용하는 버전은 다운로드할 수 없음

버전 게시됨 릴리스 정보
1.0.0

이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.
이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.