2019-08-21 23:05:21 +00:00
|
|
|
import { tap, expect } from '@pushrocks/tapbundle';
|
|
|
|
import * as smartsystem from '../ts/index';
|
2016-10-12 12:01:15 +00:00
|
|
|
|
2019-08-21 23:05:21 +00:00
|
|
|
let smartsystemInstance: smartsystem.Smartsystem;
|
2016-10-12 12:01:15 +00:00
|
|
|
|
2019-08-21 23:05:21 +00:00
|
|
|
tap.test('should create a smartsystem instance', async tools => {
|
|
|
|
smartsystemInstance = new smartsystem.Smartsystem();
|
|
|
|
expect(smartsystemInstance).to.be.instanceOf(smartsystem.Smartsystem);
|
|
|
|
});
|
2017-07-31 13:16:10 +00:00
|
|
|
|
2019-08-21 23:05:21 +00:00
|
|
|
tap.test('should state the operating system', async () => {
|
|
|
|
expect(smartsystemInstance.cpuCount);
|
|
|
|
});
|
2017-05-13 09:03:24 +00:00
|
|
|
|
2019-08-21 23:05:21 +00:00
|
|
|
tap.start();
|