Skip to content

Commit f33e5fe

Browse files
author
Gonzalo Diaz
committed
[FIX] [REFACTOR] typo in logs.
1 parent 324d683 commit f33e5fe

File tree

13 files changed

+23
-23
lines changed

13 files changed

+23
-23
lines changed

src/hackerrank/implementation/betweenTwoSets.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import { logger as console } from '../../logger';
33

44
import { getTotalX, factorOf, isFactor } from './betweenTwoSets';
55

6-
describe('between Two Sets', () => {
7-
it('between Two Sets Border cases', () => {
6+
describe('betweenTwoSets', () => {
7+
it('getTotalX Border cases', () => {
88
expect.assertions(5);
99

1010
const input = [16, 32, 96];

src/hackerrank/implementation/birthday.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { logger as console } from '../../logger';
33

44
import { birthday } from './birthday';
55

6-
describe('subarray Division', () => {
6+
describe('the-birthday-bar', () => {
77
it('subarray Division test case 0', () => {
88
expect.assertions(1);
99

src/hackerrank/implementation/breakingRecords.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@ import { logger as console } from '../../logger';
33

44
import { breakingRecords } from './breakingRecords';
55

6-
describe('breaking the Records', () => {
7-
it('breaking the Records Border case', () => {
6+
describe('breakingRecords', () => {
7+
it('breakingRecords Border case', () => {
88
expect.assertions(1);
99

1010
expect(() => {
1111
breakingRecords([]);
1212
}).toThrow('Empty input');
1313
});
1414

15-
it('breaking the Records Test case 0', () => {
15+
it('breakingRecords Test case 0', () => {
1616
expect.assertions(1);
1717

1818
const input = [10, 5, 20, 20, 4, 5, 2, 25, 1];
@@ -25,7 +25,7 @@ describe('breaking the Records', () => {
2525
expect(calculated).toStrictEqual(solutionFound);
2626
});
2727

28-
it('breaking the Records Test case 1', () => {
28+
it('breakingRecords Test case 1', () => {
2929
expect.assertions(1);
3030

3131
const input = [10, 5, 20, 20, 4, 5, 2, 25, 1];

src/hackerrank/implementation/countingValleys.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import { logger as console } from '../../logger';
33

44
import { countingValleys } from './countingValleys';
55

6-
describe('counting Valleys', () => {
7-
it('counting Valleys Test case 0', () => {
6+
describe('countingValleys', () => {
7+
it('countingValleys Test case 0', () => {
88
expect.assertions(1);
99

1010
const input = 'UDDDUDUU';
@@ -17,7 +17,7 @@ describe('counting Valleys', () => {
1717
expect(calculated).toBe(solutionFound);
1818
});
1919

20-
it('counting Valleys Test case 1', () => {
20+
it('countingValleys Test case 1', () => {
2121
expect.assertions(1);
2222

2323
const input = 'DDUUDDUDUUUD';

src/hackerrank/interview_preparation_kit/arrays/cruch_bruteforce.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ describe('arrays: crush (bruteforce) small cases', () => {
1313
const answer = arrayManipulation(test.n, test.queries);
1414

1515
console.debug(
16-
`rotLeftOne(${test.n}, ${test.queries}) solution found: ${answer}`
16+
`arrayManipulation(${test.n}, ${test.queries}) solution found: ${answer}`
1717
);
1818

1919
expect(answer).toStrictEqual(test.expected);

src/hackerrank/interview_preparation_kit/arrays/cruch_optimized.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ describe('arrays: crush (optimized)', () => {
1313
const answer = arrayManipulation(test.n, test.queries);
1414

1515
console.debug(
16-
`rotLeftOne(${test.n}, ${test.queries}) solution found: ${answer}`
16+
`arrayManipulation(${test.n}, ${test.queries}) solution found: ${answer}`
1717
);
1818

1919
expect(answer).toStrictEqual(test.expected);

src/hackerrank/interview_preparation_kit/dictionaries_and_hashmaps/two_strings.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ describe('two_strings', () => {
7070
const answer = twoStrings(test.s1, test.s2);
7171

7272
console.debug(
73-
`checkMagazine(${test.s1}, ${test.s2}) solution found: ${answer}`
73+
`twoStrings(${test.s1}, ${test.s2}) solution found: ${answer}`
7474
);
7575

7676
expect(answer).toStrictEqual(test.expected);

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { maxMin } from './angry_children';
66
import TEST_CASES from './angry_children.testcases.json';
77

88
describe('angry_children', () => {
9-
it('angry_children test cases', () => {
9+
it('maxMin test cases', () => {
1010
expect.assertions(4);
1111

1212
TEST_CASES.forEach((test) => {

src/hackerrank/interview_preparation_kit/miscellaneous/flipping-bits.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ describe('flipping bits', () => {
6161
test_set.tests.forEach((test) => {
6262
const answer = flippingBits(test.input);
6363

64-
console.debug(`luckBalance(${test.input}) solution found: ${answer}`);
64+
console.debug(`flippingBits(${test.input}) solution found: ${answer}`);
6565

6666
expect(answer).toStrictEqual(test.expected);
6767
});
@@ -76,7 +76,7 @@ describe('flipping bits', () => {
7676

7777
const answer = flippingBits(input);
7878

79-
console.debug(`luckBalance(${input}) solution found: ${answer}`);
79+
console.debug(`flippingBits(${input}) solution found: ${answer}`);
8080

8181
expect(answer).toStrictEqual(expected);
8282
});

src/hackerrank/interview_preparation_kit/miscellaneous/friend_circle_queries.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ describe('friend_circle_queries', () => {
1111
TEST_CASES.forEach((test) => {
1212
const answer = maxCircle(test.arr);
1313

14-
console.debug(`luckBalance(${test.arr}) solution found: ${answer}`);
14+
console.debug(`maxCircle(${test.arr}) solution found: ${answer}`);
1515

1616
expect(answer).toStrictEqual(test.expected);
1717
});

src/hackerrank/warmup/birthdayCakeCandles.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { logger as console } from '../../logger';
44
import { birthdayCakeCandles } from './birthdayCakeCandles';
55

66
describe('birthdayCakeCandles', () => {
7-
it('miniMaxSum border case', () => {
7+
it('birthdayCakeCandles border case', () => {
88
expect.assertions(1);
99

1010
expect(() => {

src/hackerrank/warmup/compareTriplets.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import { logger as console } from '../../logger';
33

44
import { compareTriplets } from './compareTriplets';
55

6-
describe('problem simpleArraySum', () => {
7-
it('problem simpleArraySum Border case', () => {
6+
describe('compareTriplets', () => {
7+
it('problem compareTriplets Border case', () => {
88
expect.assertions(1);
99

1010
const a = [1];
@@ -15,7 +15,7 @@ describe('problem simpleArraySum', () => {
1515
}).toThrow('Wrong comparition length');
1616
});
1717

18-
it('problem simpleArraySum Test case 0', () => {
18+
it('problem compareTriplets Test case 0', () => {
1919
expect.assertions(1);
2020

2121
const a = [5, 6, 7];

src/hackerrank/warmup/plusMinus.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import { logger as console } from '../../logger';
33

44
import { plusMinus } from './plusMinus';
55

6-
describe('plus Minus', () => {
7-
it('plus Minus Test case 1', () => {
6+
describe('plusMinus', () => {
7+
it('plusMinus Test case 1', () => {
88
expect.assertions(1);
99

1010
const input = [-4, 3, -9, 0, 4, 1];

0 commit comments

Comments
 (0)