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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: de05c3cb196794d1fcb7efdf1927f8ea001284c6
4
- data.tar.gz: 43bc093840d44d5e958228bd019eac27d9ea7856
3
+ metadata.gz: e6a361663601344844c97919e454ef5819526f51
4
+ data.tar.gz: afa2c4f077698012ffd9437dec88ce3eb52aa353
5
5
  SHA512:
6
- metadata.gz: 485b6ee9100a899bb2b5fcdf23b6f3369bb74d4b10f21c54093b22f225c0e5e4ea76d8bcb8ff38b2f19d88ce23f8f2a8317beade958f6b04d49c7e7659280489
7
- data.tar.gz: 35ba23c29c2058c31b48f87fc2ae17483c7a376899819fd2604714f12de17ee07053cf2f1e3bb89c8c67045c49dec41e0417b436b09508de79aaa80dd799d9db
6
+ metadata.gz: d20e009997334aebadc8b916e9738c74aa04b7bb3c612a5a190364f03f7272d805f4b56a2bf4569ae6bfcda829123790a78c84310fa34030bae0d7c791c54a48
7
+ data.tar.gz: 2edaab4c0d451a179adae8d66c7d56a9871ec9f0b4885dce570b962829818b069a63d8bacde6bb2b4679fcd29278d5eaa3b01e65e5ac6be591b191837df406a6
@@ -1,3 +1,3 @@
1
1
  module Trackler
2
- VERSION = "2.2.1.31"
2
+ VERSION = "2.2.1.32"
3
3
  end
@@ -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);
@@ -6,7 +6,9 @@
6
6
  "core": true,
7
7
  "difficulty": 1,
8
8
  "slug": "hello-world",
9
- "topics": null,
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.31
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-16 00:00:00.000000000 Z
11
+ date: 2017-09-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubyzip