2022-10-16 13:31:58 +00:00
|
|
|
#include "Test.h"
|
|
|
|
|
|
|
|
DEFINE_TEST(strlen);
|
2022-10-16 14:00:14 +00:00
|
|
|
DEFINE_TEST(strnlen);
|
2022-10-22 09:57:25 +00:00
|
|
|
DEFINE_TEST(strcspn);
|
2022-10-16 13:31:58 +00:00
|
|
|
|
2022-10-22 10:03:10 +00:00
|
|
|
DEFINE_TEST(atoi);
|
2022-10-22 10:10:19 +00:00
|
|
|
DEFINE_TEST(atol);
|
|
|
|
DEFINE_TEST(atoll);
|
|
|
|
DEFINE_TEST(srand);
|
2022-10-22 10:03:10 +00:00
|
|
|
|
2022-10-16 13:31:58 +00:00
|
|
|
int main()
|
|
|
|
{
|
|
|
|
START_TEST_CASE(string.h);
|
|
|
|
RUN_TEST(strlen);
|
2022-10-16 14:00:14 +00:00
|
|
|
RUN_TEST(strnlen);
|
2022-10-22 09:57:25 +00:00
|
|
|
RUN_TEST(strcspn);
|
2022-10-22 10:03:10 +00:00
|
|
|
|
|
|
|
START_TEST_CASE(stdlib.h);
|
|
|
|
RUN_TEST(atoi);
|
2022-10-22 10:10:19 +00:00
|
|
|
RUN_TEST(atol);
|
|
|
|
RUN_TEST(atoll);
|
|
|
|
RUN_TEST(srand);
|
2022-10-16 13:31:58 +00:00
|
|
|
}
|