import type { DecoderFixture } from "./types.js";

export const numericSyntaxKnownBad: DecoderFixture = {
  fixtureId: "decoder/numeric-syntax-known-bad",
  scenarios: [
    {
      scenarioId: "hex-accepted-as-decimal-integer",
      kind: "integer",
      input: "0x10",
      constraints: {
        decimalIntegerOnly: true,
        safeIntegerOnly: true,
      },
      observation: { accepted: true, value: 16 },
    },
    {
      scenarioId: "scientific-accepted-as-decimal-integer",
      kind: "integer",
      input: "1e3",
      constraints: {
        decimalIntegerOnly: true,
        safeIntegerOnly: true,
      },
      observation: { accepted: true, value: 1000 },
    },
  ],
};
