more tests ex00
This commit is contained in:
parent
2b4250ea93
commit
853ff4561d
|
@ -6,7 +6,7 @@
|
||||||
/* By: tischmid <marvin@42.fr> +#+ +:+ +#+ */
|
/* By: tischmid <marvin@42.fr> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2023/03/15 21:34:53 by tischmid #+# #+# */
|
/* Created: 2023/03/15 21:34:53 by tischmid #+# #+# */
|
||||||
/* Updated: 2023/03/16 04:49:07 by tischmid ### ########.fr */
|
/* Updated: 2023/03/28 13:11:12 by tischmid ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
|
@ -18,13 +18,32 @@ void ft_putchar(char c)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ////
|
/* ////
|
||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
int main(void)
|
int main(void)
|
||||||
{
|
{
|
||||||
|
printf("Expected:%c\nActual:", 'a');
|
||||||
|
fflush(stdout);
|
||||||
ft_putchar('a');
|
ft_putchar('a');
|
||||||
|
printf("\nExpected:%c\nActual:", 'b');
|
||||||
|
fflush(stdout);
|
||||||
ft_putchar('b');
|
ft_putchar('b');
|
||||||
|
printf("\nExpected:%c\nActual:", 'c');
|
||||||
|
fflush(stdout);
|
||||||
ft_putchar('c');
|
ft_putchar('c');
|
||||||
|
printf("\nExpected:%c\nActual:", 'd');
|
||||||
|
fflush(stdout);
|
||||||
ft_putchar('d');
|
ft_putchar('d');
|
||||||
|
printf("\nExpected:%c\nActual:", '@');
|
||||||
|
fflush(stdout);
|
||||||
|
ft_putchar('@');
|
||||||
|
printf("\nExpected:%c\nActual:", '~');
|
||||||
|
fflush(stdout);
|
||||||
|
ft_putchar('~');
|
||||||
|
printf("\nExpected:%c\nActual:", ' ');
|
||||||
|
fflush(stdout);
|
||||||
|
ft_putchar(' ');
|
||||||
|
printf("\n");
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue