import typia from "typia";

import { CustomGuardError } from "../../internal/CustomGuardError";
import { _test_functional_assertEqualsFunction } from "../../internal/_test_functional_assertEqualsFunction";
import { TupleOptional } from "../../structures/TupleOptional";

export const test_functional_assertEqualsFunctionCustom_TupleOptional =
  _test_functional_assertEqualsFunction(CustomGuardError)("TupleOptional")(
    TupleOptional,
  )((p: (input: TupleOptional) => TupleOptional) =>
    typia.functional.assertEqualsFunction(p, (p) => new CustomGuardError(p)),
  );
