0.1.0 • Published 10 years ago
solve-quadratic-equation v0.1.0
solve-quadratic-equation.js
Usage
var solveQuadraticEquation = require('solve-quadratic-equation');
var roots = solveQuadraticEquation(1, -5, 6);
// roots = [2, 3];
See the comment in index.js for detail.
Develop
Setup
npm install
npm install -g mocha
npm install -g webpack
npm install -g gulp
Run tests in a browser
gulp
or
gulp browser-test
Run tests in console
gulp test
License
MIT
0.1.0
10 years ago