15832144755
2022-01-06 7b4c8991dca9cf2a809a95e239d144697d3afb56
1
2
3
4
5
6
7
8
9
10
11
12
13
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(), []);
});