assertEqual(PathType() ~ "hello", PathType("hello")); assertEqual(PathType("") ~ "hello", PathType("hello")); assertEqual(PathType(".") ~ "hello", PathType("hello")); assertEqual(WindowsPath("/") ~ "hello", WindowsPath(`hello`)); assertEqual(WindowsPath(`C:\`) ~ "hello" ~ "world", WindowsPath(`C:\hello\world`)); assertEqual(WindowsPath("hello") ~ "..", WindowsPath(`hello\..`)); assertEqual(WindowsPath("..") ~ "hello", WindowsPath(`..\hello`)); assertEqual(PosixPath("/") ~ "hello", PosixPath("/hello")); assertEqual(PosixPath("/") ~ "hello" ~ "world", PosixPath("/hello/world")); assertEqual(PosixPath("hello") ~ "..", PosixPath("hello/..")); assertEqual(PosixPath("..") ~ "hello", PosixPath("../hello"));
Concatenate the path other to this path.