#include "ksr/string.h" #include #include int main(void) { assert(str_equals("hello", to_lowercase("heLLo"))); assert(str_equals("hello", to_lowercase("HELLO"))); assert(str_equals("hello", to_lowercase("Hello"))); assert(str_equals("hello", to_lowercase("hellO"))); assert(!str_equals("heLLo", to_lowercase("heLLo"))); return 0; }