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.
18 lines
495 B
JavaScript
18 lines
495 B
JavaScript
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);
|
|
});
|
|
});
|