Dangelo-JAN / testing-practice

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tests Cases

  1. Read the "Test Description" below.
  2. Make changes to the stringMethods.js and calculatorMethods.js files.
  3. Commit your changes.

Test description

Strings and Calculator methods

We have some strings and calculator validations:

  • Strings biggers than 1 character and smallest than 11 characters
  • We can make reverse Strings
  • Capitalize Strings
  • Additions validations
  • Substractions validations
  • Multiplications validations
  • Divisions validations

Examples

The following are 3 test cases:

console.log(stringMethods.stringLength('string too longer'))
// => true

console.log(stringMethods.capitalize('capitalize'))
// => false

console.log(calculatorMethods.calculator.sum(1, 2))
// => true

About


Languages

Language:JavaScript 100.0%