module pind.samples.ja.unit_testing.unit_testing_5; dstring toFront(dstring str, dchar letter) { dstring result; return result; } unittest { immutable str = "hello"d; assert(toFront(str, 'h') == "hello"); assert(toFront(str, 'o') == "ohell"); assert(toFront(str, 'l') == "llheo"); } void main() { }