@identity-js/identity 1.3.0 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/test/mocha.js ADDED
@@ -0,0 +1,2262 @@
1
+ /* eslint-disable */
2
+ const assert = require("chai").assert
3
+ const identityStable = require("../index")
4
+
5
+ function testIdentity(identity) {
6
+ describe("identity()", () => {
7
+ it("should return the same number that was passed in", () => {
8
+ const input = 42
9
+ assert.strictEqual(
10
+ identity(input),
11
+ 42,
12
+ "The function should return the number 42.",
13
+ )
14
+ })
15
+
16
+ it("should return the same decimal that was passed in", () => {
17
+ const input = 3.2
18
+ assert.strictEqual(identity(input), 3.2, "The function should return 3.2")
19
+ })
20
+
21
+ it("should return the same negative number that was passed in", () => {
22
+ const input = -5
23
+ assert.strictEqual(
24
+ identity(input),
25
+ -5,
26
+ "The function should return the number -5.",
27
+ )
28
+ })
29
+
30
+ it("should return -0 when -0 is passed in", () => {
31
+ const input = -0
32
+ const result = identity(input)
33
+ assert.strictEqual(result, -0, "The function should return -0.")
34
+ assert.isTrue(
35
+ Object.is(result, -0),
36
+ "The function should return the exact value of -0.",
37
+ )
38
+ })
39
+
40
+ it("should return the same string that was passed in", () => {
41
+ const input = "hello world"
42
+ assert.strictEqual(
43
+ identity(input),
44
+ "hello world",
45
+ 'The function should return the string "hello world".',
46
+ )
47
+ })
48
+
49
+ it("should return an empty string", () => {
50
+ assert.strictEqual(identity(""), "")
51
+ })
52
+
53
+ it("should return the same object reference that was passed in", () => {
54
+ const inputObject = { a: 1, b: "test" }
55
+ const result = identity(inputObject)
56
+ assert.strictEqual(
57
+ result,
58
+ inputObject,
59
+ "The function should return the exact same object reference.",
60
+ )
61
+ assert.deepEqual(
62
+ result,
63
+ { a: 1, b: "test" },
64
+ "The object content should be the same.",
65
+ )
66
+ })
67
+
68
+ it("should return the same boolean value (true)", () => {
69
+ const input = true
70
+ assert.strictEqual(
71
+ identity(input),
72
+ true,
73
+ "The function should return the boolean true.",
74
+ )
75
+ })
76
+
77
+ it("should return the same boolean value (false)", () => {
78
+ assert.strictEqual(identity(false), false)
79
+ })
80
+
81
+ it("should return null when null is passed in", () => {
82
+ const input = null
83
+ assert.strictEqual(
84
+ identity(input),
85
+ null,
86
+ "The function should return null.",
87
+ )
88
+ })
89
+
90
+ it("should return undefined when undefined is passed in", () => {
91
+ const input = undefined
92
+ assert.strictEqual(
93
+ identity(input),
94
+ undefined,
95
+ "The function should return undefined.",
96
+ )
97
+ })
98
+
99
+ it("should return NaN when NaN is passed in", () => {
100
+ const input = NaN
101
+ assert.isNaN(identity(input), "The function should return NaN")
102
+ })
103
+
104
+ it("should return Infinity when Infinity is passed in", () => {
105
+ const input = Infinity
106
+ assert.strictEqual(
107
+ identity(input),
108
+ Infinity,
109
+ "The function should return infinity",
110
+ )
111
+ })
112
+
113
+ it("should return -Infinity", () => {
114
+ assert.strictEqual(identity(-Infinity), -Infinity)
115
+ })
116
+
117
+ it("should return the same BigInt", () => {
118
+ const input = BigInt(9007199254740991)
119
+ assert.strictEqual(identity(input), input)
120
+ })
121
+
122
+ it("should return the same Symbol", () => {
123
+ const sym = Symbol("foo")
124
+ assert.strictEqual(identity(sym), sym)
125
+ })
126
+
127
+ it("should return the same array reference", () => {
128
+ const arr = [1, 2, 3]
129
+ assert.strictEqual(identity(arr), arr)
130
+ })
131
+
132
+ it("should return the same function reference", () => {
133
+ const fn = (x) => x
134
+ assert.strictEqual(identity(fn), fn)
135
+ })
136
+
137
+ it("should return the same Date object reference", () => {
138
+ const date = new Date()
139
+ assert.strictEqual(identity(date), date)
140
+ })
141
+
142
+ it("should return the same RegExp object reference", () => {
143
+ const re = /abc/g
144
+ assert.strictEqual(identity(re), re)
145
+ })
146
+
147
+ it("should return the same Map reference", () => {
148
+ const map = new Map()
149
+ assert.strictEqual(identity(map), map)
150
+ })
151
+
152
+ it("should return the same Set reference", () => {
153
+ const set = new Set()
154
+ assert.strictEqual(identity(set), set)
155
+ })
156
+
157
+ it("should return the same TypedArray reference", () => {
158
+ const buffer = new Int8Array(8)
159
+ assert.strictEqual(identity(buffer), buffer)
160
+ })
161
+
162
+ it("should return the same error object", () => {
163
+ const err = new Error("fail")
164
+ assert.strictEqual(identity(err), err)
165
+ })
166
+
167
+ it("should return the same arguments object", function () {
168
+ assert.strictEqual(identity(arguments), arguments)
169
+ })
170
+
171
+ it("should return the same class reference", () => {
172
+ class Test {}
173
+ assert.strictEqual(identity(Test), Test)
174
+ })
175
+
176
+ it("should handle objects with custom valueOf or toString", () => {
177
+ const obj = {
178
+ valueOf: () => 10,
179
+ toString: () => "custom",
180
+ }
181
+ assert.strictEqual(identity(obj), obj)
182
+ })
183
+
184
+ it("should return a promise reference without resolving it", () => {
185
+ const promise = Promise.resolve(true)
186
+ assert.strictEqual(identity(promise), promise)
187
+ })
188
+
189
+ describe("Identity Tests for 0-200", function () {
190
+ it("should return 0 for input 0", function () {
191
+ assert.strictEqual(identity(0), 0)
192
+ })
193
+ it("should return 1 for input 1", function () {
194
+ assert.strictEqual(identity(1), 1)
195
+ })
196
+ it("should return 2 for input 2", function () {
197
+ assert.strictEqual(identity(2), 2)
198
+ })
199
+ it("should return 3 for input 3", function () {
200
+ assert.strictEqual(identity(3), 3)
201
+ })
202
+ it("should return 4 for input 4", function () {
203
+ assert.strictEqual(identity(4), 4)
204
+ })
205
+ it("should return 5 for input 5", function () {
206
+ assert.strictEqual(identity(5), 5)
207
+ })
208
+ it("should return 6 for input 6", function () {
209
+ assert.strictEqual(identity(6), 6)
210
+ })
211
+ it("should return 7 for input 7", function () {
212
+ assert.strictEqual(identity(7), 7)
213
+ })
214
+ it("should return 8 for input 8", function () {
215
+ assert.strictEqual(identity(8), 8)
216
+ })
217
+ it("should return 9 for input 9", function () {
218
+ assert.strictEqual(identity(9), 9)
219
+ })
220
+ it("should return 10 for input 10", function () {
221
+ assert.strictEqual(identity(10), 10)
222
+ })
223
+ it("should return 11 for input 11", function () {
224
+ assert.strictEqual(identity(11), 11)
225
+ })
226
+ it("should return 12 for input 12", function () {
227
+ assert.strictEqual(identity(12), 12)
228
+ })
229
+ it("should return 13 for input 13", function () {
230
+ assert.strictEqual(identity(13), 13)
231
+ })
232
+ it("should return 14 for input 14", function () {
233
+ assert.strictEqual(identity(14), 14)
234
+ })
235
+ it("should return 15 for input 15", function () {
236
+ assert.strictEqual(identity(15), 15)
237
+ })
238
+ it("should return 16 for input 16", function () {
239
+ assert.strictEqual(identity(16), 16)
240
+ })
241
+ it("should return 17 for input 17", function () {
242
+ assert.strictEqual(identity(17), 17)
243
+ })
244
+ it("should return 18 for input 18", function () {
245
+ assert.strictEqual(identity(18), 18)
246
+ })
247
+ it("should return 19 for input 19", function () {
248
+ assert.strictEqual(identity(19), 19)
249
+ })
250
+ it("should return 20 for input 20", function () {
251
+ assert.strictEqual(identity(20), 20)
252
+ })
253
+ it("should return 21 for input 21", function () {
254
+ assert.strictEqual(identity(21), 21)
255
+ })
256
+ it("should return 22 for input 22", function () {
257
+ assert.strictEqual(identity(22), 22)
258
+ })
259
+ it("should return 23 for input 23", function () {
260
+ assert.strictEqual(identity(23), 23)
261
+ })
262
+ it("should return 24 for input 24", function () {
263
+ assert.strictEqual(identity(24), 24)
264
+ })
265
+ it("should return 25 for input 25", function () {
266
+ assert.strictEqual(identity(25), 25)
267
+ })
268
+ it("should return 26 for input 26", function () {
269
+ assert.strictEqual(identity(26), 26)
270
+ })
271
+ it("should return 27 for input 27", function () {
272
+ assert.strictEqual(identity(27), 27)
273
+ })
274
+ it("should return 28 for input 28", function () {
275
+ assert.strictEqual(identity(28), 28)
276
+ })
277
+ it("should return 29 for input 29", function () {
278
+ assert.strictEqual(identity(29), 29)
279
+ })
280
+ it("should return 30 for input 30", function () {
281
+ assert.strictEqual(identity(30), 30)
282
+ })
283
+ it("should return 31 for input 31", function () {
284
+ assert.strictEqual(identity(31), 31)
285
+ })
286
+ it("should return 32 for input 32", function () {
287
+ assert.strictEqual(identity(32), 32)
288
+ })
289
+ it("should return 33 for input 33", function () {
290
+ assert.strictEqual(identity(33), 33)
291
+ })
292
+ it("should return 34 for input 34", function () {
293
+ assert.strictEqual(identity(34), 34)
294
+ })
295
+ it("should return 35 for input 35", function () {
296
+ assert.strictEqual(identity(35), 35)
297
+ })
298
+ it("should return 36 for input 36", function () {
299
+ assert.strictEqual(identity(36), 36)
300
+ })
301
+ it("should return 37 for input 37", function () {
302
+ assert.strictEqual(identity(37), 37)
303
+ })
304
+ it("should return 38 for input 38", function () {
305
+ assert.strictEqual(identity(38), 38)
306
+ })
307
+ it("should return 39 for input 39", function () {
308
+ assert.strictEqual(identity(39), 39)
309
+ })
310
+ it("should return 40 for input 40", function () {
311
+ assert.strictEqual(identity(40), 40)
312
+ })
313
+ it("should return 41 for input 41", function () {
314
+ assert.strictEqual(identity(41), 41)
315
+ })
316
+ it("should return 42 for input 42", function () {
317
+ assert.strictEqual(identity(42), 42)
318
+ })
319
+ it("should return 43 for input 43", function () {
320
+ assert.strictEqual(identity(43), 43)
321
+ })
322
+ it("should return 44 for input 44", function () {
323
+ assert.strictEqual(identity(44), 44)
324
+ })
325
+ it("should return 45 for input 45", function () {
326
+ assert.strictEqual(identity(45), 45)
327
+ })
328
+ it("should return 46 for input 46", function () {
329
+ assert.strictEqual(identity(46), 46)
330
+ })
331
+ it("should return 47 for input 47", function () {
332
+ assert.strictEqual(identity(47), 47)
333
+ })
334
+ it("should return 48 for input 48", function () {
335
+ assert.strictEqual(identity(48), 48)
336
+ })
337
+ it("should return 49 for input 49", function () {
338
+ assert.strictEqual(identity(49), 49)
339
+ })
340
+ it("should return 50 for input 50", function () {
341
+ assert.strictEqual(identity(50), 50)
342
+ })
343
+ it("should return 51 for input 51", function () {
344
+ assert.strictEqual(identity(51), 51)
345
+ })
346
+ it("should return 52 for input 52", function () {
347
+ assert.strictEqual(identity(52), 52)
348
+ })
349
+ it("should return 53 for input 53", function () {
350
+ assert.strictEqual(identity(53), 53)
351
+ })
352
+ it("should return 54 for input 54", function () {
353
+ assert.strictEqual(identity(54), 54)
354
+ })
355
+ it("should return 55 for input 55", function () {
356
+ assert.strictEqual(identity(55), 55)
357
+ })
358
+ it("should return 56 for input 56", function () {
359
+ assert.strictEqual(identity(56), 56)
360
+ })
361
+ it("should return 57 for input 57", function () {
362
+ assert.strictEqual(identity(57), 57)
363
+ })
364
+ it("should return 58 for input 58", function () {
365
+ assert.strictEqual(identity(58), 58)
366
+ })
367
+ it("should return 59 for input 59", function () {
368
+ assert.strictEqual(identity(59), 59)
369
+ })
370
+ it("should return 60 for input 60", function () {
371
+ assert.strictEqual(identity(60), 60)
372
+ })
373
+ it("should return 61 for input 61", function () {
374
+ assert.strictEqual(identity(61), 61)
375
+ })
376
+ it("should return 62 for input 62", function () {
377
+ assert.strictEqual(identity(62), 62)
378
+ })
379
+ it("should return 63 for input 63", function () {
380
+ assert.strictEqual(identity(63), 63)
381
+ })
382
+ it("should return 64 for input 64", function () {
383
+ assert.strictEqual(identity(64), 64)
384
+ })
385
+ it("should return 65 for input 65", function () {
386
+ assert.strictEqual(identity(65), 65)
387
+ })
388
+ it("should return 66 for input 66", function () {
389
+ assert.strictEqual(identity(66), 66)
390
+ })
391
+ it("should return 67 for input 67", function () {
392
+ assert.strictEqual(identity(67), 67)
393
+ })
394
+ it("should return 68 for input 68", function () {
395
+ assert.strictEqual(identity(68), 68)
396
+ })
397
+ it("should return 69 for input 69", function () {
398
+ assert.strictEqual(identity(69), 69)
399
+ })
400
+ it("should return 70 for input 70", function () {
401
+ assert.strictEqual(identity(70), 70)
402
+ })
403
+ it("should return 71 for input 71", function () {
404
+ assert.strictEqual(identity(71), 71)
405
+ })
406
+ it("should return 72 for input 72", function () {
407
+ assert.strictEqual(identity(72), 72)
408
+ })
409
+ it("should return 73 for input 73", function () {
410
+ assert.strictEqual(identity(73), 73)
411
+ })
412
+ it("should return 74 for input 74", function () {
413
+ assert.strictEqual(identity(74), 74)
414
+ })
415
+ it("should return 75 for input 75", function () {
416
+ assert.strictEqual(identity(75), 75)
417
+ })
418
+ it("should return 76 for input 76", function () {
419
+ assert.strictEqual(identity(76), 76)
420
+ })
421
+ it("should return 77 for input 77", function () {
422
+ assert.strictEqual(identity(77), 77)
423
+ })
424
+ it("should return 78 for input 78", function () {
425
+ assert.strictEqual(identity(78), 78)
426
+ })
427
+ it("should return 79 for input 79", function () {
428
+ assert.strictEqual(identity(79), 79)
429
+ })
430
+ it("should return 80 for input 80", function () {
431
+ assert.strictEqual(identity(80), 80)
432
+ })
433
+ it("should return 81 for input 81", function () {
434
+ assert.strictEqual(identity(81), 81)
435
+ })
436
+ it("should return 82 for input 82", function () {
437
+ assert.strictEqual(identity(82), 82)
438
+ })
439
+ it("should return 83 for input 83", function () {
440
+ assert.strictEqual(identity(83), 83)
441
+ })
442
+ it("should return 84 for input 84", function () {
443
+ assert.strictEqual(identity(84), 84)
444
+ })
445
+ it("should return 85 for input 85", function () {
446
+ assert.strictEqual(identity(85), 85)
447
+ })
448
+ it("should return 86 for input 86", function () {
449
+ assert.strictEqual(identity(86), 86)
450
+ })
451
+ it("should return 87 for input 87", function () {
452
+ assert.strictEqual(identity(87), 87)
453
+ })
454
+ it("should return 88 for input 88", function () {
455
+ assert.strictEqual(identity(88), 88)
456
+ })
457
+ it("should return 89 for input 89", function () {
458
+ assert.strictEqual(identity(89), 89)
459
+ })
460
+ it("should return 90 for input 90", function () {
461
+ assert.strictEqual(identity(90), 90)
462
+ })
463
+ it("should return 91 for input 91", function () {
464
+ assert.strictEqual(identity(91), 91)
465
+ })
466
+ it("should return 92 for input 92", function () {
467
+ assert.strictEqual(identity(92), 92)
468
+ })
469
+ it("should return 93 for input 93", function () {
470
+ assert.strictEqual(identity(93), 93)
471
+ })
472
+ it("should return 94 for input 94", function () {
473
+ assert.strictEqual(identity(94), 94)
474
+ })
475
+ it("should return 95 for input 95", function () {
476
+ assert.strictEqual(identity(95), 95)
477
+ })
478
+ it("should return 96 for input 96", function () {
479
+ assert.strictEqual(identity(96), 96)
480
+ })
481
+ it("should return 97 for input 97", function () {
482
+ assert.strictEqual(identity(97), 97)
483
+ })
484
+ it("should return 98 for input 98", function () {
485
+ assert.strictEqual(identity(98), 98)
486
+ })
487
+ it("should return 99 for input 99", function () {
488
+ assert.strictEqual(identity(99), 99)
489
+ })
490
+ it("should return 100 for input 100", function () {
491
+ assert.strictEqual(identity(100), 100)
492
+ })
493
+ it("should return 101 for input 101", function () {
494
+ assert.strictEqual(identity(101), 101)
495
+ })
496
+ it("should return 102 for input 102", function () {
497
+ assert.strictEqual(identity(102), 102)
498
+ })
499
+ it("should return 103 for input 103", function () {
500
+ assert.strictEqual(identity(103), 103)
501
+ })
502
+ it("should return 104 for input 104", function () {
503
+ assert.strictEqual(identity(104), 104)
504
+ })
505
+ it("should return 105 for input 105", function () {
506
+ assert.strictEqual(identity(105), 105)
507
+ })
508
+ it("should return 106 for input 106", function () {
509
+ assert.strictEqual(identity(106), 106)
510
+ })
511
+ it("should return 107 for input 107", function () {
512
+ assert.strictEqual(identity(107), 107)
513
+ })
514
+ it("should return 108 for input 108", function () {
515
+ assert.strictEqual(identity(108), 108)
516
+ })
517
+ it("should return 109 for input 109", function () {
518
+ assert.strictEqual(identity(109), 109)
519
+ })
520
+ it("should return 110 for input 110", function () {
521
+ assert.strictEqual(identity(110), 110)
522
+ })
523
+ it("should return 111 for input 111", function () {
524
+ assert.strictEqual(identity(111), 111)
525
+ })
526
+ it("should return 112 for input 112", function () {
527
+ assert.strictEqual(identity(112), 112)
528
+ })
529
+ it("should return 113 for input 113", function () {
530
+ assert.strictEqual(identity(113), 113)
531
+ })
532
+ it("should return 114 for input 114", function () {
533
+ assert.strictEqual(identity(114), 114)
534
+ })
535
+ it("should return 115 for input 115", function () {
536
+ assert.strictEqual(identity(115), 115)
537
+ })
538
+ it("should return 116 for input 116", function () {
539
+ assert.strictEqual(identity(116), 116)
540
+ })
541
+ it("should return 117 for input 117", function () {
542
+ assert.strictEqual(identity(117), 117)
543
+ })
544
+ it("should return 118 for input 118", function () {
545
+ assert.strictEqual(identity(118), 118)
546
+ })
547
+ it("should return 119 for input 119", function () {
548
+ assert.strictEqual(identity(119), 119)
549
+ })
550
+ it("should return 120 for input 120", function () {
551
+ assert.strictEqual(identity(120), 120)
552
+ })
553
+ it("should return 121 for input 121", function () {
554
+ assert.strictEqual(identity(121), 121)
555
+ })
556
+ it("should return 122 for input 122", function () {
557
+ assert.strictEqual(identity(122), 122)
558
+ })
559
+ it("should return 123 for input 123", function () {
560
+ assert.strictEqual(identity(123), 123)
561
+ })
562
+ it("should return 124 for input 124", function () {
563
+ assert.strictEqual(identity(124), 124)
564
+ })
565
+ it("should return 125 for input 125", function () {
566
+ assert.strictEqual(identity(125), 125)
567
+ })
568
+ it("should return 126 for input 126", function () {
569
+ assert.strictEqual(identity(126), 126)
570
+ })
571
+ it("should return 127 for input 127", function () {
572
+ assert.strictEqual(identity(127), 127)
573
+ })
574
+ it("should return 128 for input 128", function () {
575
+ assert.strictEqual(identity(128), 128)
576
+ })
577
+ it("should return 129 for input 129", function () {
578
+ assert.strictEqual(identity(129), 129)
579
+ })
580
+ it("should return 130 for input 130", function () {
581
+ assert.strictEqual(identity(130), 130)
582
+ })
583
+ it("should return 131 for input 131", function () {
584
+ assert.strictEqual(identity(131), 131)
585
+ })
586
+ it("should return 132 for input 132", function () {
587
+ assert.strictEqual(identity(132), 132)
588
+ })
589
+ it("should return 133 for input 133", function () {
590
+ assert.strictEqual(identity(133), 133)
591
+ })
592
+ it("should return 134 for input 134", function () {
593
+ assert.strictEqual(identity(134), 134)
594
+ })
595
+ it("should return 135 for input 135", function () {
596
+ assert.strictEqual(identity(135), 135)
597
+ })
598
+ it("should return 136 for input 136", function () {
599
+ assert.strictEqual(identity(136), 136)
600
+ })
601
+ it("should return 137 for input 137", function () {
602
+ assert.strictEqual(identity(137), 137)
603
+ })
604
+ it("should return 138 for input 138", function () {
605
+ assert.strictEqual(identity(138), 138)
606
+ })
607
+ it("should return 139 for input 139", function () {
608
+ assert.strictEqual(identity(139), 139)
609
+ })
610
+ it("should return 140 for input 140", function () {
611
+ assert.strictEqual(identity(140), 140)
612
+ })
613
+ it("should return 141 for input 141", function () {
614
+ assert.strictEqual(identity(141), 141)
615
+ })
616
+ it("should return 142 for input 142", function () {
617
+ assert.strictEqual(identity(142), 142)
618
+ })
619
+ it("should return 143 for input 143", function () {
620
+ assert.strictEqual(identity(143), 143)
621
+ })
622
+ it("should return 144 for input 144", function () {
623
+ assert.strictEqual(identity(144), 144)
624
+ })
625
+ it("should return 145 for input 145", function () {
626
+ assert.strictEqual(identity(145), 145)
627
+ })
628
+ it("should return 146 for input 146", function () {
629
+ assert.strictEqual(identity(146), 146)
630
+ })
631
+ it("should return 147 for input 147", function () {
632
+ assert.strictEqual(identity(147), 147)
633
+ })
634
+ it("should return 148 for input 148", function () {
635
+ assert.strictEqual(identity(148), 148)
636
+ })
637
+ it("should return 149 for input 149", function () {
638
+ assert.strictEqual(identity(149), 149)
639
+ })
640
+ it("should return 150 for input 150", function () {
641
+ assert.strictEqual(identity(150), 150)
642
+ })
643
+ it("should return 151 for input 151", function () {
644
+ assert.strictEqual(identity(151), 151)
645
+ })
646
+ it("should return 152 for input 152", function () {
647
+ assert.strictEqual(identity(152), 152)
648
+ })
649
+ it("should return 153 for input 153", function () {
650
+ assert.strictEqual(identity(153), 153)
651
+ })
652
+ it("should return 154 for input 154", function () {
653
+ assert.strictEqual(identity(154), 154)
654
+ })
655
+ it("should return 155 for input 155", function () {
656
+ assert.strictEqual(identity(155), 155)
657
+ })
658
+ it("should return 156 for input 156", function () {
659
+ assert.strictEqual(identity(156), 156)
660
+ })
661
+ it("should return 157 for input 157", function () {
662
+ assert.strictEqual(identity(157), 157)
663
+ })
664
+ it("should return 158 for input 158", function () {
665
+ assert.strictEqual(identity(158), 158)
666
+ })
667
+ it("should return 159 for input 159", function () {
668
+ assert.strictEqual(identity(159), 159)
669
+ })
670
+ it("should return 160 for input 160", function () {
671
+ assert.strictEqual(identity(160), 160)
672
+ })
673
+ it("should return 161 for input 161", function () {
674
+ assert.strictEqual(identity(161), 161)
675
+ })
676
+ it("should return 162 for input 162", function () {
677
+ assert.strictEqual(identity(162), 162)
678
+ })
679
+ it("should return 163 for input 163", function () {
680
+ assert.strictEqual(identity(163), 163)
681
+ })
682
+ it("should return 164 for input 164", function () {
683
+ assert.strictEqual(identity(164), 164)
684
+ })
685
+ it("should return 165 for input 165", function () {
686
+ assert.strictEqual(identity(165), 165)
687
+ })
688
+ it("should return 166 for input 166", function () {
689
+ assert.strictEqual(identity(166), 166)
690
+ })
691
+ it("should return 167 for input 167", function () {
692
+ assert.strictEqual(identity(167), 167)
693
+ })
694
+ it("should return 168 for input 168", function () {
695
+ assert.strictEqual(identity(168), 168)
696
+ })
697
+ it("should return 169 for input 169", function () {
698
+ assert.strictEqual(identity(169), 169)
699
+ })
700
+ it("should return 170 for input 170", function () {
701
+ assert.strictEqual(identity(170), 170)
702
+ })
703
+ it("should return 171 for input 171", function () {
704
+ assert.strictEqual(identity(171), 171)
705
+ })
706
+ it("should return 172 for input 172", function () {
707
+ assert.strictEqual(identity(172), 172)
708
+ })
709
+ it("should return 173 for input 173", function () {
710
+ assert.strictEqual(identity(173), 173)
711
+ })
712
+ it("should return 174 for input 174", function () {
713
+ assert.strictEqual(identity(174), 174)
714
+ })
715
+ it("should return 175 for input 175", function () {
716
+ assert.strictEqual(identity(175), 175)
717
+ })
718
+ it("should return 176 for input 176", function () {
719
+ assert.strictEqual(identity(176), 176)
720
+ })
721
+ it("should return 177 for input 177", function () {
722
+ assert.strictEqual(identity(177), 177)
723
+ })
724
+ it("should return 178 for input 178", function () {
725
+ assert.strictEqual(identity(178), 178)
726
+ })
727
+ it("should return 179 for input 179", function () {
728
+ assert.strictEqual(identity(179), 179)
729
+ })
730
+ it("should return 180 for input 180", function () {
731
+ assert.strictEqual(identity(180), 180)
732
+ })
733
+ it("should return 181 for input 181", function () {
734
+ assert.strictEqual(identity(181), 181)
735
+ })
736
+ it("should return 182 for input 182", function () {
737
+ assert.strictEqual(identity(182), 182)
738
+ })
739
+ it("should return 183 for input 183", function () {
740
+ assert.strictEqual(identity(183), 183)
741
+ })
742
+ it("should return 184 for input 184", function () {
743
+ assert.strictEqual(identity(184), 184)
744
+ })
745
+ it("should return 185 for input 185", function () {
746
+ assert.strictEqual(identity(185), 185)
747
+ })
748
+ it("should return 186 for input 186", function () {
749
+ assert.strictEqual(identity(186), 186)
750
+ })
751
+ it("should return 187 for input 187", function () {
752
+ assert.strictEqual(identity(187), 187)
753
+ })
754
+ it("should return 188 for input 188", function () {
755
+ assert.strictEqual(identity(188), 188)
756
+ })
757
+ it("should return 189 for input 189", function () {
758
+ assert.strictEqual(identity(189), 189)
759
+ })
760
+ it("should return 190 for input 190", function () {
761
+ assert.strictEqual(identity(190), 190)
762
+ })
763
+ it("should return 191 for input 191", function () {
764
+ assert.strictEqual(identity(191), 191)
765
+ })
766
+ it("should return 192 for input 192", function () {
767
+ assert.strictEqual(identity(192), 192)
768
+ })
769
+ it("should return 193 for input 193", function () {
770
+ assert.strictEqual(identity(193), 193)
771
+ })
772
+ it("should return 194 for input 194", function () {
773
+ assert.strictEqual(identity(194), 194)
774
+ })
775
+ it("should return 195 for input 195", function () {
776
+ assert.strictEqual(identity(195), 195)
777
+ })
778
+ it("should return 196 for input 196", function () {
779
+ assert.strictEqual(identity(196), 196)
780
+ })
781
+ it("should return 197 for input 197", function () {
782
+ assert.strictEqual(identity(197), 197)
783
+ })
784
+ it("should return 198 for input 198", function () {
785
+ assert.strictEqual(identity(198), 198)
786
+ })
787
+ it("should return 199 for input 199", function () {
788
+ assert.strictEqual(identity(199), 199)
789
+ })
790
+ it("should return 200 for input 200", function () {
791
+ assert.strictEqual(identity(200), 200)
792
+ })
793
+ })
794
+ describe("Edge Cases", function () {
795
+ it("should return 0 for input 0", function () {
796
+ assert.strictEqual(identity(0), 0)
797
+ })
798
+ })
799
+ })
800
+
801
+ describe('Lowercase Letters', function () {
802
+ it('should return "a" when given "a"', function () {
803
+ assert.strictEqual(identity('a'), 'a')
804
+ })
805
+
806
+ it('should return "b" when given "b"', function () {
807
+ assert.strictEqual(identity('b'), 'b')
808
+ })
809
+
810
+ it('should return "c" when given "c"', function () {
811
+ assert.strictEqual(identity('c'), 'c')
812
+ })
813
+
814
+ it('should return "d" when given "d"', function () {
815
+ assert.strictEqual(identity('d'), 'd')
816
+ })
817
+
818
+ it('should return "e" when given "e"', function () {
819
+ assert.strictEqual(identity('e'), 'e')
820
+ })
821
+
822
+ it('should return "f" when given "f"', function () {
823
+ assert.strictEqual(identity('f'), 'f')
824
+ })
825
+
826
+ it('should return "g" when given "g"', function () {
827
+ assert.strictEqual(identity('g'), 'g')
828
+ })
829
+
830
+ it('should return "h" when given "h"', function () {
831
+ assert.strictEqual(identity('h'), 'h')
832
+ })
833
+
834
+ it('should return "i" when given "i"', function () {
835
+ assert.strictEqual(identity('i'), 'i')
836
+ })
837
+
838
+ it('should return "j" when given "j"', function () {
839
+ assert.strictEqual(identity('j'), 'j')
840
+ })
841
+
842
+ it('should return "k" when given "k"', function () {
843
+ assert.strictEqual(identity('k'), 'k')
844
+ })
845
+
846
+ it('should return "l" when given "l"', function () {
847
+ assert.strictEqual(identity('l'), 'l')
848
+ })
849
+
850
+ it('should return "m" when given "m"', function () {
851
+ assert.strictEqual(identity('m'), 'm')
852
+ })
853
+
854
+ it('should return "n" when given "n"', function () {
855
+ assert.strictEqual(identity('n'), 'n')
856
+ })
857
+
858
+ it('should return "o" when given "o"', function () {
859
+ assert.strictEqual(identity('o'), 'o')
860
+ })
861
+
862
+ it('should return "p" when given "p"', function () {
863
+ assert.strictEqual(identity('p'), 'p')
864
+ })
865
+
866
+ it('should return "q" when given "q"', function () {
867
+ assert.strictEqual(identity('q'), 'q')
868
+ })
869
+
870
+ it('should return "r" when given "r"', function () {
871
+ assert.strictEqual(identity('r'), 'r')
872
+ })
873
+
874
+ it('should return "s" when given "s"', function () {
875
+ assert.strictEqual(identity('s'), 's')
876
+ })
877
+
878
+ it('should return "t" when given "t"', function () {
879
+ assert.strictEqual(identity('t'), 't')
880
+ })
881
+
882
+ it('should return "u" when given "u"', function () {
883
+ assert.strictEqual(identity('u'), 'u')
884
+ })
885
+
886
+ it('should return "v" when given "v"', function () {
887
+ assert.strictEqual(identity('v'), 'v')
888
+ })
889
+
890
+ it('should return "w" when given "w"', function () {
891
+ assert.strictEqual(identity('w'), 'w')
892
+ })
893
+
894
+ it('should return "x" when given "x"', function () {
895
+ assert.strictEqual(identity('x'), 'x')
896
+ })
897
+
898
+ it('should return "y" when given "y"', function () {
899
+ assert.strictEqual(identity('y'), 'y')
900
+ })
901
+
902
+ it('should return "z" when given "z"', function () {
903
+ assert.strictEqual(identity('z'), 'z')
904
+ })
905
+ })
906
+
907
+ describe('Uppercase Letters', function () {
908
+ it('should return "A" when given "A"', function () {
909
+ assert.strictEqual(identity('A'), 'A')
910
+ })
911
+
912
+ it('should return "B" when given "B"', function () {
913
+ assert.strictEqual(identity('B'), 'B')
914
+ })
915
+
916
+ it('should return "C" when given "C"', function () {
917
+ assert.strictEqual(identity('C'), 'C')
918
+ })
919
+
920
+ it('should return "D" when given "D"', function () {
921
+ assert.strictEqual(identity('D'), 'D')
922
+ })
923
+
924
+ it('should return "E" when given "E"', function () {
925
+ assert.strictEqual(identity('E'), 'E')
926
+ })
927
+
928
+ it('should return "F" when given "F"', function () {
929
+ assert.strictEqual(identity('F'), 'F')
930
+ })
931
+
932
+ it('should return "G" when given "G"', function () {
933
+ assert.strictEqual(identity('G'), 'G')
934
+ })
935
+
936
+ it('should return "H" when given "H"', function () {
937
+ assert.strictEqual(identity('H'), 'H')
938
+ })
939
+
940
+ it('should return "I" when given "I"', function () {
941
+ assert.strictEqual(identity('I'), 'I')
942
+ })
943
+
944
+ it('should return "J" when given "J"', function () {
945
+ assert.strictEqual(identity('J'), 'J')
946
+ })
947
+
948
+ it('should return "K" when given "K"', function () {
949
+ assert.strictEqual(identity('K'), 'K')
950
+ })
951
+
952
+ it('should return "L" when given "L"', function () {
953
+ assert.strictEqual(identity('L'), 'L')
954
+ })
955
+
956
+ it('should return "M" when given "M"', function () {
957
+ assert.strictEqual(identity('M'), 'M')
958
+ })
959
+
960
+ it('should return "N" when given "N"', function () {
961
+ assert.strictEqual(identity('N'), 'N')
962
+ })
963
+
964
+ it('should return "O" when given "O"', function () {
965
+ assert.strictEqual(identity('O'), 'O')
966
+ })
967
+
968
+ it('should return "P" when given "P"', function () {
969
+ assert.strictEqual(identity('P'), 'P')
970
+ })
971
+
972
+ it('should return "Q" when given "Q"', function () {
973
+ assert.strictEqual(identity('Q'), 'Q')
974
+ })
975
+
976
+ it('should return "R" when given "R"', function () {
977
+ assert.strictEqual(identity('R'), 'R')
978
+ })
979
+
980
+ it('should return "S" when given "S"', function () {
981
+ assert.strictEqual(identity('S'), 'S')
982
+ })
983
+
984
+ it('should return "T" when given "T"', function () {
985
+ assert.strictEqual(identity('T'), 'T')
986
+ })
987
+
988
+ it('should return "U" when given "U"', function () {
989
+ assert.strictEqual(identity('U'), 'U')
990
+ })
991
+
992
+ it('should return "V" when given "V"', function () {
993
+ assert.strictEqual(identity('V'), 'V')
994
+ })
995
+
996
+ it('should return "W" when given "W"', function () {
997
+ assert.strictEqual(identity('W'), 'W')
998
+ })
999
+
1000
+ it('should return "X" when given "X"', function () {
1001
+ assert.strictEqual(identity('X'), 'X')
1002
+ })
1003
+
1004
+ it('should return "Y" when given "Y"', function () {
1005
+ assert.strictEqual(identity('Y'), 'Y')
1006
+ })
1007
+
1008
+ it('should return "Z" when given "Z"', function () {
1009
+ assert.strictEqual(identity('Z'), 'Z')
1010
+ })
1011
+ })
1012
+
1013
+ describe('Combined Alphabets', function () {
1014
+ it('should return the full lowercase alphabet when given the combined lowercase string', function () {
1015
+ assert.strictEqual(identity('abcdefghijklmnopqrstuvwxyz'), 'abcdefghijklmnopqrstuvwxyz')
1016
+ })
1017
+
1018
+ it('should return the full uppercase alphabet when given the combined uppercase string', function () {
1019
+ assert.strictEqual(identity('ABCDEFGHIJKLMNOPQRSTUVWXYZ'), 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')
1020
+ })
1021
+ })
1022
+
1023
+ describe('FizzBuzz/CreashaksOrganzine Strings', function () {
1024
+ it('should return "fizz" when given "fizz"', function () {
1025
+ assert.strictEqual(identity('fizz'), 'fizz')
1026
+ })
1027
+
1028
+ it('should return "buzz" when given "buzz"', function () {
1029
+ assert.strictEqual(identity('buzz'), 'buzz')
1030
+ })
1031
+
1032
+ it('should return "fizzbuzz" when given "fizzbuzz"', function () {
1033
+ assert.strictEqual(identity('fizzbuzz'), 'fizzbuzz')
1034
+ })
1035
+
1036
+ it('should return "creashaks" when given "creashaks"', function () {
1037
+ assert.strictEqual(identity('creashaks'), 'creashaks')
1038
+ })
1039
+
1040
+ it('should return "organzine" when given "organzine"', function () {
1041
+ assert.strictEqual(identity('organzine'), 'organzine')
1042
+ })
1043
+
1044
+ it('should return "creashaks organzine" when given "creashaks organzine"', function () {
1045
+ assert.strictEqual(identity('creashaks organzine'), 'creashaks organzine')
1046
+ })
1047
+ })
1048
+
1049
+ describe('Emojis', function () {
1050
+ it('should return "💯" when given "💯"', function () {
1051
+ assert.strictEqual(identity('💯'), '💯')
1052
+ })
1053
+
1054
+ it('should return "🔢" when given "🔢"', function () {
1055
+ assert.strictEqual(identity('🔢'), '🔢')
1056
+ })
1057
+
1058
+ it('should return "🔡" when given "🔡"', function () {
1059
+ assert.strictEqual(identity('🔡'), '🔡')
1060
+ })
1061
+
1062
+ it('should return "🛫" when given "🛫"', function () {
1063
+ assert.strictEqual(identity('🛫'), '🛫')
1064
+ })
1065
+
1066
+ it('should return "⚗" when given "⚗"', function () {
1067
+ assert.strictEqual(identity('⚗'), '⚗')
1068
+ })
1069
+
1070
+ it('should return "🐜" when given "🐜"', function () {
1071
+ assert.strictEqual(identity('🐜'), '🐜')
1072
+ })
1073
+
1074
+ it('should return "🍎" when given "🍎"', function () {
1075
+ assert.strictEqual(identity('🍎'), '🍎')
1076
+ })
1077
+
1078
+ it('should return "🚛" when given "🚛"', function () {
1079
+ assert.strictEqual(identity('🚛'), '🚛')
1080
+ })
1081
+
1082
+ it('should return "📊" when given "📊"', function () {
1083
+ assert.strictEqual(identity('📊'), '📊')
1084
+ })
1085
+
1086
+ it('should return "🏀" when given "🏀"', function () {
1087
+ assert.strictEqual(identity('🏀'), '🏀')
1088
+ })
1089
+
1090
+ it('should return "🛀" when given "🛀"', function () {
1091
+ assert.strictEqual(identity('🛀'), '🛀')
1092
+ })
1093
+
1094
+ it('should return "📘" when given "📘"', function () {
1095
+ assert.strictEqual(identity('📘'), '📘')
1096
+ })
1097
+
1098
+ it('should return "📑" when given "📑"', function () {
1099
+ assert.strictEqual(identity('📑'), '📑')
1100
+ })
1101
+
1102
+ it('should return "🍞" when given "🍞"', function () {
1103
+ assert.strictEqual(identity('🍞'), '🍞')
1104
+ })
1105
+
1106
+ it('should return "💡" when given "💡"', function () {
1107
+ assert.strictEqual(identity('💡'), '💡')
1108
+ })
1109
+
1110
+ it('should return "🏕" when given "🏕"', function () {
1111
+ assert.strictEqual(identity('🏕'), '🏕')
1112
+ })
1113
+
1114
+ it('should return "🕯" when given "🕯"', function () {
1115
+ assert.strictEqual(identity('🕯'), '🕯')
1116
+ })
1117
+
1118
+ it('should return "🚗" when given "🚗"', function () {
1119
+ assert.strictEqual(identity('🚗'), '🚗')
1120
+ })
1121
+
1122
+ it('should return "🗂" when given "🗂"', function () {
1123
+ assert.strictEqual(identity('🗂'), '🗂')
1124
+ })
1125
+
1126
+ it('should return "🐱" when given "🐱"', function () {
1127
+ assert.strictEqual(identity('🐱'), '🐱')
1128
+ })
1129
+
1130
+ it('should return "💿" when given "💿"', function () {
1131
+ assert.strictEqual(identity('💿'), '💿')
1132
+ })
1133
+
1134
+ it('should return "🍾" when given "🍾"', function () {
1135
+ assert.strictEqual(identity('🍾'), '🍾')
1136
+ })
1137
+
1138
+ it('should return "🏁" when given "🏁"', function () {
1139
+ assert.strictEqual(identity('🏁'), '🏁')
1140
+ })
1141
+
1142
+ it('should return "🌸" when given "🌸"', function () {
1143
+ assert.strictEqual(identity('🌸'), '🌸')
1144
+ })
1145
+
1146
+ it('should return "🌇" when given "🌇"', function () {
1147
+ assert.strictEqual(identity('🌇'), '🌇')
1148
+ })
1149
+
1150
+ it('should return "🏙" when given "🏙"', function () {
1151
+ assert.strictEqual(identity('🏙'), '🏙')
1152
+ })
1153
+
1154
+ it('should return "🎬" when given "🎬"', function () {
1155
+ assert.strictEqual(identity('🎬'), '🎬')
1156
+ })
1157
+
1158
+ it('should return "🕐" when given "🕐"', function () {
1159
+ assert.strictEqual(identity('🕐'), '🕐')
1160
+ })
1161
+
1162
+ it('should return "🕙" when given "🕙"', function () {
1163
+ assert.strictEqual(identity('🕙'), '🕙')
1164
+ })
1165
+
1166
+ it('should return "🕛" when given "🕛"', function () {
1167
+ assert.strictEqual(identity('🕛'), '🕛')
1168
+ })
1169
+
1170
+ it('should return "🕒" when given "🕒"', function () {
1171
+ assert.strictEqual(identity('🕒'), '🕒')
1172
+ })
1173
+
1174
+ it('should return "🕞" when given "🕞"', function () {
1175
+ assert.strictEqual(identity('🕞'), '🕞')
1176
+ })
1177
+
1178
+ it('should return "🕠" when given "🕠"', function () {
1179
+ assert.strictEqual(identity('🕠'), '🕠')
1180
+ })
1181
+
1182
+ it('should return "🕕" when given "🕕"', function () {
1183
+ assert.strictEqual(identity('🕕'), '🕕')
1184
+ })
1185
+
1186
+ it('should return "🕡" when given "🕡"', function () {
1187
+ assert.strictEqual(identity('🕡'), '🕡')
1188
+ })
1189
+
1190
+ it('should return "🕣" when given "🕣"', function () {
1191
+ assert.strictEqual(identity('🕣'), '🕣')
1192
+ })
1193
+
1194
+ it('should return "🕘" when given "🕘"', function () {
1195
+ assert.strictEqual(identity('🕘'), '🕘')
1196
+ })
1197
+
1198
+ it('should return "🍸" when given "🍸"', function () {
1199
+ assert.strictEqual(identity('🍸'), '🍸')
1200
+ })
1201
+
1202
+ it('should return "☕️" when given "☕️"', function () {
1203
+ assert.strictEqual(identity('☕️'), '☕️')
1204
+ })
1205
+
1206
+ it('should return "☄" when given "☄"', function () {
1207
+ assert.strictEqual(identity('☄'), '☄')
1208
+ })
1209
+
1210
+ it('should return "🗜" when given "🗜"', function () {
1211
+ assert.strictEqual(identity('🗜'), '🗜')
1212
+ })
1213
+
1214
+ it('should return "💻" when given "💻"', function () {
1215
+ assert.strictEqual(identity('💻'), '💻')
1216
+ })
1217
+
1218
+ it('should return "🚧" when given "🚧"', function () {
1219
+ assert.strictEqual(identity('🚧'), '🚧')
1220
+ })
1221
+
1222
+ it('should return "🎛" when given "🎛"', function () {
1223
+ assert.strictEqual(identity('🎛'), '🎛')
1224
+ })
1225
+
1226
+ it('should return "👮" when given "👮"', function () {
1227
+ assert.strictEqual(identity('👮'), '👮')
1228
+ })
1229
+
1230
+ it('should return "©️" when given "©️"', function () {
1231
+ assert.strictEqual(identity('©️'), '©️')
1232
+ })
1233
+
1234
+ it('should return "🦀" when given "🦀"', function () {
1235
+ assert.strictEqual(identity('🦀'), '🦀')
1236
+ })
1237
+
1238
+ it('should return "🌙" when given "🌙"', function () {
1239
+ assert.strictEqual(identity('🌙'), '🌙')
1240
+ })
1241
+
1242
+ it('should return "🎌" when given "🎌"', function () {
1243
+ assert.strictEqual(identity('🎌'), '🎌')
1244
+ })
1245
+
1246
+ it('should return "😢" when given "😢"', function () {
1247
+ assert.strictEqual(identity('😢'), '😢')
1248
+ })
1249
+
1250
+ it('should return "🔮" when given "🔮"', function () {
1251
+ assert.strictEqual(identity('🔮'), '🔮')
1252
+ })
1253
+
1254
+ it('should return "💱" when given "💱"', function () {
1255
+ assert.strictEqual(identity('💱'), '💱')
1256
+ })
1257
+
1258
+ it('should return "🕶" when given "🕶"', function () {
1259
+ assert.strictEqual(identity('🕶'), '🕶')
1260
+ })
1261
+
1262
+ it('should return "🎯" when given "🎯"', function () {
1263
+ assert.strictEqual(identity('🎯'), '🎯')
1264
+ })
1265
+
1266
+ it('should return "🇩🇪" when given "🇩🇪"', function () {
1267
+ assert.strictEqual(identity('🇩🇪'), '🇩🇪')
1268
+ })
1269
+
1270
+ it('should return "🏬" when given "🏬"', function () {
1271
+ assert.strictEqual(identity('🏬'), '🏬')
1272
+ })
1273
+
1274
+ it('should return "🚪" when given "🚪"', function () {
1275
+ assert.strictEqual(identity('🚪'), '🚪')
1276
+ })
1277
+
1278
+ it('should return "🍩" when given "🍩"', function () {
1279
+ assert.strictEqual(identity('🍩'), '🍩')
1280
+ })
1281
+
1282
+ it('should return "🍳" when given "🍳"', function () {
1283
+ assert.strictEqual(identity('🍳'), '🍳')
1284
+ })
1285
+
1286
+ it('should return "✴️" when given "✴️"', function () {
1287
+ assert.strictEqual(identity('✴️'), '✴️')
1288
+ })
1289
+
1290
+ it('should return "✳️" when given "✳️"', function () {
1291
+ assert.strictEqual(identity('✳️'), '✳️')
1292
+ })
1293
+
1294
+ it('should return "📩" when given "📩"', function () {
1295
+ assert.strictEqual(identity('📩'), '📩')
1296
+ })
1297
+
1298
+ it('should return "🇪🇸" when given "🇪🇸"', function () {
1299
+ assert.strictEqual(identity('🇪🇸'), '🇪🇸')
1300
+ })
1301
+
1302
+ it('should return "💶" when given "💶"', function () {
1303
+ assert.strictEqual(identity('💶'), '💶')
1304
+ })
1305
+
1306
+ it('should return "👓" when given "👓"', function () {
1307
+ assert.strictEqual(identity('👓'), '👓')
1308
+ })
1309
+
1310
+ it('should return "👀" when given "👀"', function () {
1311
+ assert.strictEqual(identity('👀'), '👀')
1312
+ })
1313
+
1314
+ it('should return "👨‍👩‍👦" when given "👨‍👩‍👦"', function () {
1315
+ assert.strictEqual(identity('👨‍👩‍👦'), '👨‍👩‍👦')
1316
+ })
1317
+
1318
+ it('should return "📽" when given "📽"', function () {
1319
+ assert.strictEqual(identity('📽'), '📽')
1320
+ })
1321
+
1322
+ it('should return "🔥" when given "🔥"', function () {
1323
+ assert.strictEqual(identity('🔥'), '🔥')
1324
+ })
1325
+
1326
+ it('should return "🚒" when given "🚒"', function () {
1327
+ assert.strictEqual(identity('🚒'), '🚒')
1328
+ })
1329
+
1330
+ it('should return "🎆" when given "🎆"', function () {
1331
+ assert.strictEqual(identity('🎆'), '🎆')
1332
+ })
1333
+
1334
+ it('should return "🐟" when given "🐟"', function () {
1335
+ assert.strictEqual(identity('🐟'), '🐟')
1336
+ })
1337
+
1338
+ it('should return "🇦🇬" when given "🇦🇬"', function () {
1339
+ assert.strictEqual(identity('🇦🇬'), '🇦🇬')
1340
+ })
1341
+
1342
+ it('should return "🇦🇲" when given "🇦🇲"', function () {
1343
+ assert.strictEqual(identity('🇦🇲'), '🇦🇲')
1344
+ })
1345
+
1346
+ it('should return "🇦🇽" when given "🇦🇽"', function () {
1347
+ assert.strictEqual(identity('🇦🇽'), '🇦🇽')
1348
+ })
1349
+
1350
+ it('should return "🇧🇿" when given "🇧🇿"', function () {
1351
+ assert.strictEqual(identity('🇧🇿'), '🇧🇿')
1352
+ })
1353
+
1354
+ it('should return "🇨🇲" when given "🇨🇲"', function () {
1355
+ assert.strictEqual(identity('🇨🇲'), '🇨🇲')
1356
+ })
1357
+
1358
+ it('should return "🇨🇽" when given "🇨🇽"', function () {
1359
+ assert.strictEqual(identity('🇨🇽'), '🇨🇽')
1360
+ })
1361
+
1362
+ it('should return "🇪🇪" when given "🇪🇪"', function () {
1363
+ assert.strictEqual(identity('🇪🇪'), '🇪🇪')
1364
+ })
1365
+
1366
+ it('should return "🇪🇸" when given "🇪🇸"', function () {
1367
+ assert.strictEqual(identity('🇪🇸'), '🇪🇸')
1368
+ })
1369
+
1370
+ it('should return "🇬🇦" when given "🇬🇦"', function () {
1371
+ assert.strictEqual(identity('🇬🇦'), '🇬🇦')
1372
+ })
1373
+
1374
+ it('should return "🇬🇺" when given "🇬🇺"', function () {
1375
+ assert.strictEqual(identity('🇬🇺'), '🇬🇺')
1376
+ })
1377
+
1378
+ it('should return "🇯🇪" when given "🇯🇪"', function () {
1379
+ assert.strictEqual(identity('🇯🇪'), '🇯🇪')
1380
+ })
1381
+
1382
+ it('should return "🇰🇭" when given "🇰🇭"', function () {
1383
+ assert.strictEqual(identity('🇰🇭'), '🇰🇭')
1384
+ })
1385
+
1386
+ it('should return "🇰🇳" when given "🇰🇳"', function () {
1387
+ assert.strictEqual(identity('🇰🇳'), '🇰🇳')
1388
+ })
1389
+
1390
+ it('should return "🇳🇦" when given "🇳🇦"', function () {
1391
+ assert.strictEqual(identity('🇳🇦'), '🇳🇦')
1392
+ })
1393
+
1394
+ it('should return "🇳🇺" when given "🇳🇺"', function () {
1395
+ assert.strictEqual(identity('🇳🇺'), '🇳🇺')
1396
+ })
1397
+
1398
+ it('should return "🇵🇫" when given "🇵🇫"', function () {
1399
+ assert.strictEqual(identity('🇵🇫'), '🇵🇫')
1400
+ })
1401
+
1402
+ it('should return "🇵🇷" when given "🇵🇷"', function () {
1403
+ assert.strictEqual(identity('🇵🇷'), '🇵🇷')
1404
+ })
1405
+
1406
+ it('should return "🇵🇹" when given "🇵🇹"', function () {
1407
+ assert.strictEqual(identity('🇵🇹'), '🇵🇹')
1408
+ })
1409
+
1410
+ it('should return "🇸🇭" when given "🇸🇭"', function () {
1411
+ assert.strictEqual(identity('🇸🇭'), '🇸🇭')
1412
+ })
1413
+
1414
+ it('should return "🇸🇴" when given "🇸🇴"', function () {
1415
+ assert.strictEqual(identity('🇸🇴'), '🇸🇴')
1416
+ })
1417
+
1418
+ it('should return "🇸🇸" when given "🇸🇸"', function () {
1419
+ assert.strictEqual(identity('🇸🇸'), '🇸🇸')
1420
+ })
1421
+
1422
+ it('should return "🇻🇺" when given "🇻🇺"', function () {
1423
+ assert.strictEqual(identity('🇻🇺'), '🇻🇺')
1424
+ })
1425
+
1426
+ it('should return "🇼🇫" when given "🇼🇫"', function () {
1427
+ assert.strictEqual(identity('🇼🇫'), '🇼🇫')
1428
+ })
1429
+
1430
+ it('should return "🇼🇸" when given "🇼🇸"', function () {
1431
+ assert.strictEqual(identity('🇼🇸'), '🇼🇸')
1432
+ })
1433
+
1434
+ it('should return "⚜" when given "⚜"', function () {
1435
+ assert.strictEqual(identity('⚜'), '⚜')
1436
+ })
1437
+
1438
+ it('should return "🌁" when given "🌁"', function () {
1439
+ assert.strictEqual(identity('🌁'), '🌁')
1440
+ })
1441
+
1442
+ it('should return "👣" when given "👣"', function () {
1443
+ assert.strictEqual(identity('👣'), '👣')
1444
+ })
1445
+
1446
+ it('should return "🌕" when given "🌕"', function () {
1447
+ assert.strictEqual(identity('🌕'), '🌕')
1448
+ })
1449
+
1450
+ it('should return "⚱" when given "⚱"', function () {
1451
+ assert.strictEqual(identity('⚱'), '⚱')
1452
+ })
1453
+
1454
+ it('should return "🐐" when given "🐐"', function () {
1455
+ assert.strictEqual(identity('🐐'), '🐐')
1456
+ })
1457
+
1458
+ it('should return "⛳️" when given "⛳️"', function () {
1459
+ assert.strictEqual(identity('⛳️'), '⛳️')
1460
+ })
1461
+
1462
+ it('should return "🍏" when given "🍏"', function () {
1463
+ assert.strictEqual(identity('🍏'), '🍏')
1464
+ })
1465
+
1466
+ it('should return "🔫" when given "🔫"', function () {
1467
+ assert.strictEqual(identity('🔫'), '🔫')
1468
+ })
1469
+
1470
+ it('should return "💇" when given "💇"', function () {
1471
+ assert.strictEqual(identity('💇'), '💇')
1472
+ })
1473
+
1474
+ it('should return "🐹" when given "🐹"', function () {
1475
+ assert.strictEqual(identity('🐹'), '🐹')
1476
+ })
1477
+
1478
+ it('should return "#️⃣" when given "#️⃣"', function () {
1479
+ assert.strictEqual(identity('#️⃣'), '#️⃣')
1480
+ })
1481
+
1482
+ it('should return "🎧" when given "🎧"', function () {
1483
+ assert.strictEqual(identity('🎧'), '🎧')
1484
+ })
1485
+
1486
+ it('should return "💓" when given "💓"', function () {
1487
+ assert.strictEqual(identity('💓'), '💓')
1488
+ })
1489
+
1490
+ it('should return "♥️" when given "♥️"', function () {
1491
+ assert.strictEqual(identity('♥️'), '♥️')
1492
+ })
1493
+
1494
+ it('should return "✔️" when given "✔️"', function () {
1495
+ assert.strictEqual(identity('✔️'), '✔️')
1496
+ })
1497
+
1498
+ it('should return "🚁" when given "🚁"', function () {
1499
+ assert.strictEqual(identity('🚁'), '🚁')
1500
+ })
1501
+
1502
+ it('should return "🌿" when given "🌿"', function () {
1503
+ assert.strictEqual(identity('🌿'), '🌿')
1504
+ })
1505
+
1506
+ it('should return "🔪" when given "🔪"', function () {
1507
+ assert.strictEqual(identity('🔪'), '🔪')
1508
+ })
1509
+
1510
+ it('should return "🌭" when given "🌭"', function () {
1511
+ assert.strictEqual(identity('🌭'), '🌭')
1512
+ })
1513
+
1514
+ it('should return "🏨" when given "🏨"', function () {
1515
+ assert.strictEqual(identity('🏨'), '🏨')
1516
+ })
1517
+
1518
+ it('should return "♨️" when given "♨️"', function () {
1519
+ assert.strictEqual(identity('♨️'), '♨️')
1520
+ })
1521
+
1522
+ it('should return "🏠" when given "🏠"', function () {
1523
+ assert.strictEqual(identity('🏠'), '🏠')
1524
+ })
1525
+
1526
+ it('should return "📥" when given "📥"', function () {
1527
+ assert.strictEqual(identity('📥'), '📥')
1528
+ })
1529
+
1530
+ it('should return "ℹ️" when given "ℹ️"', function () {
1531
+ assert.strictEqual(identity('ℹ️'), 'ℹ️')
1532
+ })
1533
+
1534
+ it('should return "😇" when given "😇"', function () {
1535
+ assert.strictEqual(identity('😇'), '😇')
1536
+ })
1537
+
1538
+ it('should return "🏮" when given "🏮"', function () {
1539
+ assert.strictEqual(identity('🏮'), '🏮')
1540
+ })
1541
+
1542
+ it('should return "🗾" when given "🗾"', function () {
1543
+ assert.strictEqual(identity('🗾'), '🗾')
1544
+ })
1545
+
1546
+ it('should return "🏯" when given "🏯"', function () {
1547
+ assert.strictEqual(identity('🏯'), '🏯')
1548
+ })
1549
+
1550
+ it('should return "😂" when given "😂"', function () {
1551
+ assert.strictEqual(identity('😂'), '😂')
1552
+ })
1553
+
1554
+ it('should return "⌨" when given "⌨"', function () {
1555
+ assert.strictEqual(identity('⌨'), '⌨')
1556
+ })
1557
+
1558
+ it('should return "*⃣" when given "*⃣"', function () {
1559
+ assert.strictEqual(identity('*⃣'), '*⃣')
1560
+ })
1561
+
1562
+ it('should return "😗" when given "😗"', function () {
1563
+ assert.strictEqual(identity('😗'), '😗')
1564
+ })
1565
+
1566
+ it('should return "😘" when given "😘"', function () {
1567
+ assert.strictEqual(identity('😘'), '😘')
1568
+ })
1569
+
1570
+ it('should return "🍽" when given "🍽"', function () {
1571
+ assert.strictEqual(identity('🍽'), '🍽')
1572
+ })
1573
+
1574
+ it('should return "🈁" when given "🈁"', function () {
1575
+ assert.strictEqual(identity('🈁'), '🈁')
1576
+ })
1577
+
1578
+ it('should return "🏮" when given "🏮"', function () {
1579
+ assert.strictEqual(identity('🏮'), '🏮')
1580
+ })
1581
+
1582
+ it('should return "😆" when given "😆"', function () {
1583
+ assert.strictEqual(identity('😆'), '😆')
1584
+ })
1585
+
1586
+ it('should return "🍃" when given "🍃"', function () {
1587
+ assert.strictEqual(identity('🍃'), '🍃')
1588
+ })
1589
+
1590
+ it('should return "🛅" when given "🛅"', function () {
1591
+ assert.strictEqual(identity('🛅'), '🛅')
1592
+ })
1593
+
1594
+ it('should return "♎️" when given "♎️"', function () {
1595
+ assert.strictEqual(identity('♎️'), '♎️')
1596
+ })
1597
+
1598
+ it('should return "🌩" when given "🌩"', function () {
1599
+ assert.strictEqual(identity('🌩'), '🌩')
1600
+ })
1601
+
1602
+ it('should return "🍭" when given "🍭"', function () {
1603
+ assert.strictEqual(identity('🍭'), '🍭')
1604
+ })
1605
+
1606
+ it('should return "💌" when given "💌"', function () {
1607
+ assert.strictEqual(identity('💌'), '💌')
1608
+ })
1609
+
1610
+ it('should return "🖊" when given "🖊"', function () {
1611
+ assert.strictEqual(identity('🖊'), '🖊')
1612
+ })
1613
+
1614
+ it('should return "🔍" when given "🔍"', function () {
1615
+ assert.strictEqual(identity('🔍'), '🔍')
1616
+ })
1617
+
1618
+ it('should return "🀄️" when given "🀄️"', function () {
1619
+ assert.strictEqual(identity('🀄️'), '🀄️')
1620
+ })
1621
+
1622
+ it('should return "👫" when given "👫"', function () {
1623
+ assert.strictEqual(identity('👫'), '👫')
1624
+ })
1625
+
1626
+ it('should return "👨‍❤️‍💋‍👨" when given "👨‍❤️‍💋‍👨"', function () {
1627
+ assert.strictEqual(identity('👨‍❤️‍💋‍👨'), '👨‍❤️‍💋‍👨')
1628
+ })
1629
+
1630
+ it('should return "👨‍👨‍👦‍👦" when given "👨‍👨‍👦‍👦"', function () {
1631
+ assert.strictEqual(identity('👨‍👨‍👦‍👦'), '👨‍👨‍👦‍👦')
1632
+ })
1633
+
1634
+ it('should return "👳" when given "👳"', function () {
1635
+ assert.strictEqual(identity('👳'), '👳')
1636
+ })
1637
+
1638
+ it('should return "👨‍👩‍👦" when given "👨‍👩‍👦"', function () {
1639
+ assert.strictEqual(identity('👨‍👩‍👦'), '👨‍👩‍👦')
1640
+ })
1641
+
1642
+ it('should return "👨‍👩‍👧" when given "👨‍👩‍👧"', function () {
1643
+ assert.strictEqual(identity('👨‍👩‍👧'), '👨‍👩‍👧')
1644
+ })
1645
+
1646
+ it('should return "👨‍👩‍👧‍👦" when given "👨‍👩‍👧‍👦"', function () {
1647
+ assert.strictEqual(identity('👨‍👩‍👧‍👦'), '👨‍👩‍👧‍👦')
1648
+ })
1649
+
1650
+ it('should return "🕰" when given "🕰"', function () {
1651
+ assert.strictEqual(identity('🕰'), '🕰')
1652
+ })
1653
+
1654
+ it('should return "🎤" when given "🎤"', function () {
1655
+ assert.strictEqual(identity('🎤'), '🎤')
1656
+ })
1657
+
1658
+ it('should return "🖕" when given "🖕"', function () {
1659
+ assert.strictEqual(identity('🖕'), '🖕')
1660
+ })
1661
+
1662
+ it('should return "🌌" when given "🌌"', function () {
1663
+ assert.strictEqual(identity('🌌'), '🌌')
1664
+ })
1665
+
1666
+ it('should return "🤑" when given "🤑"', function () {
1667
+ assert.strictEqual(identity('🤑'), '🤑')
1668
+ })
1669
+
1670
+ it('should return "🐵" when given "🐵"', function () {
1671
+ assert.strictEqual(identity('🐵'), '🐵')
1672
+ })
1673
+
1674
+ it('should return "🌤" when given "🌤"', function () {
1675
+ assert.strictEqual(identity('🌤'), '🌤')
1676
+ })
1677
+
1678
+ it('should return "🗻" when given "🗻"', function () {
1679
+ assert.strictEqual(identity('🗻'), '🗻')
1680
+ })
1681
+
1682
+ it('should return "⛰" when given "⛰"', function () {
1683
+ assert.strictEqual(identity('⛰'), '⛰')
1684
+ })
1685
+
1686
+ it('should return "🐁" when given "🐁"', function () {
1687
+ assert.strictEqual(identity('🐁'), '🐁')
1688
+ })
1689
+
1690
+ it('should return "🍄" when given "🍄"', function () {
1691
+ assert.strictEqual(identity('🍄'), '🍄')
1692
+ })
1693
+
1694
+ it('should return "📛" when given "📛"', function () {
1695
+ assert.strictEqual(identity('📛'), '📛')
1696
+ })
1697
+
1698
+ it('should return "🚱" when given "🚱"', function () {
1699
+ assert.strictEqual(identity('🚱'), '🚱')
1700
+ })
1701
+
1702
+ it('should return "👃" when given "👃"', function () {
1703
+ assert.strictEqual(identity('👃'), '👃')
1704
+ })
1705
+
1706
+ it('should return "🅾️" when given "🅾️"', function () {
1707
+ assert.strictEqual(identity('🅾️'), '🅾️')
1708
+ })
1709
+
1710
+ it('should return "🕉" when given "🕉"', function () {
1711
+ assert.strictEqual(identity('🕉'), '🕉')
1712
+ })
1713
+
1714
+ it('should return "🔛" when given "🔛"', function () {
1715
+ assert.strictEqual(identity('🔛'), '🔛')
1716
+ })
1717
+
1718
+ it('should return "🚖" when given "🚖"', function () {
1719
+ assert.strictEqual(identity('🚖'), '🚖')
1720
+ })
1721
+
1722
+ it('should return "1️⃣" when given "1️⃣"', function () {
1723
+ assert.strictEqual(identity('1️⃣'), '1️⃣')
1724
+ })
1725
+
1726
+ it('should return "📤" when given "📤"', function () {
1727
+ assert.strictEqual(identity('📤'), '📤')
1728
+ })
1729
+
1730
+ it('should return "📦" when given "📦"', function () {
1731
+ assert.strictEqual(identity('📦'), '📦')
1732
+ })
1733
+
1734
+ it('should return "🌴" when given "🌴"', function () {
1735
+ assert.strictEqual(identity('🌴'), '🌴')
1736
+ })
1737
+
1738
+ it('should return "📎" when given "📎"', function () {
1739
+ assert.strictEqual(identity('📎'), '📎')
1740
+ })
1741
+
1742
+ it('should return "🅿️" when given "🅿️"', function () {
1743
+ assert.strictEqual(identity('🅿️'), '🅿️')
1744
+ })
1745
+
1746
+ it('should return "〽️" when given "〽️"', function () {
1747
+ assert.strictEqual(identity('〽️'), '〽️')
1748
+ })
1749
+
1750
+ it('should return "🛂" when given "🛂"', function () {
1751
+ assert.strictEqual(identity('🛂'), '🛂')
1752
+ })
1753
+
1754
+ it('should return "☎️" when given "☎️"', function () {
1755
+ assert.strictEqual(identity('☎️'), '☎️')
1756
+ })
1757
+
1758
+ it('should return "🐷" when given "🐷"', function () {
1759
+ assert.strictEqual(identity('🐷'), '🐷')
1760
+ })
1761
+
1762
+ it('should return "🐽" when given "🐽"', function () {
1763
+ assert.strictEqual(identity('🐽'), '🐽')
1764
+ })
1765
+
1766
+ it('should return "🐖" when given "🐖"', function () {
1767
+ assert.strictEqual(identity('🐖'), '🐖')
1768
+ })
1769
+
1770
+ it('should return "💊" when given "💊"', function () {
1771
+ assert.strictEqual(identity('💊'), '💊')
1772
+ })
1773
+
1774
+ it('should return "🚓" when given "🚓"', function () {
1775
+ assert.strictEqual(identity('🚓'), '🚓')
1776
+ })
1777
+
1778
+ it('should return "🐩" when given "🐩"', function () {
1779
+ assert.strictEqual(identity('🐩'), '🐩')
1780
+ })
1781
+
1782
+ it('should return "💩" when given "💩"', function () {
1783
+ assert.strictEqual(identity('💩'), '💩')
1784
+ })
1785
+
1786
+ it('should return "📯" when given "📯"', function () {
1787
+ assert.strictEqual(identity('📯'), '📯')
1788
+ })
1789
+
1790
+ it('should return "📮" when given "📮"', function () {
1791
+ assert.strictEqual(identity('📮'), '📮')
1792
+ })
1793
+
1794
+ it('should return "👛" when given "👛"', function () {
1795
+ assert.strictEqual(identity('👛'), '👛')
1796
+ })
1797
+
1798
+ it('should return "🌈" when given "🌈"', function () {
1799
+ assert.strictEqual(identity('🌈'), '🌈')
1800
+ })
1801
+
1802
+ it('should return "✋" when given "✋"', function () {
1803
+ assert.strictEqual(identity('✋'), '✋')
1804
+ })
1805
+
1806
+ it('should return "🔁" when given "🔁"', function () {
1807
+ assert.strictEqual(identity('🔁'), '🔁')
1808
+ })
1809
+
1810
+ it('should return "🔂" when given "🔂"', function () {
1811
+ assert.strictEqual(identity('🔂'), '🔂')
1812
+ })
1813
+
1814
+ it('should return "🍚" when given "🍚"', function () {
1815
+ assert.strictEqual(identity('🍚'), '🍚')
1816
+ })
1817
+
1818
+ it('should return "💍" when given "💍"', function () {
1819
+ assert.strictEqual(identity('💍'), '💍')
1820
+ })
1821
+
1822
+ it('should return "🐓" when given "🐓"', function () {
1823
+ assert.strictEqual(identity('🐓'), '🐓')
1824
+ })
1825
+
1826
+ it('should return "🌹" when given "🌹"', function () {
1827
+ assert.strictEqual(identity('🌹'), '🌹')
1828
+ })
1829
+
1830
+ it('should return "🚨" when given "🚨"', function () {
1831
+ assert.strictEqual(identity('🚨'), '🚨')
1832
+ })
1833
+
1834
+ it('should return "🏃" when given "🏃"', function () {
1835
+ assert.strictEqual(identity('🏃'), '🏃')
1836
+ })
1837
+
1838
+ it('should return "🛰" when given "🛰"', function () {
1839
+ assert.strictEqual(identity('🛰'), '🛰')
1840
+ })
1841
+
1842
+ it('should return "🎷" when given "🎷"', function () {
1843
+ assert.strictEqual(identity('🎷'), '🎷')
1844
+ })
1845
+
1846
+ it('should return "🦂" when given "🦂"', function () {
1847
+ assert.strictEqual(identity('🦂'), '🦂')
1848
+ })
1849
+
1850
+ it('should return "😱" when given "😱"', function () {
1851
+ assert.strictEqual(identity('😱'), '😱')
1852
+ })
1853
+
1854
+ it('should return "㊙️" when given "㊙️"', function () {
1855
+ assert.strictEqual(identity('㊙️'), '㊙️')
1856
+ })
1857
+
1858
+ it('should return "🚿" when given "🚿"', function () {
1859
+ assert.strictEqual(identity('🚿'), '🚿')
1860
+ })
1861
+
1862
+ it('should return "📶" when given "📶"', function () {
1863
+ assert.strictEqual(identity('📶'), '📶')
1864
+ })
1865
+
1866
+ it('should return "6️⃣" when given "6️⃣"', function () {
1867
+ assert.strictEqual(identity('6️⃣'), '6️⃣')
1868
+ })
1869
+
1870
+ it('should return "🎿" when given "🎿"', function () {
1871
+ assert.strictEqual(identity('🎿'), '🎿')
1872
+ })
1873
+
1874
+ it('should return "🔺" when given "🔺"', function () {
1875
+ assert.strictEqual(identity('🔺'), '🔺')
1876
+ })
1877
+
1878
+ it('should return "😄" when given "😄"', function () {
1879
+ assert.strictEqual(identity('😄'), '😄')
1880
+ })
1881
+
1882
+ it('should return "😸" when given "😸"', function () {
1883
+ assert.strictEqual(identity('😸'), '😸')
1884
+ })
1885
+
1886
+ it('should return "😼" when given "😼"', function () {
1887
+ assert.strictEqual(identity('😼'), '😼')
1888
+ })
1889
+
1890
+ it('should return "👾" when given "👾"', function () {
1891
+ assert.strictEqual(identity('👾'), '👾')
1892
+ })
1893
+
1894
+ it('should return "❇️" when given "❇️"', function () {
1895
+ assert.strictEqual(identity('❇️'), '❇️')
1896
+ })
1897
+
1898
+ it('should return "🎇" when given "🎇"', function () {
1899
+ assert.strictEqual(identity('🎇'), '🎇')
1900
+ })
1901
+
1902
+ it('should return "☪" when given "☪"', function () {
1903
+ assert.strictEqual(identity('☪'), '☪')
1904
+ })
1905
+
1906
+ it('should return "✡" when given "✡"', function () {
1907
+ assert.strictEqual(identity('✡'), '✡')
1908
+ })
1909
+
1910
+ it('should return "🚂" when given "🚂"', function () {
1911
+ assert.strictEqual(identity('🚂'), '🚂')
1912
+ })
1913
+
1914
+ it('should return "🍓" when given "🍓"', function () {
1915
+ assert.strictEqual(identity('🍓'), '🍓')
1916
+ })
1917
+
1918
+ it('should return "🌻" when given "🌻"', function () {
1919
+ assert.strictEqual(identity('🌻'), '🌻')
1920
+ })
1921
+
1922
+ it('should return "😎" when given "😎"', function () {
1923
+ assert.strictEqual(identity('😎'), '😎')
1924
+ })
1925
+
1926
+ it('should return "🍣" when given "🍣"', function () {
1927
+ assert.strictEqual(identity('🍣'), '🍣')
1928
+ })
1929
+
1930
+ it('should return "😓" when given "😓"', function () {
1931
+ assert.strictEqual(identity('😓'), '😓')
1932
+ })
1933
+
1934
+ it('should return "😅" when given "😅"', function () {
1935
+ assert.strictEqual(identity('😅'), '😅')
1936
+ })
1937
+
1938
+ it('should return "🕍" when given "🕍"', function () {
1939
+ assert.strictEqual(identity('🕍'), '🕍')
1940
+ })
1941
+
1942
+ it('should return "🚕" when given "🚕"', function () {
1943
+ assert.strictEqual(identity('🚕'), '🚕')
1944
+ })
1945
+
1946
+ it('should return "🍵" when given "🍵"', function () {
1947
+ assert.strictEqual(identity('🍵'), '🍵')
1948
+ })
1949
+
1950
+ it('should return "🤔" when given "🤔"', function () {
1951
+ assert.strictEqual(identity('🤔'), '🤔')
1952
+ })
1953
+
1954
+ it('should return "🖱" when given "🖱"', function () {
1955
+ assert.strictEqual(identity('🖱'), '🖱')
1956
+ })
1957
+
1958
+ it('should return "™️" when given "™️"', function () {
1959
+ assert.strictEqual(identity('™️'), '™️')
1960
+ })
1961
+
1962
+ it('should return "🔝" when given "🔝"', function () {
1963
+ assert.strictEqual(identity('🔝'), '🔝')
1964
+ })
1965
+
1966
+ it('should return "🖲" when given "🖲"', function () {
1967
+ assert.strictEqual(identity('🖲'), '🖲')
1968
+ })
1969
+
1970
+ it('should return "🚎" when given "🚎"', function () {
1971
+ assert.strictEqual(identity('🚎'), '🚎')
1972
+ })
1973
+
1974
+ it('should return "🌷" when given "🌷"', function () {
1975
+ assert.strictEqual(identity('🌷'), '🌷')
1976
+ })
1977
+
1978
+ it('should return "2️⃣" when given "2️⃣"', function () {
1979
+ assert.strictEqual(identity('2️⃣'), '2️⃣')
1980
+ })
1981
+
1982
+ it('should return "👬" when given "👬"', function () {
1983
+ assert.strictEqual(identity('👬'), '👬')
1984
+ })
1985
+
1986
+ it('should return "🈶" when given "🈶"', function () {
1987
+ assert.strictEqual(identity('🈶'), '🈶')
1988
+ })
1989
+
1990
+ it('should return "🈸" when given "🈸"', function () {
1991
+ assert.strictEqual(identity('🈸'), '🈸')
1992
+ })
1993
+
1994
+ it('should return "⛱" when given "⛱"', function () {
1995
+ assert.strictEqual(identity('⛱'), '⛱')
1996
+ })
1997
+
1998
+ it('should return "🇺🇸" when given "🇺🇸"', function () {
1999
+ assert.strictEqual(identity('🇺🇸'), '🇺🇸')
2000
+ })
2001
+
2002
+ it('should return "📼" when given "📼"', function () {
2003
+ assert.strictEqual(identity('📼'), '📼')
2004
+ })
2005
+
2006
+ it('should return "🌋" when given "🌋"', function () {
2007
+ assert.strictEqual(identity('🌋'), '🌋')
2008
+ })
2009
+
2010
+ it('should return "💒" when given "💒"', function () {
2011
+ assert.strictEqual(identity('💒'), '💒')
2012
+ })
2013
+
2014
+ it('should return "🏋" when given "🏋"', function () {
2015
+ assert.strictEqual(identity('🏋'), '🏋')
2016
+ })
2017
+
2018
+ it('should return "🐳" when given "🐳"', function () {
2019
+ assert.strictEqual(identity('🐳'), '🐳')
2020
+ })
2021
+
2022
+ it('should return "💮" when given "💮"', function () {
2023
+ assert.strictEqual(identity('💮'), '💮')
2024
+ })
2025
+
2026
+ it('should return "◻️" when given "◻️"', function () {
2027
+ assert.strictEqual(identity('◻️'), '◻️')
2028
+ })
2029
+
2030
+ it('should return "🔳" when given "🔳"', function () {
2031
+ assert.strictEqual(identity('🔳'), '🔳')
2032
+ })
2033
+
2034
+ it('should return "👩‍👩‍👧‍👦" when given "👩‍👩‍👧‍👦"', function () {
2035
+ assert.strictEqual(identity('👩‍👩‍👧‍👦'), '👩‍👩‍👧‍👦')
2036
+ })
2037
+
2038
+ it('should return "🗺" when given "🗺"', function () {
2039
+ assert.strictEqual(identity('🗺'), '🗺')
2040
+ })
2041
+
2042
+ it('should return "0️⃣" when given "0️⃣"', function () {
2043
+ assert.strictEqual(identity('0️⃣'), '0️⃣')
2044
+ })
2045
+
2046
+ it('should return "something random" when given "something random"', function () {
2047
+ assert.strictEqual(identity('something random'), 'something random')
2048
+ })
2049
+
2050
+ it('should return "" when given ""', function () {
2051
+ assert.strictEqual(identity(''), '')
2052
+ })
2053
+ })
2054
+
2055
+ describe("Symbol strings", function () {
2056
+ it("should return \"´\" when given \"´\"", function () {
2057
+ assert.strictEqual(identity("´"), "´")
2058
+ })
2059
+
2060
+ it("should return \"&\" when given \"&\"", function () {
2061
+ assert.strictEqual(identity("&"), "&")
2062
+ })
2063
+
2064
+ it("should return \"'\" when given \"'\"", function () {
2065
+ assert.strictEqual(identity("'"), "'")
2066
+ })
2067
+
2068
+ it("should return \"*\" when given \"*\"", function () {
2069
+ assert.strictEqual(identity("*"), "*")
2070
+ })
2071
+
2072
+ it("should return \"@\" when given \"@\"", function () {
2073
+ assert.strictEqual(identity("@"), "@")
2074
+ })
2075
+
2076
+ it("should return \"\\\" when given \"\\\"", function () {
2077
+ assert.strictEqual(identity("\\"), "\\")
2078
+ })
2079
+
2080
+ it("should return \"¦\" when given \"¦\"", function () {
2081
+ assert.strictEqual(identity("¦"), "¦")
2082
+ })
2083
+
2084
+ it("should return \"¢\" when given \"¢\"", function () {
2085
+ assert.strictEqual(identity("¢"), "¢")
2086
+ })
2087
+
2088
+ it("should return \":\" when given \":\"", function () {
2089
+ assert.strictEqual(identity(":"), ":")
2090
+ })
2091
+
2092
+ it("should return \",\" when given \",\"", function () {
2093
+ assert.strictEqual(identity(","), ",")
2094
+ })
2095
+
2096
+ it("should return \"©\" when given \"©\"", function () {
2097
+ assert.strictEqual(identity("©"), "©")
2098
+ })
2099
+
2100
+ it("should return \"°\" when given \"°\"", function () {
2101
+ assert.strictEqual(identity("°"), "°")
2102
+ })
2103
+
2104
+ it("should return \"¨\" when given \"¨\"", function () {
2105
+ assert.strictEqual(identity("¨"), "¨")
2106
+ })
2107
+
2108
+ it("should return \"÷\" when given \"÷\"", function () {
2109
+ assert.strictEqual(identity("÷"), "÷")
2110
+ })
2111
+
2112
+ it("should return \"$\" when given \"$\"", function () {
2113
+ assert.strictEqual(identity("$"), "$")
2114
+ })
2115
+
2116
+ it("should return \"!\" when given \"!\"", function () {
2117
+ assert.strictEqual(identity("!"), "!")
2118
+ })
2119
+
2120
+ it("should return \".\" when given \".\"", function () {
2121
+ assert.strictEqual(identity("."), ".")
2122
+ })
2123
+
2124
+ it("should return \"`\" when given \"`\"", function () {
2125
+ assert.strictEqual(identity("`"), "`")
2126
+ })
2127
+
2128
+ it("should return \">\" when given \">\"", function () {
2129
+ assert.strictEqual(identity(">"), ">")
2130
+ })
2131
+
2132
+ it("should return \"¡\" when given \"¡\"", function () {
2133
+ assert.strictEqual(identity("¡"), "¡")
2134
+ })
2135
+
2136
+ it("should return \"¿\" when given \"¿\"", function () {
2137
+ assert.strictEqual(identity("¿"), "¿")
2138
+ })
2139
+
2140
+ it("should return \"{\" when given \"{\"", function () {
2141
+ assert.strictEqual(identity("{"), "{")
2142
+ })
2143
+
2144
+ it("should return \"(\" when given \"(\"", function () {
2145
+ assert.strictEqual(identity("("), "(")
2146
+ })
2147
+
2148
+ it("should return \"«\" when given \"«\"", function () {
2149
+ assert.strictEqual(identity("«"), "«")
2150
+ })
2151
+
2152
+ it("should return \"[\" when given \"[\"", function () {
2153
+ assert.strictEqual(identity("["), "[")
2154
+ })
2155
+
2156
+ it("should return \"<\" when given \"<\"", function () {
2157
+ assert.strictEqual(identity("<"), "<")
2158
+ })
2159
+
2160
+ it("should return \"¯\" when given \"¯\"", function () {
2161
+ assert.strictEqual(identity("¯"), "¯")
2162
+ })
2163
+
2164
+ it("should return \"μ\" when given \"μ\"", function () {
2165
+ assert.strictEqual(identity("μ"), "μ")
2166
+ })
2167
+
2168
+ it("should return \"·\" when given \"·\"", function () {
2169
+ assert.strictEqual(identity("·"), "·")
2170
+ })
2171
+
2172
+ it("should return \"-\" when given \"-\"", function () {
2173
+ assert.strictEqual(identity("-"), "-")
2174
+ })
2175
+
2176
+ it("should return \"×\" when given \"×\"", function () {
2177
+ assert.strictEqual(identity("×"), "×")
2178
+ })
2179
+
2180
+ it("should return \"¬\" when given \"¬\"", function () {
2181
+ assert.strictEqual(identity("¬"), "¬")
2182
+ })
2183
+
2184
+ it("should return \"#\" when given \"#\"", function () {
2185
+ assert.strictEqual(identity("#"), "#")
2186
+ })
2187
+
2188
+ it("should return \"%\" when given \"%\"", function () {
2189
+ assert.strictEqual(identity("%"), "%")
2190
+ })
2191
+
2192
+ it("should return \"¶\" when given \"¶\"", function () {
2193
+ assert.strictEqual(identity("¶"), "¶")
2194
+ })
2195
+
2196
+ it("should return \"±\" when given \"±\"", function () {
2197
+ assert.strictEqual(identity("±"), "±")
2198
+ })
2199
+
2200
+ it("should return \"+\" when given \"+\"", function () {
2201
+ assert.strictEqual(identity("+"), "+")
2202
+ })
2203
+
2204
+ it("should return \"£\" when given \"£\"", function () {
2205
+ assert.strictEqual(identity("£"), "£")
2206
+ })
2207
+
2208
+ it("should return \"?\" when given \"?\"", function () {
2209
+ assert.strictEqual(identity("?"), "?")
2210
+ })
2211
+
2212
+ it("should return \"\\\"\" when given \"\\\"\"", function () {
2213
+ assert.strictEqual(identity("\""), "\"")
2214
+ })
2215
+
2216
+ it("should return \"®\" when given \"®\"", function () {
2217
+ assert.strictEqual(identity("®"), "®")
2218
+ })
2219
+
2220
+ it("should return \"}\" when given \"}\"", function () {
2221
+ assert.strictEqual(identity("}"), "}")
2222
+ })
2223
+
2224
+ it("should return \")\" when given \")\"", function () {
2225
+ assert.strictEqual(identity(")"), ")")
2226
+ })
2227
+
2228
+ it("should return \"»\" when given \"»\"", function () {
2229
+ assert.strictEqual(identity("»"), "»")
2230
+ })
2231
+
2232
+ it("should return \"]\" when given \"]\"", function () {
2233
+ assert.strictEqual(identity("]"), "]")
2234
+ })
2235
+
2236
+ it("should return \"§\" when given \"§\"", function () {
2237
+ assert.strictEqual(identity("§"), "§")
2238
+ })
2239
+
2240
+ it("should return \";\" when given \";\"", function () {
2241
+ assert.strictEqual(identity(";"), ";")
2242
+ })
2243
+
2244
+ it("should return \"/\" when given \"/\"", function () {
2245
+ assert.strictEqual(identity("/"), "/")
2246
+ })
2247
+
2248
+ it("should return \" \" when given \" \"", function () {
2249
+ assert.strictEqual(identity(" "), " ")
2250
+ })
2251
+
2252
+ it("should return \"~\" when given \"~\"", function () {
2253
+ assert.strictEqual(identity("~"), "~")
2254
+ })
2255
+
2256
+ it("should return \"¥\" when given \"¥\"", function () {
2257
+ assert.strictEqual(identity("¥"), "¥")
2258
+ })
2259
+ })
2260
+ }
2261
+
2262
+ testIdentity(identityStable)