import typia from "typia";

import { CustomGuardError } from "../../internal/CustomGuardError";
import { _test_assertGuardEquals } from "../../internal/_test_assertGuardEquals";
import { TypeTagPattern } from "../../structures/TypeTagPattern";

export const test_assertGuardEqualsCustom_TypeTagPattern =
  _test_assertGuardEquals(CustomGuardError)("TypeTagPattern")<TypeTagPattern>(
    TypeTagPattern,
  )((input) =>
    typia.assertGuardEquals<TypeTagPattern>(
      input,
      (p) => new CustomGuardError(p),
    ),
  );
