mirror of
https://github.com/josdejong/mathjs.git
synced 2026-01-18 14:59:29 +00:00
move tests that require node from test/node to node-test
Is a pain to include all sub dirs in test apart from node
This commit is contained in:
parent
45fa1edb16
commit
91bb2f5c8e
@ -1,6 +1,6 @@
|
||||
var approx = require('../../../../../tools/approx'),
|
||||
math = require('../../../../../index'),
|
||||
market = require('../../../../../tools/matrixmarket');
|
||||
var approx = require('../../../../tools/approx'),
|
||||
math = require('../../../../index'),
|
||||
market = require('../../../../tools/matrixmarket');
|
||||
|
||||
describe('slu - matrix market', function () {
|
||||
it('should decompose matrix, 48 x 48, natural ordering (order=0), full pivoting, matrix market', function (done) {
|
||||
@ -1,8 +1,8 @@
|
||||
var assert = require('assert');
|
||||
var approx = require('../../../../../tools/approx');
|
||||
var market = require('../../../../../tools/matrixmarket');
|
||||
var math = require('../../../../../index').create();
|
||||
math.import(require('../../../../../lib/function/algebra/sparse/cs_amd'));
|
||||
var approx = require('../../../../tools/approx');
|
||||
var market = require('../../../../tools/matrixmarket');
|
||||
var math = require('../../../../index').create();
|
||||
math.import(require('../../../../lib/function/algebra/sparse/cs_amd'));
|
||||
|
||||
var cs_amd = math.sparse.cs_amd;
|
||||
|
||||
@ -1,11 +1,11 @@
|
||||
var assert = require('assert');
|
||||
var approx = require('../../../../../tools/approx');
|
||||
var market = require('../../../../../tools/matrixmarket');
|
||||
var math = require('../../../../../index').create();
|
||||
var approx = require('../../../../tools/approx');
|
||||
var market = require('../../../../tools/matrixmarket');
|
||||
var math = require('../../../../index').create();
|
||||
|
||||
math.import(require('../../../../../lib/function/algebra/sparse/cs_permute'));
|
||||
math.import(require('../../../../../lib/function/algebra/sparse/cs_lu'));
|
||||
math.import(require('../../../../../lib/function/algebra/sparse/cs_sqr'));
|
||||
math.import(require('../../../../lib/function/algebra/sparse/cs_permute'));
|
||||
math.import(require('../../../../lib/function/algebra/sparse/cs_lu'));
|
||||
math.import(require('../../../../lib/function/algebra/sparse/cs_sqr'));
|
||||
|
||||
var cs_permute = math.sparse.cs_permute;
|
||||
var cs_lu = math.sparse.cs_lu;
|
||||
@ -1,8 +1,8 @@
|
||||
// test multiply
|
||||
var assert = require('assert'),
|
||||
math = require('../../../../index'),
|
||||
approx = require('../../../../tools/approx'),
|
||||
market = require('../../../../tools/matrixmarket'),
|
||||
math = require('../../../index'),
|
||||
approx = require('../../../tools/approx'),
|
||||
market = require('../../../tools/matrixmarket'),
|
||||
multiply = math.multiply,
|
||||
divide = math.divide,
|
||||
matrix = math.matrix,
|
||||
Loading…
x
Reference in New Issue
Block a user