42_push_swap/test.c
Camille Chauvet bb6e9ddd85 d
2022-11-23 21:44:27 +01:00

26 lines
1.1 KiB
C

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* test.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: cchauvet <cchauvet@student.42angouleme.fr +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/11/23 16:43:32 by cchauvet #+# #+# */
/* Updated: 2022/11/23 18:54:08 by cchauvet ### ########.fr */
/* */
/* ************************************************************************** */
#include <stdio.h>
#include "pushswap.h"
int main()
{
unsigned int a;
int shift;
a = 0;
shift = ft_bit_finder(a, 1);
printf("%u / %d\n", shift, 32);
printf("%u", a << shift);
}