Skip to content

Commit 6cffc25

Browse files
committed
Changing some quotes for consistency.
1 parent 6fc351f commit 6cffc25

File tree

58 files changed

+471
-471
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+471
-471
lines changed

test/File.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ export default class File {
77
}
88

99
readline() {
10-
return this._liner.next().toString('utf8');
10+
return this._liner.next().toString("utf8");
1111
}
1212
}

test/community/training/easy/ISBNCheckDigit/CGTest.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { execute } from '../../../../../lib/community/training/easy/ISBNCheckDig
66

77
const __dirname = new URL('.', import.meta.url).pathname;
88

9-
suite('ISBN check digit', function() {
9+
suite("ISBN check digit", function() {
1010
const sandbox = sinon.createSandbox();
1111

1212
setup(function () {
@@ -18,31 +18,31 @@ suite('ISBN check digit', function() {
1818
});
1919

2020

21-
test('Example', function() {
21+
test("Example", function() {
2222
let inputFile = new File(__dirname + 'input/01 - example.txt');
2323

2424
execute(inputFile.readline.bind(inputFile));
2525

2626
assertOutputAnswer(__dirname + 'output/01 - example.txt');
2727
});
2828

29-
test('Short', function() {
29+
test("Short", function() {
3030
let inputFile = new File(__dirname + 'input/02 - short.txt');
3131

3232
execute(inputFile.readline.bind(inputFile));
3333

3434
assertOutputAnswer(__dirname + 'output/02 - short.txt');
3535
});
3636

37-
test('Longer', function() {
37+
test("Longer", function() {
3838
let inputFile = new File(__dirname + 'input/03 - longer.txt');
3939

4040
execute(inputFile.readline.bind(inputFile));
4141

4242
assertOutputAnswer(__dirname + 'output/03 - longer.txt');
4343
});
4444

45-
test('Much longer', function() {
45+
test("Much longer", function() {
4646
let inputFile = new File(__dirname + 'input/04 - much longer.txt');
4747

4848
execute(inputFile.readline.bind(inputFile));

test/community/training/easy/NGRBasicRadar/CGTest.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { execute } from '../../../../../lib/community/training/easy/NGRBasicRada
66

77
const __dirname = new URL('.', import.meta.url).pathname;
88

9-
suite('NGR basic radar', function() {
9+
suite("NGR basic radar", function() {
1010
const sandbox = sinon.createSandbox();
1111

1212
setup(function () {
@@ -18,7 +18,7 @@ suite('NGR basic radar', function() {
1818
});
1919

2020

21-
test('Low Density, 1 Ticket', function() {
21+
test("Low Density, 1 Ticket", function() {
2222
let inputFile = new File(__dirname + 'input/01 - low density 1 ticket.txt');
2323

2424
execute(inputFile.readline.bind(inputFile));
@@ -29,23 +29,23 @@ suite('NGR basic radar', function() {
2929
);
3030
});
3131

32-
test('Low Density, Many Ticket', function() {
32+
test("Low Density, Many Ticket", function() {
3333
let inputFile = new File(__dirname + 'input/02 - low density many ticket.txt');
3434

3535
execute(inputFile.readline.bind(inputFile));
3636

3737
assertOutputAnswer(__dirname + 'output/02 - low density many ticket.txt');
3838
});
3939

40-
test('Medium Density', function() {
40+
test("Medium Density", function() {
4141
let inputFile = new File(__dirname + 'input/03 - medium density.txt');
4242

4343
execute(inputFile.readline.bind(inputFile));
4444

4545
assertOutputAnswer(__dirname + 'output/03 - medium density.txt');
4646
});
4747

48-
test('Test 4', function() {
48+
test("Test 4", function() {
4949
let inputFile = new File(__dirname + 'input/04 - test 4.txt');
5050

5151
execute(inputFile.readline.bind(inputFile));

test/community/training/easy/binaryImage/CGTest.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { execute } from '../../../../../lib/community/training/easy/binaryImage/
66

77
const __dirname = new URL('.', import.meta.url).pathname;
88

9-
suite('Binary image', function() {
9+
suite("Binary image", function() {
1010
const sandbox = sinon.createSandbox();
1111

1212
setup(function () {
@@ -18,47 +18,47 @@ suite('Binary image', function() {
1818
});
1919

2020

21-
test('Vertical stripes', function() {
21+
test("Vertical stripes", function() {
2222
let inputFile = new File(__dirname + 'input/01 - vertical stripes.txt');
2323

2424
execute(inputFile.readline.bind(inputFile));
2525

2626
assertOutputAnswer(__dirname + 'output/01 - vertical stripes.txt');
2727
});
2828

29-
test('Starting by 0', function() {
29+
test("Starting by 0", function() {
3030
let inputFile = new File(__dirname + 'input/02 - starting by 0.txt');
3131

3232
execute(inputFile.readline.bind(inputFile));
3333

3434
assertOutputAnswer(__dirname + 'output/02 - starting by 0.txt');
3535
});
3636

37-
test('Chess board', function() {
37+
test("Chess board", function() {
3838
let inputFile = new File(__dirname + 'input/03 - chess board.txt');
3939

4040
execute(inputFile.readline.bind(inputFile));
4141

4242
assertOutputAnswer(__dirname + 'output/03 - chess board.txt');
4343
});
4444

45-
test('Horizontal stripes', function() {
45+
test("Horizontal stripes", function() {
4646
let inputFile = new File(__dirname + 'input/04 - horizontal stripes.txt');
4747

4848
execute(inputFile.readline.bind(inputFile));
4949

5050
assertOutputAnswer(__dirname + 'output/04 - horizontal stripes.txt');
5151
});
5252

53-
test('Codingame', function() {
53+
test("Codingame", function() {
5454
let inputFile = new File(__dirname + 'input/05 - codingame.txt');
5555

5656
execute(inputFile.readline.bind(inputFile));
5757

5858
assertOutputAnswer(__dirname + 'output/05 - codingame.txt');
5959
});
6060

61-
test('Invalid', function() {
61+
test("Invalid", function() {
6262
let inputFile = new File(__dirname + 'input/06 - invalid.txt');
6363

6464
execute(inputFile.readline.bind(inputFile));
@@ -69,7 +69,7 @@ suite('Binary image', function() {
6969
);
7070
});
7171

72-
test('Random', function() {
72+
test("Random", function() {
7373
let inputFile = new File(__dirname + 'input/07 - random.txt');
7474

7575
execute(inputFile.readline.bind(inputFile));

test/community/training/easy/blowingFuse/CGTest.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { execute } from '../../../../../lib/community/training/easy/blowingFuse/
66

77
const __dirname = new URL('.', import.meta.url).pathname;
88

9-
suite('Blowing fuse', function() {
9+
suite("Blowing fuse", function() {
1010
const sandbox = sinon.createSandbox();
1111

1212
setup(function () {
@@ -18,7 +18,7 @@ suite('Blowing fuse', function() {
1818
});
1919

2020

21-
test('Blown', function() {
21+
test("Blown", function() {
2222
let inputFile = new File(__dirname + 'input/01 - blown.txt');
2323

2424
execute(inputFile.readline.bind(inputFile));
@@ -29,15 +29,15 @@ suite('Blowing fuse', function() {
2929
);
3030
});
3131

32-
test('Not blown', function() {
32+
test("Not blown", function() {
3333
let inputFile = new File(__dirname + 'input/02 - not blown.txt');
3434

3535
execute(inputFile.readline.bind(inputFile));
3636

3737
assertOutputAnswer(__dirname + 'output/02 - not blown.txt');
3838
});
3939

40-
test('Single device', function() {
40+
test("Single device", function() {
4141
let inputFile = new File(__dirname + 'input/03 - single device.txt');
4242

4343
execute(inputFile.readline.bind(inputFile));
@@ -48,23 +48,23 @@ suite('Blowing fuse', function() {
4848
);
4949
});
5050

51-
test('More devices', function() {
51+
test("More devices", function() {
5252
let inputFile = new File(__dirname + 'input/04 - more device.txt');
5353

5454
execute(inputFile.readline.bind(inputFile));
5555

5656
assertOutputAnswer(__dirname + 'output/04 - more device.txt');
5757
});
5858

59-
test('More clicks, more devices', function() {
59+
test("More clicks, more devices", function() {
6060
let inputFile = new File(__dirname + 'input/05 - more clicks, more devices.txt');
6161

6262
execute(inputFile.readline.bind(inputFile));
6363

6464
assertOutputAnswer(__dirname + 'output/05 - more clicks, more devices.txt');
6565
});
6666

67-
test('Power hungry', function() {
67+
test("Power hungry", function() {
6868
let inputFile = new File(__dirname + 'input/06 - power hungry.txt');
6969

7070
execute(inputFile.readline.bind(inputFile));

test/community/training/easy/containerTerminal/CGTest.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { execute } from '../../../../../lib/community/training/easy/containerTer
66

77
const __dirname = new URL('.', import.meta.url).pathname;
88

9-
suite('Container terminal', function() {
9+
suite("Container terminal", function() {
1010
const sandbox = sinon.createSandbox();
1111

1212
setup(function () {
@@ -18,39 +18,39 @@ suite('Container terminal', function() {
1818
});
1919

2020

21-
test('Easy', function() {
21+
test("Easy", function() {
2222
let inputFile = new File(__dirname + 'input/01 - easy.txt');
2323

2424
execute(inputFile.readline.bind(inputFile));
2525

2626
assertOutputAnswer(__dirname + 'output/01 - easy.txt');
2727
});
2828

29-
test('15', function() {
29+
test("15", function() {
3030
let inputFile = new File(__dirname + 'input/02 - 15.txt');
3131

3232
execute(inputFile.readline.bind(inputFile));
3333

3434
assertOutputAnswer(__dirname + 'output/02 - 15.txt');
3535
});
3636

37-
test('30', function() {
37+
test("30", function() {
3838
let inputFile = new File(__dirname + 'input/03 - 30.txt');
3939

4040
execute(inputFile.readline.bind(inputFile));
4141

4242
assertOutputAnswer(__dirname + 'output/03 - 30.txt');
4343
});
4444

45-
test('60', function() {
45+
test("60", function() {
4646
let inputFile = new File(__dirname + 'input/04 - 60.txt');
4747

4848
execute(inputFile.readline.bind(inputFile));
4949

5050
assertOutputAnswer(__dirname + 'output/04 - 60.txt');
5151
});
5252

53-
test('Long Queue', function() {
53+
test("Long Queue", function() {
5454
let inputFile = new File(__dirname + 'input/05 - long queue.txt');
5555

5656
execute(inputFile.readline.bind(inputFile));

test/community/training/easy/creditCardVerifier/CGTest.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { execute } from '../../../../../lib/community/training/easy/creditCardVe
66

77
const __dirname = new URL('.', import.meta.url).pathname;
88

9-
suite('Container terminal', function() {
9+
suite("Container terminal", function() {
1010
const sandbox = sinon.createSandbox();
1111

1212
setup(function () {
@@ -18,31 +18,31 @@ suite('Container terminal', function() {
1818
});
1919

2020

21-
test('Tests', function() {
21+
test("Tests", function() {
2222
let inputFile = new File(__dirname + 'input/01 - tests.txt');
2323

2424
execute(inputFile.readline.bind(inputFile));
2525

2626
assertOutputAnswer(__dirname + 'output/01 - tests.txt');
2727
});
2828

29-
test('MasterCard', function() {
29+
test("MasterCard", function() {
3030
let inputFile = new File(__dirname + 'input/02 - MasterCard.txt');
3131

3232
execute(inputFile.readline.bind(inputFile));
3333

3434
assertOutputAnswer(__dirname + 'output/02 - MasterCard.txt');
3535
});
3636

37-
test('Discover', function() {
37+
test("Discover", function() {
3838
let inputFile = new File(__dirname + 'input/03 - Discover.txt');
3939

4040
execute(inputFile.readline.bind(inputFile));
4141

4242
assertOutputAnswer(__dirname + 'output/03 - Discover.txt');
4343
});
4444

45-
test('VISA', function() {
45+
test("VISA", function() {
4646
let inputFile = new File(__dirname + 'input/04 - VISA.txt');
4747

4848
execute(inputFile.readline.bind(inputFile));

test/community/training/easy/dolbearsLaw/CGTest.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ suite("Dolbear's Law", function() {
1818
});
1919

2020

21-
test('The random is in the spring', function() {
21+
test("The random is in the spring", function() {
2222
let inputFile = new File(__dirname + 'input/01 - the random is in the spring.txt');
2323

2424
execute(inputFile.readline.bind(inputFile));
2525

2626
assertOutputAnswer(__dirname + 'output/01 - the random is in the spring.txt');
2727
});
2828

29-
test('Winter is coming', function() {
29+
test("Winter is coming", function() {
3030
let inputFile = new File(__dirname + 'input/02 - winter is coming.txt');
3131

3232
execute(inputFile.readline.bind(inputFile));
@@ -37,15 +37,15 @@ suite("Dolbear's Law", function() {
3737
);
3838
});
3939

40-
test('Jiminy beats the measure', function() {
40+
test("Jiminy beats the measure", function() {
4141
let inputFile = new File(__dirname + 'input/03 - jiminy beats the measure.txt');
4242

4343
execute(inputFile.readline.bind(inputFile));
4444

4545
assertOutputAnswer(__dirname + 'output/03 - jiminy beats the measure.txt');
4646
});
4747

48-
test('Jiminy nearly died of cold...', function() {
48+
test("Jiminy nearly died of cold...", function() {
4949
let inputFile = new File(__dirname + 'input/04 - jiminy nearly died of cold.txt');
5050

5151
execute(inputFile.readline.bind(inputFile));
@@ -56,15 +56,15 @@ suite("Dolbear's Law", function() {
5656
);
5757
});
5858

59-
test('An hour in summer', function() {
59+
test("An hour in summer", function() {
6060
let inputFile = new File(__dirname + 'input/05 - an hour in summer.txt');
6161

6262
execute(inputFile.readline.bind(inputFile));
6363

6464
assertOutputAnswer(__dirname + 'output/05 - an hour in summer.txt');
6565
});
6666

67-
test('30MinutesOfHeatWave', function() {
67+
test("30MinutesOfHeatWave", function() {
6868
let inputFile = new File(__dirname + 'input/06 - 30 minutes of heat wave.txt');
6969

7070
execute(inputFile.readline.bind(inputFile));

0 commit comments

Comments
 (0)