Skip to content

Commit 117653e

Browse files
m-dangoErikSchierboom
authored andcommitted
Add strain to generator (#417)
1 parent d21623e commit 117653e

File tree

32 files changed

+592
-69
lines changed

32 files changed

+592
-69
lines changed

exercises/practice/binary/Binary.pm

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
package Binary;
2+
3+
use strict;
4+
use warnings;
5+
6+
sub new {
7+
my ( $class, $binary ) = @_;
8+
9+
return undef;
10+
}
11+
12+
sub to_decimal {
13+
my $self = shift;
14+
15+
return undef;
16+
}
17+
18+
__PACKAGE__;

exercises/practice/etl/.meta/config.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
"authors": [],
44
"files": {
55
"solution": [
6-
"Etl.pm"
6+
"ETL.pm"
77
],
88
"test": [
99
"etl.t"
1010
],
1111
"example": [
12-
".meta/solutions/Etl.pm"
12+
".meta/solutions/ETL.pm"
1313
]
1414
},
1515
"source": "The Jumpstart Lab team",
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
package Hexadecimal;
2+
3+
use strict;
4+
use warnings;
5+
6+
sub new {
7+
my ( $class, $hexadecimal ) = @_;
8+
9+
return undef;
10+
}
11+
12+
sub to_decimal {
13+
my $self = shift;
14+
15+
return undef;
16+
}
17+
18+
__PACKAGE__;

exercises/practice/linked-list/.meta/config.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
"authors": [],
44
"files": {
55
"solution": [
6-
"LinkedList.pm"
6+
"Deque.pm"
77
],
88
"test": [
9-
"linked-list.t"
9+
"deque.t"
1010
],
1111
"example": [
12-
".meta/solutions/LinkedList.pm"
12+
".meta/solutions/Deque.pm"
1313
]
1414
},
1515
"source": "Classic computer science topic"
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
package Deque;
2+
use strict;
3+
use warnings;
4+
5+
sub new {
6+
my ($class) = @_;
7+
8+
return undef;
9+
}
10+
11+
sub push {
12+
my ( $self, $value ) = @_;
13+
14+
return undef;
15+
}
16+
17+
sub pop {
18+
my ($self) = @_;
19+
20+
return undef;
21+
}
22+
23+
sub shift {
24+
my ($self) = @_;
25+
26+
return undef;
27+
}
28+
29+
sub unshift {
30+
my ( $self, $value ) = @_;
31+
32+
return undef;
33+
}
34+
35+
package Element;
36+
use strict;
37+
use warnings;
38+
39+
sub new {
40+
my ( $class, %data ) = @_;
41+
42+
return undef;
43+
}
44+
45+
1;
46+
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
package ListOps;
2+
3+
use strict;
4+
use warnings;
5+
6+
sub map {
7+
my ( $func, $list ) = @_;
8+
9+
return undef;
10+
}
11+
12+
sub reduce {
13+
my ( $func, $list ) = @_;
14+
15+
return undef;
16+
}
17+
18+
sub length {
19+
my $list = shift;
20+
21+
return undef;
22+
}
23+
24+
1;

exercises/practice/ocr-numbers/.meta/config.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
"authors": [],
44
"files": {
55
"solution": [
6-
"OcrNumbers.pm"
6+
"OCRNumbers.pm"
77
],
88
"test": [
99
"ocr-numbers.t"
1010
],
1111
"example": [
12-
".meta/solutions/OcrNumbers.pm"
12+
".meta/solutions/OCRNumbers.pm"
1313
]
1414
},
1515
"source": "Inspired by the Bank OCR kata",

exercises/practice/palindrome-products/.meta/config.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
"authors": [],
44
"files": {
55
"solution": [
6-
"PalindromeProducts.pm"
6+
"Palindrome.pm"
77
],
88
"test": [
9-
"palindrome-products.t"
9+
"palindrome.t"
1010
],
1111
"example": [
12-
".meta/solutions/PalindromeProducts.pm"
12+
".meta/solutions/Palindrome.pm"
1313
]
1414
},
1515
"source": "Problem 4 at Project Euler",
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
package Palindrome;
2+
3+
use strict;
4+
use warnings;
5+
6+
sub new {
7+
my ( $class, $min_max ) = @_;
8+
9+
return undef;
10+
}
11+
12+
sub largest {
13+
my $self = shift;
14+
15+
return undef;
16+
}
17+
18+
sub smallest {
19+
my $self = shift;
20+
21+
return undef;
22+
}
23+
24+
1;

exercises/practice/point-mutations/.meta/config.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
"authors": [],
44
"files": {
55
"solution": [
6-
"PointMutations.pm"
6+
"DNA.pm"
77
],
88
"test": [
9-
"point-mutations.t"
9+
"dna.t"
1010
],
1111
"example": [
12-
".meta/solutions/PointMutations.pm"
12+
".meta/solutions/DNA.pm"
1313
]
1414
},
1515
"source": "The Calculating Point Mutations problem at Rosalind",

0 commit comments

Comments
 (0)