mirror of
https://github.com/TheAlgorithms/JavaScript.git
synced 2025-07-05 00:01:37 +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
|
||||
LinearAlgebra.Matrix = Matrix
|
||||
})(LinearAlgebra || (LinearAlgebra = {})) // end of namespace LinearAlgebra
|
||||
|
||||
export { LinearAlgebra }
|
||||
|
@ -7,11 +7,12 @@
|
||||
*/
|
||||
/* eslint-disable */
|
||||
|
||||
import { LinearAlgebra } from "../src/la_lib"
|
||||
|
||||
var assert = require('assert')
|
||||
var fs = require('fs')
|
||||
|
||||
// file is included here
|
||||
eval(fs.readFileSync('src/la_lib.js') + '')
|
||||
// Tests goes here
|
||||
|
||||
// creating some vectors
|
||||
|
Reference in New Issue
Block a user