(res)
| 49 | |
| 50 | it('log should allow setting the training options to the constructor', () => { |
| 51 | let log = function (res) {}; |
| 52 | let opts = { log: log }; |
| 53 | var net = new brain.NeuralNetwork(opts); |
| 54 | assert.ok(typeof net.trainOpts.log === 'function', `log => ${net.trainOpts.log} but should be ${opts.log}`); |
no outgoing calls
no test coverage detected