15832144755
2022-01-06 7b4c8991dca9cf2a809a95e239d144697d3afb56
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import { Interval } from "../../Source/Cesium.js";
 
describe("Core/Interval", function () {
  it("constructs without arguments", function () {
    var interval = new Interval();
    expect(interval.start).toEqual(0.0);
    expect(interval.stop).toEqual(0.0);
  });
 
  it("constructs with arguments", function () {
    var start = 1.0;
    var stop = 2.0;
    var interval = new Interval(start, stop);
    expect(interval.start).toEqual(start);
    expect(interval.stop).toEqual(stop);
  });
});