import typia from "typia";

import { CustomGuardError } from "../../internal/CustomGuardError";
import { _test_assertGuard } from "../../internal/_test_assertGuard";
import { ObjectSequenceProtobuf } from "../../structures/ObjectSequenceProtobuf";

export const test_assertGuardCustom_ObjectSequenceProtobuf = _test_assertGuard(
  CustomGuardError,
)("ObjectSequenceProtobuf")<ObjectSequenceProtobuf>(ObjectSequenceProtobuf)(
  (input) =>
    typia.assertGuard<ObjectSequenceProtobuf>(
      input,
      (p) => new CustomGuardError(p),
    ),
);
