34 lines
1.1 KiB
C
34 lines
1.1 KiB
C
|
/* ************************************************************************** */
|
||
|
/* */
|
||
|
/* ::: :::::::: */
|
||
|
/* test_utils.c :+: :+: :+: */
|
||
|
/* +:+ +:+ +:+ */
|
||
|
/* By: achubuko <marvin@42.fr> +#+ +:+ +#+ */
|
||
|
/* +#+#+#+#+#+ +#+ */
|
||
|
/* Created: 2023/12/02 22:12:42 by achubuko #+# #+# */
|
||
|
/* Updated: 2023/12/02 23:09:10 by achubuko ### ########.fr */
|
||
|
/* */
|
||
|
/* ************************************************************************** */
|
||
|
#include "unity.h"
|
||
|
#include "ft_utils.h"
|
||
|
|
||
|
void setUp(void)
|
||
|
{
|
||
|
}
|
||
|
|
||
|
void tearDown(void)
|
||
|
{
|
||
|
}
|
||
|
|
||
|
void test_ft_atoui32_42(void)
|
||
|
{
|
||
|
TEST_ASSERT_EQUAL_UINT32(42, ft_atoui32("42"));
|
||
|
}
|
||
|
|
||
|
int main(void)
|
||
|
{
|
||
|
UNITY_BEGIN();
|
||
|
RUN_TEST(test_ft_atoui32_42);
|
||
|
return (UNITY_END());
|
||
|
}
|