/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* tests_map_cappacity.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: bgoulard +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/05/19 18:16:49 by bgoulard #+# #+# */ /* Updated: 2024/06/01 12:03:26 by bgoulard ### ########.fr */ /* */ /* ************************************************************************** */ #include "ft_map.h" #include "ft_map_types.h" int test_map_capacity(void) { t_map *map; size_t ret; map = ft_map_create(10); ret = ft_map_capacity(map); if (ret != 10) return (1); ft_map_destroy(map); return (0); }