Guest User

Untitled

a guest
Sep 9th, 2020
36
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. describe('isSymmetric() behavior', () => {
  2.  
  3.     it('The argument is an Array?', () => {
  4.         let actualResult = isSymmetric([]);
  5.         let expectedResult = true;
  6.  
  7.         assert.equal(actualResult, expectedResult, 'The argument should be an Array!');
  8.     });
  9.  
  10.     it('Is the Array Symmetric?', () => {
  11.         let actualResult = isSymmetric([1, 2, 3, 3, 2, 1]);
  12.         let expectedResult = true;
  13.  
  14.         assert.equal(actualResult, expectedResult, 'The Array is not symmetric!')
  15.     });
  16.  
  17. });
RAW Paste Data