yyang42 / moulitest

This repository contains tests for several projects done at 42.
127 stars 37 forks source link

ft_memcmp unittest3 #72

Open NoahCardoza opened 6 years ago

NoahCardoza commented 6 years ago

Something weird is happing with the test. When I run Moulitest on my libft, it says there is an error in my ft_memcmp.c ([FAIL] ..F... [FAIL] unittest3 -> ft_memcmp("aaa", "aab", 4) < 0), but when I debug it myself everything seems to be in order...

I'm guessing it is a simple mistake on my part, but I feel I should ask here just in case.

Thanks!

[Edit]

I also noticed something similar occurring on my ft_strncat.c with unittest2 (buf == ft_strncat(buf, "", 0)). When I run that exact code myself, it works just fine...