fix(LinearAlgebra): Fix BADLY broken doctest. All tests passed.

This commit is contained in:
Rak Laptudirm
2021-05-21 13:02:40 +05:30
parent b77c0a18e2
commit 2bf0ccf00d
2 changed files with 4 additions and 1 deletions

View File

@ -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 }

View File

@ -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