Skip to content

Commit 6b7f66f

Browse files
unit tests fixed
1 parent 17566f3 commit 6b7f66f

3 files changed

Lines changed: 5 additions & 6 deletions

File tree

packages/dev/occt/lib/services/fillets.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import initOpenCascade, { OpenCascadeInstance, TopoDS_Wire } from "../../bitbybi
22
import { OccHelper } from "../occ-helper";
33
import { VectorHelperService } from "../api/vector-helper.service";
44
import { ShapesHelperService } from "../api/shapes-helper.service";
5-
import { Inputs } from "../api";
5+
import * as Inputs from "../api/inputs/inputs";
66
import { OCCTFillets } from "./fillets";
77
import { OCCTEdge, OCCTSolid, OCCTWire } from "./shapes";
88

packages/dev/occt/lib/services/operations.test.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
import { Inputs } from "../api";
21
import initOpenCascade, { OpenCascadeInstance, TopoDS_Face, TopoDS_Shape, TopoDS_Wire } from "../../bitbybit-dev-occt/bitbybit-dev-occt";
3-
import { Base } from "../api/inputs/base-inputs";
2+
import * as Inputs from "../api/inputs/inputs";
43
import { ShapesHelperService } from "../api/shapes-helper.service";
54
import { VectorHelperService } from "../api/vector-helper.service";
65
import { OccHelper } from "../occ-helper";
@@ -49,7 +48,7 @@ describe("OCCT operations unit tests", () => {
4948
[2, -2, 2],
5049
[-3, 3, 3],
5150
[4, 4, -4],
52-
] as Base.Point3[];
51+
] as Inputs.Base.Point3[];
5352
const sph = occHelper.entitiesService.bRepPrimAPIMakeSphere([0, 0, 0], [0, 1, 0], 1);
5453
const res = operations.closestPointsOnShapeFromPoints({ shape: sph, points });
5554
expect(res.length).toBe(5);
@@ -69,7 +68,7 @@ describe("OCCT operations unit tests", () => {
6968
[2, -2, 2],
7069
[-3, 3, 3],
7170
[4, 4, -4],
72-
] as Base.Point3[];
71+
] as Inputs.Base.Point3[];
7372
const sph1 = occHelper.entitiesService.bRepPrimAPIMakeSphere([0, 10, 0], [0, 1, 0], 1);
7473
const sph2 = occHelper.entitiesService.bRepPrimAPIMakeSphere([0, 0, 10], [0, 1, 0], 2);
7574

packages/dev/occt/lib/services/shapes/edge.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { OccHelper } from "../../occ-helper";
44
import { OCCTGeom } from "../geom/geom";
55
import { VectorHelperService } from "../../api/vector-helper.service";
66
import { ShapesHelperService } from "../../api/shapes-helper.service";
7-
import { Inputs } from "../../api";
7+
import * as Inputs from "../../api/inputs/inputs";
88
import { OCCTFace } from "./face";
99
import { OCCTBooleans } from "../booleans";
1010
import { OCCTWire } from "./wire";

0 commit comments

Comments
 (0)