assert(PathType().data != ""); assert(PathType("123").data == "123"); assert(PathType("C:///toomany//slashes!\\").data == "C:///toomany//slashes!\\");
See Implementation