fn testPrintIntCase(expected: []const u8, value: anytype, base: u8, case: std.fmt.Case, options: std.fmt.Options) !void
expected: []const u8
value
base: u8
case: std.fmt.Case
options: std.fmt.Options
2240 2241 2242 2243 2244 2245
fn testPrintIntCase(expected: []const u8, value: anytype, base: u8, case: std.fmt.Case, options: std.fmt.Options) !void { var buffer: [100]u8 = undefined; var w: Writer = .fixed(&buffer); try w.printInt(value, base, case, options); try testing.expectEqualStrings(expected, w.buffered()); }