import typia from "typia";

import { CustomGuardError } from "../../internal/CustomGuardError";
import { _test_assert } from "../../internal/_test_assert";
import { TemplateUnion } from "../../structures/TemplateUnion";

export const test_createAssertCustom_TemplateUnion = _test_assert(
  CustomGuardError,
)("TemplateUnion")<TemplateUnion>(TemplateUnion)(
  typia.createAssert<TemplateUnion>((p) => new CustomGuardError(p)),
);
