fn testParser( parser: anytype, arch: Target.Cpu.Arch, expected_model: *const Target.Cpu.Model, input: []const u8, ) !void
fn testParser( parser: anytype, arch: Target.Cpu.Arch, expected_model: *const Target.Cpu.Model, input: []const u8, ) !void { var r: Io.Reader = .fixed(input); const result = try parser.parse(arch, &r); try testing.expectEqual(expected_model, result.?.model); try testing.expect(expected_model.features.eql(result.?.features)); }