Skip to content

Commit fa3d867

Browse files
committed
Problem 1 boilerplate and tests
1 parent 7396a2a commit fa3d867

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
export function multiplesOf3and5(number) {
2+
// Good luck!
3+
return true;
4+
}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import { multiplesOf3and5 } from './001-multiples-of-3-and-5';
2+
3+
test('multiplesOf3and5(1000) should return 233168', () => {
4+
expect(multiplesOf3and5(1000)).toBe(233168);
5+
});
6+
7+
test('multiplesOf3and5(49) should return 543', () => {
8+
expect(multiplesOf3and5(49)).toBe(543);
9+
});
10+
11+
test('multiplesOf3and5(19564) should return 89301183', () => {
12+
expect(multiplesOf3and5(19564)).toBe(89301183);
13+
});
14+
15+
test('multiplesOf3and5(8456) should return 16687353', () => {
16+
expect(multiplesOf3and5(8456)).toBe(16687353);
17+
});

0 commit comments

Comments
 (0)