mirror of
https://github.com/TheAlgorithms/JavaScript.git
synced 2025-07-04 15:39:42 +08:00
fix(LinearAlgebra): Fix BADLY broken doctest. All tests passed.
This commit is contained in:
@ -309,3 +309,5 @@ let LinearAlgebra;
|
|||||||
}()) // end of class Matrix
|
}()) // end of class Matrix
|
||||||
LinearAlgebra.Matrix = Matrix
|
LinearAlgebra.Matrix = Matrix
|
||||||
})(LinearAlgebra || (LinearAlgebra = {})) // end of namespace LinearAlgebra
|
})(LinearAlgebra || (LinearAlgebra = {})) // end of namespace LinearAlgebra
|
||||||
|
|
||||||
|
export { LinearAlgebra }
|
||||||
|
@ -7,11 +7,12 @@
|
|||||||
*/
|
*/
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
|
import { LinearAlgebra } from "../src/la_lib"
|
||||||
|
|
||||||
var assert = require('assert')
|
var assert = require('assert')
|
||||||
var fs = require('fs')
|
var fs = require('fs')
|
||||||
|
|
||||||
// file is included here
|
// file is included here
|
||||||
eval(fs.readFileSync('src/la_lib.js') + '')
|
|
||||||
// Tests goes here
|
// Tests goes here
|
||||||
|
|
||||||
// creating some vectors
|
// creating some vectors
|
||||||
|
Reference in New Issue
Block a user