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.

16 lines
378 B
JavaScript

import { defined } from "../../Source/Cesium.js";
describe("Core/defined", function () {
it("works for defined value", function () {
expect(defined(0)).toEqual(true);
});
it("works for null value", function () {
expect(defined(null)).toEqual(false);
});
it("works for undefined value", function () {
expect(defined(undefined)).toEqual(false);
});
});