text: var assert = require('assert');
  var ubique = require('../../index.js');
  
  suite('quants',function () {
  console.log('Testing quants/painindex ...');
  test('painindex', function (done) {
  
  var x = [0.003,0.026,0.015,-0.009,0.014,0.024,0.015,0.066,-0.014,0.039];
  var y = [-0.005,0.081,0.04,-0.037,-0.061,0.058,-0.049,-0.021,0.062,0.058];
  var cat = ubique.cat;
  
  assert.deepEqual(ubique.painindex(x),0.0023000000000000034);
  assert.deepEqual(ubique.painindex(cat(0,x,y)),[[0.0023000000000000034],[0.042955093457969766]]);
  
  
  done();
  });
  });
  
  
  // <--- This file has been auto-generated. PLEASE DO NOT EDIT THIS FILE, changes will be overwritten the next time the script is run --->