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/two-sum/test/test.js

15 lines
328 B

"use strict"
var twoSum = require("../two-sum.js")
require("tape")(function(t) {
t.same(twoSum(1e64, 1), [1, 1e64])
t.same(twoSum(1, 1), [0, 2])
t.same(twoSum(0,-1415), [0, -1415])
t.same(twoSum(1e-64, 1e64), [1e-64, 1e64])
t.same(twoSum(0, 0), [0, 0])
t.same(twoSum(9e15+1, 9e15), [1, 18000000000000000])
t.end()
})