/FibonacciSequence

Java script program to print out the sequence and perform unit tests on it

Primary LanguageJavaScript

FibonacciSequence Requirements

  1. Print out Fibonacci sequence numbers
  2. Based on a randomly generated number
  3. Write unit test for it

How to run this program on linux.

  1. Go to Src/App follder
  2. Open a terminal and enter this "node FibonacciSequence.js". How to run tests.
  3. Go to Src/AppTests follder
  4. Open a terminal in this folder and run "npm test"#
  5. If you dont have node_modules and jest installed just run this command in the test folder terminal "npm install --save-dev jest"