Skip to content

Commit 6bf1bcd

Browse files
committed
Make room for 2017.
1 parent 4b55f4e commit 6bf1bcd

Some content is hidden

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

45 files changed

+91
-74
lines changed

.editorconfig

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# EditorConfig: http://EditorConfig.org
2+
3+
root = true
4+
5+
[*]
6+
end_of_line = lf
7+
charset = utf-8
8+
trim_trailing_whitespace = true
9+
insert_final_newline = true
10+
indent_style = space
11+
indent_size = 2
12+
13+
[package.json]
14+
indent_style = space
15+
indent_size = 2

01/test.js

Lines changed: 0 additions & 24 deletions
This file was deleted.
File renamed without changes.

01/input renamed to 2015/01/input

File renamed without changes.

01/silver.js renamed to 2015/01/silver.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import Bacon from 'baconjs'
2-
import sum from '../lib/sum'
2+
import sum from '../../lib/sum'
33

44
export default input$ => input$
55
.flatMap(input => Bacon.fromArray(input.split('')))

2015/01/test.js

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
/* eslint-env mocha */
2+
3+
import describeTestCases from '../../lib/describe-test-cases'
4+
5+
import silver from './silver'
6+
import gold from './gold'
7+
8+
describe('2015-12-01', () => {
9+
describeTestCases('silver', silver, [
10+
['(())', 0],
11+
['()()', 0],
12+
['(((', 3],
13+
['(()(()(', 3],
14+
['))(((((', 3],
15+
['())', -1],
16+
['))(', -1],
17+
[')))', -3],
18+
[')())())', -3]
19+
])
20+
describeTestCases('gold', gold, [
21+
[')', 1],
22+
['()())', 5]
23+
])
24+
})
File renamed without changes.

02/gold.js renamed to 2015/02/gold.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import Bacon from 'baconjs'
2-
import sum from '../lib/sum'
2+
import sum from '../../lib/sum'
33
import lengthOfRibbon from './length-of-ribbon'
4-
import numericCompare from '../lib/numeric-compare'
4+
import numericCompare from '../../lib/numeric-compare'
55

66
const OK_LINE = /\d+x\d+x\d+/
77

02/input renamed to 2015/02/input

File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)