StackGenVis: Alignment of Data, Algorithms, and Models for Stacking Ensemble Learning Using Performance Metrics
https://doi.org/10.1109/TVCG.2020.3030352
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
578 B
23 lines
578 B
var mocha = require('mocha');
|
|
var assert = require('chai').assert;
|
|
|
|
var Cryo = require('../lib/cryo');
|
|
|
|
describe('Boolean', function() {
|
|
|
|
it('should hydrate a boolean true', function() {
|
|
var original = true;
|
|
var stringified = Cryo.stringify(original);
|
|
var hydrated = Cryo.parse(stringified);
|
|
|
|
assert.deepEqual(hydrated, original);
|
|
});
|
|
|
|
it('should hydrate a boolean false', function() {
|
|
var original = false;
|
|
var stringified = Cryo.stringify(original);
|
|
var hydrated = Cryo.parse(stringified);
|
|
|
|
assert.deepEqual(hydrated, original);
|
|
});
|
|
}); |