- Language: JavaScript
- TDD tool: Jasmine
- Author: Ayeni Blessing
- Version: 0.0.1
Contains:
getPrimes functon: test spec and program
Description:
A function called getPrimes that takes an integer value n as argument and generates prime numbers from 0 to n
with
asymptotic analysis. The generated prime numbers are stored in an array. If no prime number is obtainable for the input,
it
returns an empty array.
These programs follows Test-Driven Development (TDD) process and the tool used is Jasmine.
1. Clone this repository2. Navigate to the folder
3. Run npm install
4. Run npm test