Adeohluwa / andela-bootcamp-day1

Andela Bootcamp Day 1 Exercise

Home Page:http://adeohluwa.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AritGeo Test Suite

MIT LBuild StatusCode Climate Coverage Status

A test suite written with mocha and chai for assertions using the chai expect style
assertions.

10 Test cases and all Passing

  • Detects an arithmetic progression
  • Detects a geometric progression
  • Returns zero for an empty array
  • Returns -1 for a random string
  • Returns -1 for an array of string and numbers
  • Returns -1 for an array of both positive and negative numbers
  • Returns -1 for an array of strings
  • Returns -1 for an incomplete arithmetic progression
  • Returns -1 for an incomplete geometric progression
  • Returns arithmetic progression for an array of zeros

run npm install this will install all dependencies and then npm test this will start the test runner

About

Andela Bootcamp Day 1 Exercise

http://adeohluwa.github.io

License:MIT License


Languages

Language:JavaScript 48.1%Language:CSS 30.9%Language:HTML 21.0%