Alert Checking

Check Matlab code that is supposed to throw errors or warnings.
5 descargas
Actualizado 26 abr 2021

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.

Citar como

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

Compatibilidad con la versión de MATLAB
Se creó con R2021a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!

No se pueden descargar versiones que utilicen la rama predeterminada de GitHub

Versión Publicado Notas de la versión
1.0.0

Para consultar o notificar algún problema sobre este complemento de GitHub, visite el repositorio de GitHub.
Para consultar o notificar algún problema sobre este complemento de GitHub, visite el repositorio de GitHub.