fn testCalcUtf16LeLenImpl(calcUtf16LeLenImpl_: anytype) !void
fn testCalcUtf16LeLenImpl(calcUtf16LeLenImpl_: anytype) !void { try testing.expectEqual(@as(usize, 1), try calcUtf16LeLenImpl_("a")); try testing.expectEqual(@as(usize, 10), try calcUtf16LeLenImpl_("abcdefghij")); try testing.expectEqual(@as(usize, 10), try calcUtf16LeLenImpl_("äåéëþüúíóö")); try testing.expectEqual(@as(usize, 5), try calcUtf16LeLenImpl_("こんにちは")); }