Skip to content

Commit f14d6e3

Browse files
committed
minor test improvement
1 parent 4182fb1 commit f14d6e3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

core/geometry/src/test/curve/CurveFactory.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,10 +204,10 @@ describe("CurveFactory", () => {
204204
const lineString1 = LineString3d.create(points);
205205

206206
const verifyGeometry = (chain: Path, filletClosure: boolean, radius: number) => {
207-
if (radius <= 0 || radius > minSegmentLength / 2.0)
207+
if (radius <= 0)
208208
return;
209209
ck.testPoint3d(chain.startPoint()!, chain.endPoint()!, "fillet polygon should be closed");
210-
if (filletClosure) {
210+
if (filletClosure && radius < minSegmentLength / 2.0) {
211211
const arc = chain.getChild(0);
212212
ck.testTrue(arc instanceof Arc3d, "expect arc at start of fillet polygon if filletClosure is true");
213213
}

0 commit comments

Comments
 (0)