Skip to content

Commit 89e3098

Browse files
author
Gonzalo Diaz
committed
[REFACTOR] [Hacker Rank] Interview Preparation Kit: Greedy Algorithms: Max Min. Test names fixed.
1 parent 78500c9 commit 89e3098

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/hackerrank/interview_preparation_kit/greedy_algorithms/angry_children.test.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,14 @@ import { maxMin } from './angry_children';
55

66
import TEST_CASES from './angry_children.testcases.json';
77

8-
describe('luck-balance', () => {
9-
it('luckBalance test cases', () => {
8+
describe('angry_children', () => {
9+
it('angry_children test cases', () => {
1010
expect.assertions(4);
1111

1212
TEST_CASES.forEach((test) => {
1313
const answer = maxMin(test.k, test.arr);
1414

15-
console.debug(
16-
`luckBalance(${test.k}, ${test.arr}) solution found: ${answer}`
17-
);
15+
console.debug(`maxMin(${test.k}, ${test.arr}) solution found: ${answer}`);
1816

1917
expect(answer).toStrictEqual(test.expected);
2018
});

0 commit comments

Comments
 (0)