-
Notifications
You must be signed in to change notification settings - Fork 1
/
esoTestLog.txt
466 lines (466 loc) · 17.5 KB
/
esoTestLog.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
Run starting. Expected test count is: 0
OokSpec:
Ook <=> BrainFuck
- should preserve the behavior of hworld.ook when translating from BrainFuck to Ook
- should preserve the behavior of hworld.b when translating from Ook to BrainFuck
EsoCommandParserSpec:
EsoCommandParser
- should fail on empty input
- should recognize unary commands
- should recognize commands followed by an argument
- should recognize commands followed by multiple arguments
EsoLImpParserSpec:
EsoLImpParser
- should succeed if both succeed
- should fail if left fails
- should fail if right fails
- should fail if both fail
SlashesSpec:
///
- should run hworld.slash correctly
- should return a referentially transparent function for hworld.slash
EsoLongestMatchParserSpec:
EsoLongestMatchParser
- should return the longest match
- should backtrack until success
FlufflePuffSpec:
FlufflePuff <=> BrainFuck
- should preserve the behavior of hworld.fl when translating from BrainFuck to FlufflePuff
- should preserve the behavior of hworld.b when translating from FlufflePuff to BrainFuck
ClearFileAssociationsHandlerSpec:
ClearFileAssociationsHandler
- should clear all file associations
PreludeSpec:
Prelude
- should run hworld.pld correctly in parallel
- should run hworld.pld correctly in sequence
- should return a referentially transparent function in parallel
- should return a referentially transparent function in sequence
EsoConstantParserSpec:
EsoConstantParser
- should force parser output to a single value
- should fail if p fails
WSAssemblySpec:
WSAssembly
- should preserve the behavior of hworld.wsa
- should preserve the structure of hworld.ws
EsoParserSpec:
LambdaToUnlambdaSpace:
Lambda_Calculus => Unlambda
- should preserve the behavior of absCountUnlambda.txt
EsoRImpParserSpec:
EsoRImpParser
- should pass correctly if both p and q pass
- should fail if p fails
- should fail if q fails
- should fail if p and q fail
WierdSpec:
Wierd
- should run quine.wd correctly
- should return a referentially transparent function for quine.wd
ALPLSpec:
ALPL
- should run hworld.alpl correctly
- should run cat.alpl correctly
- should return a referentially transparent function for hworld.alpl
- should return a referentially transparent function for cat.alpl
LazyKToJotSpec:
LazyK_Jot <=> LazyK
- should preserve the behavior of hworldCC.lazy when translating from LazyK to LazyK_Jot
- should preserve the behavior of hworldIota.lazy when translating from LazyK to LazyK_Jot
- should preserve the behavior of hworldJot.lazy when translating from LazyK_Jot to LazyK
- should preserve the behavior of hworld.lazy when translating from LazyK to LazyK_Jot
PlattsSpec:
Platts
- should run hworld.plts correctly
- should return a referentially transparent function for hworld.plts
ClearBindingsHandlerSpec:
ClearBindingsHandler
- should clear all bindings
LoadBindingsHandlerSpec:
LoadBindingsHandler
- should correctly load bindings from provided file using -f option
- should correctly load bindings from default file with no arguments
- should correctly load bindings from default file with loadOnly
RunProgHandlerSpec:
RunProgHandler
- should fail on an unknown file extension
- should run hworldb.txt correctly with language override arg
- should recognize known file extensions
- should print ASCII values if printNum is on
- should print detailed information if log is on
- should print the program duration if time is on
- should print initialization time if log and time flags are on
- should fail to read input if an inaccessible file is given
- should read input from a file if given one
- should correctly append console input to file input if appendInp is on
- should not append console input to file input if appendInp is off
- should limit output length if olen >= 0
- should build a translator path if needed
- should cache built programs if the cache flag is on
- should not cache built programs if the cache flag is off
- should write program output to a file with the -o option
- should not write program output to a file without the -o option
- should fail to read program if an inaccessible file is given
AddFileAssociationHandlerSpec:
AddFileAssociationHandler
- should add individual file associations
- should add multiple file associations
LazyKAnyToIotaSpec:
LazyK_Iota <=> LazyK
- should preserve the behavior of hworldCC.lazy when translating from LazyK to LazyK_Iota
- should preserve the behavior of hworldIota.lazy when translating from LazyK_Iota to LazyK
- should preserve the behavior of hworldJot.lazy when translating from LazyK to LazyK_Iota
- should preserve the behavior of hworld.lazy when translating from LazyK to LazyK_Iota
BFToPreludeSpec:
BFToPrelude
- should preserve the behavior of hworld.b
TranslateHandlerSpec:
TranslateHandler
- should fail on unknown file extensions
- should translate hworldfl.txt to BrainFuck correctly with language override
- should recognize known file extensions
- should chain translators if needed
- should write translation to a file with the -o option
- should not write translation to a file without the -o option
EsoMapParserSpec:
EsoMapParser
- should transform output with f
SaveBFLangsHandlerSpec:
SaveBFLangsHandler
- should save to the default file if none is provided
- should save to the provided file with -f option
EmmentalSpec:
Emmental
- should run hworld.emm correctly
- should return a referentially transparent function for hworld.emm
FungeSpec:
Befunge-93
- should pass mycology
- should return a referentially transparent function for mycology.b98
Befunge-98
- should pass mycology
- should return a referentially transparent function for hworld.b98
GlyphoSpec:
Glypho
- should run hworld.glo correctly
- should return a referentially transparent function for hworld.glo
DeadfishSpec:
Deadfish
- should run hworld.df correctly
- should return a referentially transparent function for hworld.df
listVarsHandlerSpec:
listVarsHandler
- should correctly list the default runtime parameters
EsoEarliestMatchParserSpec:
EsoEarliestMatchParser
- should return the earliest match
- should backtrack until success
EsoAltParserSpec:
EsoAltParser
- should return the first success
- should backtrack until success
- should backtrack to middle cases
MemTapeSpec:
MemTape
- should respect static size
- should respect out-of-bounds gets when dynamic
- should respect out-of-bounds sets when dynamic
SetDefaultsHandlerSpec:
SetDefaultHandler
- should reset the state to defaults
LazyKSpec:
LazyK
- should run hworld.lazy correctly
- should run unlambda.lazy correctly
- should run primes.lazy correctly
- should run fib.lazy correctly
- should run reverse.lazy correctly
- should run cat.lazy correctly
- should return a referentially transparent function for hworld.lazy
- should return a referentially transparent function for unlambda.lazy
- should return a referentially transparent function for primes.lazy
- should return a referentially transparent function for fib.lazy
- should return a referentially transparent function for reverse.lazy
- should return a referentially transparent function for cat.lazy
LambdaToLazyKUnlSpec:
Lambda_Calculus => LazyK_Unlambda
- should preserve the behavior of absSpaceLazyK.txt
BFISpec:
BFBase
- should run hworld.b correctly
- should run hworldBugTest.b correctly
- should run bitWidth.b correctly
- should respect dynamic tape size setting
- should return a referentially transparent function for hworld.b
- should return a referentially transparent function for hworldBugTest.b
- should return a referentially transparent function for bitWidth.b
bfOpt
- should run hworld.b correctly
- should run hworldBugTest.b correctly
- should run bitWidth.b correctly
- should run lostKingdom.b correctly
- should respect dynamic tape size setting
- should return a referentially transparent function for hworld.b
- should return a referentially transparent function for hworldBugTest.b
- should return a referentially transparent function for bitWidth.b
BFComp
- should run hworld.b correctly
- should run hworldBugTest.b correctly
- should run bitWidth.b correctly
- should run mandelbrot.b correctly
- should respect dynamic tape size setting
- should return a referentially transparent function for hworld.b
- should return a referentially transparent function for hworldBugTest.b
- should return a referentially transparent function for bitWidth.b
ShowSyntaxHandlerSpec:
ShowSyntaxHandler
- should correctly display syntax for FlufflePuff
SNUSPSpec:
SNUSP
- should run hworld.snusp correctly
- should run bitWidth.snusp correctly
- should return a referentially transparent function for hworld.snusp
- should return a referentially transparent function for bitWidth.snusp
DropFileAssociationHandlerSpec:
DropFileAssociationHandler
- should drop individual file associations
BFToMetatapeSpec:
BFToMetatape
- should preserve the behavior of bitWidth.b
DFToBFSpec:
DFToBF
- should preserve the behavior of hworld.df
- should print numbers if dfChar is false
LazyKAnyToUnlSpec:
LazyK_Unlambda <=> LazyK
- should preserve the behavior of hworldCC.lazy when translating from LazyK to LazyK_Unlambda
- should preserve the behavior of hworldIota.lazy when translating from LazyK to LazyK_Unlambda
- should preserve the behavior of hworldJot.lazy when translating from LazyK to LazyK_Unlambda
- should preserve the behavior of hworld.lazy when translating from LazyK_Unlambda to LazyK
GlyphoShorthandSpec:
GlyphoShorthand <=> Glypho
- should preserve the behavior of hworld.glos when translating from Glypho to GlyphoShorthand
- should preserve the behavior of hworld.glo
SaveBindingsHandlerSpec:
SaveBindingsHandler
- should correctly save bindings to default file with no arguments
- should correctly save bindings to provided file using -f option
DefineBFLangHandlerSpec:
DefineBFLangHandler
- should correctly define a BF lang
LazyKAnyToCCSpec:
LazyK_CC <=> LazyK
- should preserve the behavior of hworldCC.lazy when translating from LazyK_CC to LazyK
- should preserve the behavior of hworldIota.lazy when translating from LazyK to LazyK_CC
- should preserve the behavior of hworldJot.lazy when translating from LazyK to LazyK_CC
- should preserve the behavior of hworld.lazy when translating from LazyK to LazyK_CC
BFToLazyKSpec:
BFToLazyK
- should preserve the behavior of bitWidth.b
TranspileHandlerSpec:
TranspileHandler
- should fail on unknown file extensions
- should transpile hworldb.txt to Metatape correctly with language override
- should recognize known file extensions
- should build a translator path if needed
- should write transpilation to a file with the -o option
- should not write transpilation to a file without the -o option
LoadBFLangsHandlerSpec:
LoadBFLangsHandlerSpec
- should fail on an inaccessible file
- should correctly load languages from a file
- should correctly load languages through loadOnly
SenpaiSpec:
Senpai
- should run hworld.senpai correctly
- should run cat.senpai correctly
- should run truthmachine0.senpai correctly
- should run truthmachine1.senpai correctly
- should run fizzbuzz.senpai correctly
- should run quine.senpai correctly
- should run beer.senpai correctly
EsoAllParserSpec:
EsoAllParser
- should parse all tokens in input
- should succeed on none if given 0
- should fail if number of tokens is below quota
- should backtrack if necessary
listFileAssociationsHandlerSpec:
ListFileAssociationsHandler
- should correctly list the default file associations
- should correctly list the current file associations
ListBindingsHandlerSpec:
ListBindingsHandler
- should correctly list the current bindings
MetatapeSpec:
Metatape
- should run hworld.mt correctly
- should run bitWidth.mt correctly
- should return a referentially transparent function for hworld.mt
- should return a referentially transparent function for bitWidth.mt
EsoStringParserSpec:
EsoStringParser
- should parse the first occurrence of its literal
- should not parse matches that aren't at the beginning of input
- should match longer literals
WordLangSpec:
WordLang
- should run helloo.wl correctly
- should run camo.wl correctly
- should run listing.wl correctly
- should run flag.wl correctly
- should run letsLive.wl correctly
- should run someday.wl correctly
- should run listChars.wl correctly
- should run cat.wl correctly
- should return a referentially transparent function for helloo.wl
- should return a referentially transparent function for camo.wl
- should return a referentially transparent function for listing.wl
- should return a referentially transparent function for flag.wl
- should return a referentially transparent function for letsLive.wl
- should return a referentially transparent function for someday.wl
- should return a referentially transparent function for listChars.wl
- should return a referentially transparent function for cat.wl
ThueSpec:
Thue
- should run hworld.th correctly
- should return a referentially transparent function for hworld.th
NULLSpec:
NULL
- should run hworld.nul correctly
- should return a referentially transparent function for hworld.nul
EsoLCondParserSpec:
EsoLCondParser
- should succeed if both succeed
- should fail if left fails
- should fail if right fails
- should fail if both fail
FracTranSpec:
FracTran++
- should run hworld.ftp correctly
- should run primes.ftp correctly
- should return a referentially transparent function for hworld.ftp
- should return a referentially transparent function for primes.ftp
FracTran
- should run primes.ft correctly
- should return a referentially transparent function for primes.ft
GrassSpec:
Grass
- should run hworld.grs correctly
- should return a referentially transparent function for hworld.grs
VolatileSpec:
Volatile
- should run hworld.vol correctly
- should return a referentially transparent function for hworld.vol
ListLangsHandlerSpec:
ListLangsHandler
- should correctly list the default language components
LoadFileAssociationsHandlerSpec:
LoadFileAssociationsHandler
- should correctly load file associations from the default file with no arguments
- should correctly load file associations from the provided file with -f
- should correctly load file associations from the default file with loadOnly
ClearCacheHandlerSpec:
ClearCacheHandler
- should clear the built program cache
PATHSpec:
PATH
- should run hworld.path correctly
- should return a referentially transparent function for hworld.path
PrimeNumToolsSpec:
PrimeNumTools
- should generate a list of prime number Ints by trial division
- should generate a list of prime number SafeLongs by trial division
- should generate a list of prime number SafeLongs by incremental SOE
- should correctly identify primes numbers
- should factor a number such that it is equal to the product of its factors
BFToSNUSPSpec:
BFToSNUSP
- should preserve the behavior of bitWidth.b
WhiteSpaceSpec:
WhiteSpace
- should run hworld.ws correctly
- should return a referentially transparent function for hworld.ws
UnlambdaSpec:
Unlambda
- should run hworld.unl correctly
- should run alphatest.unl correctly
- should run adventure.unl correctly
- should run primes.unl correctly
- should return a referentially transparent function for hworld.unl
- should return a referentially transparent function for alphatest.unl
- should return a referentially transparent function for adventure.unl
- should return a referentially transparent function for primes.unl
EsoRegexParserSpec:
EsoRegexParser
- should return earliest match
- should match anywhere in input
- should return whole match without capture groups
- should return only capture groups if present
EsoFlatMappedParserSpec:
EsoFlatMappedParser
- should work the do good right
EsoIntoParserSpec:
EsoIntoParser
- should pass p's output into q
SaveFileAssociationsHandlerSpec:
SaveFileAssociationsHandler
- should correctly save file associations to the default file with no arguments
- should correctly save file associations to the provided file with -f option
EsoProdParserSpec:
EsoProdParser
- should pass correctly if both p and q pass
- should fail if p fails
- should fail if q fails
- should fail if p and q fail
PDPSpec:
P''
- should run hworld.pdp correctly
- should return a referentially transparent function for hworld.pdp
LazyBirdSpec:
LazyBird
- should run hworld.lzb correctly
- should run fib.lzb correctly
- should run fibComb.lzb correctly
- should run asciiCat.lzb correctly
- should run equals.lzb correctly
- should interpret named combinator m correctly
- should interpret named combinator 0 correctly
- should interpret named combinator w correctly
- should interpret named combinator u correctly
- should interpret named combinator o correctly
- should interpret named combinator t correctly
- should interpret named combinator l correctly
- should interpret named combinator b correctly
- should interpret named combinator c correctly
- should interpret named combinator q correctly
- should interpret named combinator v correctly
- should interpret named combinator @ correctly
- should return a referentially transparent function for hworld.lzb
- should return a referentially transparent function for fib.lzb
- should return a referentially transparent function for fibComb.lzb
- should return a referentially transparent function for asciiCat.lzb
- should return a referentially transparent function for equals.lzb
EsoConcatParserSpec:
EsoConcatParser
- should correctly combine string output
- should fail if p fails
- should fail if q fails
SetVarHandlerSpec:
SetVarHandler
- should recognize all true keywords
- should recognize all false keywords
- should recognize positive and negative numbers
- should recognize character input
- should recognize multiple assignments
- should report invalid variable names
- should report invalid value types
ExitHandlerSpec:
ExitHandler
- should return the halt state
Run completed in 1 minute, 40 seconds.
Total number of tests run: 293
Suites: completed 82, aborted 0
Tests: succeeded 293, failed 0, canceled 0, ignored 0, pending 0
All tests passed.