import typia from "typia";

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

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