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.
 
 
 
 
StackGenVis/frontend/node_modules/cryo/test/string.test.js

27 lines
677 B

var mocha = require('mocha');
var assert = require('chai').assert;
var Cryo = require('../lib/cryo');
describe('String', function() {
it('should hydrate a simple string', function() {
var original = [
"This is my simple string. Isn't it beautiful!?",
"Here is a mustache: {{"
].join('\n');
var stringified = Cryo.stringify(original);
var hydrated = Cryo.parse(stringified);
assert.deepEqual(hydrated, original);
});
it('should hydrate an empty string', function() {
var original = '';
var stringified = Cryo.stringify(original);
var hydrated = Cryo.parse(stringified);
assert.deepEqual(hydrated, original);
});
});