def test_strlen_approximate(): lib = _Wconversion("int strlen(char *s);", "#include <string.h>") assert lib.strlen(b"hi there!") == 9