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/cwise-parser/test/test.js

27 lines
580 B

"use strict"
var parse = require("../index.js")
require("tape")("basic tests", function(t) {
var parsed = parse(function(a, b, c) {
a += b
c = Math.cos(b)
})
t.equals(parsed.args.length, 3)
t.equals(parsed.args[0].lvalue, true)
t.equals(parsed.args[0].rvalue, true)
t.equals(parsed.args[0].count, 1)
t.equals(parsed.args[1].lvalue, false)
t.equals(parsed.args[1].rvalue, true)
t.equals(parsed.args[1].count, 2)
t.equals(parsed.args[2].lvalue, true)
t.equals(parsed.args[2].rvalue, false)
t.equals(parsed.args[2].count, 1)
t.end()
})