public void ToBase62Chars16_Regularly_ShouldReturnExpectedOutput(string text, string base62String) { var bytes = System.Text.Encoding.UTF8.GetBytes(text); Span <byte> outputChars = stackalloc byte[base62String.Length]; Base62.ToBase62Chars16(bytes, outputChars); var outputString = System.Text.Encoding.UTF8.GetString(outputChars); Assert.Equal(base62String, outputString); }