Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Se debe reformular esta prueba #1

Open
evolentini opened this issue Sep 5, 2021 · 0 comments
Open

Se debe reformular esta prueba #1

evolentini opened this issue Sep 5, 2021 · 0 comments

Comments

@evolentini
Copy link

Apagar leds apagados no es una prueba valida. Por esa razón la metodología propuesta exige que primero la prueba falle, cosa que claramente no sucedió en este caso.

/* Prueba para que se puedan apagar todos los LEDs de una vez. */
void test_apagar_todos_los_leds (void)
{
LedsTurnOffall();
TEST_ASSERT_EQUAL_HEX16(0x0000, ledsvirtuales);
}

Una prueba que no prueba nada es peor que la falta de pruebas...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant