trackler 2.2.1.31 → 2.2.1.32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/trackler/version.rb +1 -1
- data/tracks/c/exercises/acronym/test/test_acronym.c +16 -0
- data/tracks/java/config.json +4 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e6a361663601344844c97919e454ef5819526f51
|
4
|
+
data.tar.gz: afa2c4f077698012ffd9437dec88ce3eb52aa353
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d20e009997334aebadc8b916e9738c74aa04b7bb3c612a5a190364f03f7272d805f4b56a2bf4569ae6bfcda829123790a78c84310fa34030bae0d7c791c54a48
|
7
|
+
data.tar.gz: 2edaab4c0d451a179adae8d66c7d56a9871ec9f0b4885dce570b962829818b069a63d8bacde6bb2b4679fcd29278d5eaa3b01e65e5ac6be591b191837df406a6
|
data/lib/trackler/version.rb
CHANGED
@@ -10,6 +10,20 @@ void test_abbreviation(char *phrase, char *expected)
|
|
10
10
|
free(actual);
|
11
11
|
}
|
12
12
|
|
13
|
+
void test_null_string(void)
|
14
|
+
{
|
15
|
+
char *phrase = NULL;
|
16
|
+
char *expected = NULL;
|
17
|
+
test_abbreviation(phrase, expected);
|
18
|
+
}
|
19
|
+
|
20
|
+
void test_empty_string(void)
|
21
|
+
{
|
22
|
+
char *phrase = "";
|
23
|
+
char *expected = NULL;
|
24
|
+
test_abbreviation(phrase, expected);
|
25
|
+
}
|
26
|
+
|
13
27
|
void test_basic_abbreviation(void)
|
14
28
|
{
|
15
29
|
char *phrase = "Portable Network Graphics";
|
@@ -57,6 +71,8 @@ int main(void)
|
|
57
71
|
UnityBegin("test/test_acronym.c");
|
58
72
|
|
59
73
|
RUN_TEST(test_basic_abbreviation);
|
74
|
+
RUN_TEST(test_null_string);
|
75
|
+
RUN_TEST(test_empty_string);
|
60
76
|
RUN_TEST(test_lower_case_words);
|
61
77
|
RUN_TEST(test_punctuation);
|
62
78
|
RUN_TEST(test_all_caps_words);
|
data/tracks/java/config.json
CHANGED
@@ -6,7 +6,9 @@
|
|
6
6
|
"core": true,
|
7
7
|
"difficulty": 1,
|
8
8
|
"slug": "hello-world",
|
9
|
-
"topics":
|
9
|
+
"topics": [
|
10
|
+
"strings"
|
11
|
+
],
|
10
12
|
"unlocked_by": null,
|
11
13
|
"uuid": "f77dc7e3-35a8-4300-a7c8-2c1765e9644d"
|
12
14
|
},
|
@@ -680,4 +682,4 @@
|
|
680
682
|
],
|
681
683
|
"language": "Java",
|
682
684
|
"solution_pattern": "reference"
|
683
|
-
}
|
685
|
+
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trackler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.1.
|
4
|
+
version: 2.2.1.32
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Katrina Owen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-09-
|
11
|
+
date: 2017-09-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubyzip
|