mirror of
https://github.com/openglobus/openglobus.git
synced 2025-12-08 19:25:27 +00:00
# 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
16 lines
475 B
JavaScript
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();
|
|
});
|