mirror of
https://github.com/nasa/openmct.git
synced 2025-01-28 07:04:10 +00:00
20 lines
727 B
JavaScript
20 lines
727 B
JavaScript
|
/*global define,describe,it,expect,beforeEach,waitsFor,jasmine,window,afterEach*/
|
||
|
|
||
|
define(
|
||
|
['../../src/capabilities/TimelineUtilization'],
|
||
|
function (TimelineUtilization) {
|
||
|
'use strict';
|
||
|
|
||
|
describe("A Timeline's resource utilization", function () {
|
||
|
|
||
|
// Placeholder; WTD-918 will implement
|
||
|
it("has the expected interface", function () {
|
||
|
var utilization = new TimelineUtilization();
|
||
|
expect(utilization.getPointCount()).toEqual(jasmine.any(Number));
|
||
|
expect(utilization.getDomainValue()).toEqual(jasmine.any(Number));
|
||
|
expect(utilization.getRangeValue()).toEqual(jasmine.any(Number));
|
||
|
});
|
||
|
|
||
|
});
|
||
|
}
|
||
|
);
|