<commit_before>var assert = require('assert');
var Mate = require('../ejercicio-04.js')

//NO TOCAR ESTE CODIGO O EXPLOTARA LA PC EN 10 SEGUNDOS
describe('fibonacci', function(){

  it("should return the correct fibonnaci secuences",function(){
    assert.equal(Mate.fibonacci(3),[0,1,1])
  })

  it("should raise an error when an invalid upper limit is set",function(){
    assert.equal(Mate.fibonacci("string"),"Error")
    assert.equal(Mate.fibonacci(false),"Error")
  })
<commit_msg>No puedes usar equals porque son objetos distintos<commit_after>var assert = require('assert');
var Mate = require('../ejercicio-04.js')

//NO TOCAR ESTE CODIGO O EXPLOTARA LA PC EN 10 SEGUNDOS
describe('fibonacci', function(){

  it("should return the correct fibonnaci secuences",function(){
    assert.deepEqual(Mate.fibonacci(3),[0,1,1])
  })

  it("should raise an error when an invalid upper limit is set",function(){
    assert.equal(Mate.fibonacci("string"),"Error")
    assert.equal(Mate.fibonacci(false),"Error")
  })

{'fraction_non_alphanumeric': 0.15172413793103448, 'fraction_numerical': 0.015763546798029555, 'mean_word_length': 5.120481927710843, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2265108', 'n_tokens_mistral': 372, 'n_tokens_neox': 347, 'n_words': 85}