2023-11-21 19:10:07 +00:00
|
|
|
void ft_putnbr(int);
|
|
|
|
void ft_putchar(char);
|
2023-11-21 20:40:57 +00:00
|
|
|
#include <limits.h>
|
|
|
|
#include <stdio.h>
|
2023-11-21 19:10:07 +00:00
|
|
|
int main(void)
|
|
|
|
{
|
2023-11-21 20:40:57 +00:00
|
|
|
printf("%d = \n", INT_MIN);
|
|
|
|
ft_putnbr(INT_MIN);
|
2023-11-21 19:10:07 +00:00
|
|
|
ft_putchar('\n');
|
|
|
|
ft_putnbr(-7141);
|
|
|
|
ft_putchar('\n');
|
|
|
|
ft_putnbr(-1);
|
|
|
|
ft_putchar('\n');
|
|
|
|
ft_putnbr(0);
|
|
|
|
ft_putchar('\n');
|
|
|
|
ft_putnbr(42);
|
|
|
|
ft_putchar('\n');
|
|
|
|
ft_putnbr(421);
|
|
|
|
ft_putchar('\n');
|
|
|
|
ft_putnbr(1945);
|
|
|
|
ft_putchar('\n');
|
|
|
|
ft_putnbr(0xDEAD);
|
|
|
|
ft_putchar('\n');
|
|
|
|
ft_putnbr(0xBADF00D);
|
|
|
|
ft_putchar('\n');
|
2023-11-21 20:40:57 +00:00
|
|
|
ft_putnbr(INT_MAX);
|
2023-11-21 19:10:07 +00:00
|
|
|
ft_putchar('\n');
|
|
|
|
}
|
2023-11-30 19:05:07 +00:00
|
|
|
|
|
|
|
void setUp(void)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void tearDown(void)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|