Skip to content

ejercicios cambios varios #194

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Changes from 1 commit
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
c056990
Update README.es.md
josemoracard Jul 11, 2023
8895e40
Update solution.hide.js
josemoracard Jul 11, 2023
cafc0df
Update test.js
josemoracard Jul 11, 2023
13a6515
Update solution.hide.js
josemoracard Jul 11, 2023
94965b5
Update README.es.md
josemoracard Jul 11, 2023
a99d837
Update README.md
josemoracard Jul 11, 2023
fa0e0fe
Update README.md
josemoracard Jul 11, 2023
8106c3f
Update README.es.md
josemoracard Jul 11, 2023
e036242
Update README.es.md
josemoracard Jul 11, 2023
485cc28
Update README.md
josemoracard Jul 11, 2023
a5027ce
Update README.es.md
josemoracard Jul 11, 2023
9c5803d
Update solution.hide.js
josemoracard Jul 11, 2023
d24fa2c
Update app.js
josemoracard Jul 11, 2023
7599dca
Update README.md
josemoracard Jul 11, 2023
41e3dcd
Update README.es.md
josemoracard Jul 11, 2023
48b0503
Update solution.hide.js
josemoracard Jul 11, 2023
1f3bc85
Update test.js
josemoracard Jul 11, 2023
dac29b4
Update test.js
josemoracard Jul 11, 2023
2bf6221
Update README.es.md
josemoracard Jul 11, 2023
bad6c67
Update solution.hide.js
josemoracard Jul 11, 2023
f6e5261
Update solution.hide.js
josemoracard Jul 11, 2023
b40e723
Update solution.hide.js
josemoracard Jul 11, 2023
cbf3707
Update solution.hide.js
josemoracard Jul 11, 2023
3e34d18
Update solution.hide.js
josemoracard Jul 11, 2023
5fc6a72
Update test.js
josemoracard Jul 11, 2023
ae75a3e
Update README.es.md
josemoracard Jul 12, 2023
7f51e34
Update README.md
josemoracard Jul 12, 2023
17c3126
Update README.md
josemoracard Jul 12, 2023
b386afc
Update README.es.md
josemoracard Jul 12, 2023
473aa82
Update README.md
josemoracard Jul 12, 2023
e5202e5
Update README.es.md
josemoracard Jul 12, 2023
b3a6e4d
Update README.md
josemoracard Jul 12, 2023
ce6b9b3
Update README.es.md
josemoracard Jul 12, 2023
c127482
Update app.js
josemoracard Jul 12, 2023
c37e9bf
Update app.js
josemoracard Jul 12, 2023
bd6a4a4
Update README.md
josemoracard Jul 12, 2023
937c9a2
Update README.es.md
josemoracard Jul 12, 2023
8b548dd
Update README.md
josemoracard Jul 12, 2023
016a692
Update solution.hide.js
josemoracard Jul 12, 2023
2f1d630
Update app.js
josemoracard Jul 12, 2023
88f5b44
Update app.js
josemoracard Jul 12, 2023
27f64bf
Update solution.hide.js
josemoracard Jul 12, 2023
c585727
Update app.js
josemoracard Jul 12, 2023
c46b500
Update solution.hide.js
josemoracard Jul 12, 2023
c905351
Update solution.hide.js
josemoracard Jul 12, 2023
24cfbc0
Update README.md
josemoracard Jul 12, 2023
331ac85
Update README.es.md
josemoracard Jul 12, 2023
63bebeb
Update README.md
josemoracard Jul 12, 2023
f57c275
Update solution.hide.js
josemoracard Jul 12, 2023
e9a92c9
Update test.js
josemoracard Jul 12, 2023
dd22112
Update README.md
josemoracard Jul 12, 2023
a67fba1
Update README.es.md
josemoracard Jul 12, 2023
7e4fb50
Update README.md
josemoracard Jul 12, 2023
39e880e
Update README.es.md
josemoracard Jul 12, 2023
31dd670
Update README.md
josemoracard Jul 12, 2023
29aa451
Update README.es.md
josemoracard Jul 12, 2023
51513f3
Update README.md
josemoracard Jul 12, 2023
f606be5
Update README.es.md
josemoracard Jul 12, 2023
44731d7
Update README.md
josemoracard Jul 12, 2023
e426560
Update README.es.md
josemoracard Jul 12, 2023
1e10416
Update README.md
josemoracard Jul 12, 2023
6dc4a7c
Update README.es.md
josemoracard Jul 12, 2023
6927a96
Update solution.hide.js
josemoracard Jul 12, 2023
efbb1f4
Update solution.hide.js
tommygonzaleza Jul 12, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update test.js
  • Loading branch information
josemoracard authored Jul 11, 2023
commit cafc0df0cf4b5ee4925394d0cd7bfdfef36eadc1
4 changes: 4 additions & 0 deletions exercises/120-getLargestElement/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ test('Function must return the largest number within the array. Testing with dif
expect(getLargestElement([15, 22, 18, 23])).toBe(23);
});

test('Function must return the largest number within the array. Testing with different values', () => {
expect(getLargestElement([-5, -2, -8, -3])).toBe(-2);
});

test('If array is empty, it should return 0', () => {
let output = getLargestElement([]);
expect(output).toBe(0);
Expand Down