Skip to content

ayeniblessing101/getPrimes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

getPrimes

Project Details:

  • Language: JavaScript
  • TDD tool: Jasmine
  • Author: Ayeni Blessing
  • Version: 0.0.1

Contains:

getPrimes functon: test spec and program

getPrimes function

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.

How to Run Test:

1. Clone this repository
2. Navigate to the folder
3. Run npm install
4. Run npm test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published