Skip to content

tsngo/exercises

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Learning NodeJs using Unit Testing

Setup

Run bash shell

run cd /mnt/d/dev or go to any location of your choice

if git is not installed, run sudo apt-get update and sudo apt-get install git (which git will return nothing if not installed)

run git clone https://[email protected]/tsngo/exercises ./exercises

run cd exercises

run npm install to install libraries

if there are errors try running npm install again

Getting started

run npm test to run unit tests

edit files under ./lib so that npm test passes all unit tests

Introduction

squareRoot

Reference: http://www.w3schools.com/jsref/jsref_obj_math.asp

piecewise

Reference: http://www.w3schools.com/js/js_comparisons.asp, http://www.w3schools.com/js/js_if_else.asp

floor

Reference: http://www.w3schools.com/jsref/jsref_floor.asp, http://www.w3schools.com/js/js_arithmetic.asp

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published