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.
26 lines
608 B
26 lines
608 B
4 years ago
|
var test = require('../');
|
||
|
|
||
|
var asyncFunction = function (callback) {
|
||
|
setTimeout(callback, Math.random * 50);
|
||
|
};
|
||
|
|
||
|
test('master test', function (t) {
|
||
|
t.test('subtest 1', function (st) {
|
||
|
st.pass('subtest 1 before async call');
|
||
|
asyncFunction(function () {
|
||
|
st.pass('subtest 1 in async callback');
|
||
|
st.end();
|
||
|
});
|
||
|
});
|
||
|
|
||
|
t.test('subtest 2', function (st) {
|
||
|
st.pass('subtest 2 before async call');
|
||
|
asyncFunction(function () {
|
||
|
st.pass('subtest 2 in async callback');
|
||
|
st.end();
|
||
|
});
|
||
|
});
|
||
|
|
||
|
t.end();
|
||
|
});
|