We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 78500c9 + 89e3098 commit a364e2cCopy full SHA for a364e2c
src/hackerrank/interview_preparation_kit/greedy_algorithms/angry_children.test.ts
@@ -5,16 +5,14 @@ import { maxMin } from './angry_children';
5
6
import TEST_CASES from './angry_children.testcases.json';
7
8
-describe('luck-balance', () => {
9
- it('luckBalance test cases', () => {
+describe('angry_children', () => {
+ it('angry_children test cases', () => {
10
expect.assertions(4);
11
12
TEST_CASES.forEach((test) => {
13
const answer = maxMin(test.k, test.arr);
14
15
- console.debug(
16
- `luckBalance(${test.k}, ${test.arr}) solution found: ${answer}`
17
- );
+ console.debug(`maxMin(${test.k}, ${test.arr}) solution found: ${answer}`);
18
19
expect(answer).toStrictEqual(test.expected);
20
});
0 commit comments