File tree Expand file tree Collapse file tree 3 files changed +19
-3
lines changed
exercises/practice/crypto-square Expand file tree Collapse file tree 3 files changed +19
-3
lines changed Original file line number Diff line number Diff line change 44 ],
55 "contributors" : [
66 " diego-caceres" ,
7+ " jagdish-15" ,
78 " ntshcalleia" ,
89 " rchavarria" ,
910 " ryanplusplus" ,
Original file line number Diff line number Diff line change 1- # This is an auto-generated file. Regular comments will be removed when this
2- # file is regenerated. Regenerating will not touch any manually added keys,
3- # so comments can be added in a "comment" key.
1+ # This is an auto-generated file.
2+ #
3+ # Regenerating this file via `configlet sync` will:
4+ # - Recreate every `description` key/value pair
5+ # - Recreate every `reimplements` key/value pair, where they exist in problem-specifications
6+ # - Remove any `include = true` key/value pair (an omitted `include` key implies inclusion)
7+ # - Preserve any other key/value pair
8+ #
9+ # As user-added comments (using the # character) will be removed when this file
10+ # is regenerated, comments can be added via a `comment` key.
411
512[407c3837-9aa7-4111-ab63-ec54b58e8e9f ]
613description = " empty plaintext results in an empty ciphertext"
714
15+ [aad04a25-b8bb-4304-888b-581bea8e0040 ]
16+ description = " normalization results in empty plaintext"
17+
818[64131d65-6fd9-4f58-bdd8-4a2370fb481d ]
919description = " Lowercase"
1020
Original file line number Diff line number Diff line change @@ -7,6 +7,11 @@ describe('Crypto', () => {
77 expect ( crypto . ciphertext ) . toEqual ( '' ) ;
88 } ) ;
99
10+ test ( 'normalization results in empty plaintext' , ( ) => {
11+ const crypto = new Crypto ( '... --- ...' ) ;
12+ expect ( crypto . ciphertext ) . toEqual ( '' ) ;
13+ } ) ;
14+
1015 xtest ( 'Lowercase' , ( ) => {
1116 const crypto = new Crypto ( 'A' ) ;
1217 expect ( crypto . ciphertext ) . toEqual ( 'a' ) ;
You can’t perform that action at this time.
0 commit comments