openglobus/tests/SegmentLonLat.test.js
Zemledelec febe57e601 Merge branch 'master' into geo_object_instancing
# Conflicts:
#	src/og/entity/Entity.js
#	src/og/math/Mat4.js
#	src/og/webgl/Handler.js
#	src/og/webgl/callbacks.js
#	tests/Globe.test.js
2021-11-13 00:07:12 +03:00

16 lines
475 B
JavaScript

import { Extent } from "../src/og/Extent";
import { Planet } from "../src/og/scene/Planet";
import { SegmentLonLat } from "../src/og/segment/SegmentLonLat";
const mockPlanet = () => {
const planet = new Planet();
planet.renderer = {};
planet.terrain = { gridSizeByZoom: {} };
return planet;
};
test("Testing SegmentLonLat", () => {
const segmentLonLat = new SegmentLonLat({}, mockPlanet(), {}, new Extent());
expect(segmentLonLat).toBeTruthy();
});