You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
504 B
JavaScript
14 lines
504 B
JavaScript
import { PlaneOutlineGeometry } from "../../Source/Cesium.js";
|
|
import createPackableSpecs from "../createPackableSpecs.js";
|
|
|
|
describe("Core/PlaneOutlineGeometry", function () {
|
|
it("constructor creates positions", function () {
|
|
var m = PlaneOutlineGeometry.createGeometry(new PlaneOutlineGeometry());
|
|
|
|
expect(m.attributes.position.values.length).toEqual(4 * 3);
|
|
expect(m.indices.length).toEqual(4 * 2);
|
|
});
|
|
|
|
createPackableSpecs(PlaneOutlineGeometry, new PlaneOutlineGeometry(), []);
|
|
});
|