- Added test for self_test()

This commit is contained in:
Paul Bakker
2009-07-05 11:29:38 +00:00
parent 0a083c2a12
commit 3d36082a8d
6 changed files with 29 additions and 0 deletions

View File

@@ -24,3 +24,10 @@ arc4_crypt:hex_src_string:hex_key_string:hex_dst_string
TEST_ASSERT( strcmp( (char *) dst_str, {hex_dst_string} ) == 0 );
}
END_CASE
BEGIN_CASE
arc4_selftest:
{
TEST_ASSERT( arc4_self_test( 0 ) == 0 );
}
END_CASE