yzt
2023-05-26 2f70f6727314edd84d8ec2bfe3ce832803f1ea77
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(), []);
});