-
Notifications
You must be signed in to change notification settings - Fork 0
/
CANGUI.nb
631 lines (613 loc) · 31.1 KB
/
CANGUI.nb
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
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
(* Content-type: application/vnd.wolfram.mathematica *)
(*** Wolfram Notebook File ***)
(* http://www.wolfram.com/nb *)
(* CreatedBy='WolframDesktop 11.2' *)
(*CacheID: 234*)
(* Internal cache information:
NotebookFileLineBreakTest
NotebookFileLineBreakTest
NotebookDataPosition[ 161, 7]
NotebookDataLength[ 31727, 623]
NotebookOptionsPosition[ 30608, 594]
NotebookOutlinePosition[ 30983, 610]
CellTagsIndexPosition[ 30940, 607]
WindowFrame->Normal*)
(* Beginning of Notebook Content *)
Notebook[{
Cell[CellGroupData[{
Cell["Run Tests", "Section",ExpressionUUID->"5e55feff-970e-480b-841d-c809f292a6fe"],
Cell[CellGroupData[{
Cell[BoxData[{
RowBox[{
RowBox[{"SetDirectory", "[",
RowBox[{"NotebookDirectory", "[", "]"}], "]"}],
";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"tro", "=",
RowBox[{"TestReport", "[", "\"\<Tests/CANGUI.wlt\>\"", "]"}]}],
"\[IndentingNewLine]"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"failures", "=",
RowBox[{"Flatten", "[",
RowBox[{"Values", "/@",
RowBox[{"Values", "[",
RowBox[{"tro", "[", "\"\<TestsFailed\>\"", "]"}], "]"}]}], "]"}]}],
";"}], "\[IndentingNewLine]",
RowBox[{"If", "[",
RowBox[{
RowBox[{
RowBox[{"Length", "[", "failures", "]"}], ">", "0"}], ",",
"\[IndentingNewLine]",
RowBox[{
RowBox[{"badKeys", "=",
RowBox[{"{",
RowBox[{
"\"\<TestIndex\>\"", ",", "\"\<AbsoluteTimeUsed\>\"", ",",
"\"\<CPUTimeUsed\>\"", ",", "\"\<MemoryUsed\>\"", ",",
"\"\<Outcome\>\""}], "}"}]}], ";", "\[IndentingNewLine]",
RowBox[{"Grid", "[", "\[IndentingNewLine]",
RowBox[{
RowBox[{"Prepend", "[", "\[IndentingNewLine]",
RowBox[{
RowBox[{
RowBox[{
RowBox[{"Values", "[",
RowBox[{"KeyDrop", "[",
RowBox[{
RowBox[{"First", "[", "#", "]"}], ",", "badKeys"}], "]"}], "]"}],
"&"}], "/@", "failures"}], ",", "\[IndentingNewLine]",
RowBox[{"Keys", "[",
RowBox[{"KeyDrop", "[",
RowBox[{
RowBox[{"failures", "[",
RowBox[{"[",
RowBox[{"1", ",", "1"}], "]"}], "]"}], ",", "badKeys"}], "]"}],
"]"}]}], "\[IndentingNewLine]", "]"}], ",", "\[IndentingNewLine]",
RowBox[{"Frame", "\[Rule]", "All"}], ",", "\[IndentingNewLine]",
RowBox[{"Background", "\[Rule]",
RowBox[{"{",
RowBox[{
RowBox[{"{", "}"}], ",",
RowBox[{"{",
RowBox[{"LightGray", ",", "White"}], "}"}]}], "}"}]}]}],
"\[IndentingNewLine]", "]"}]}]}], "\[IndentingNewLine]", "]"}]}], "Input",ExpressionUUID->"229eca7b-1951-4b44-a711-049a5709c3af"],
Cell[BoxData[
InterpretationBox[
RowBox[{
TagBox["TestReportObject",
"SummaryHead"], "[",
DynamicModuleBox[{Typeset`open$$ = False, Typeset`embedState$$ = "Ready"},
TemplateBox[{PaneSelectorBox[{False -> GridBox[{{
PaneBox[
ButtonBox[
DynamicBox[
FEPrivate`FrontEndResource[
"FEBitmaps", "SquarePlusIconMedium"]],
ButtonFunction :> (Typeset`open$$ = True), Appearance -> None,
Evaluator -> Automatic, Method -> "Preemptive"],
Alignment -> {Center, Center}, ImageSize ->
Dynamic[{
Automatic,
3.5 (CurrentValue["FontCapHeight"]/AbsoluteCurrentValue[
Magnification])}]],
GraphicsBox[{
InsetBox[
BoxData[
FormBox[
PaneBox[
DynamicBox[
FEPrivate`FrontEndResource[
"MUnitExpressions", "SuccessIcon"]], Alignment -> Center,
ImageSize ->
Dynamic[{
Automatic,
3.5 (CurrentValue["FontCapHeight"]/AbsoluteCurrentValue[
Magnification])}]], TraditionalForm]]]},
PlotRange -> {{0, 1}, {0, 1}}, Background -> GrayLevel[0.93],
Axes -> False, AspectRatio -> 1, ImageSize ->
Dynamic[{
Automatic,
3.5 (CurrentValue["FontCapHeight"]/AbsoluteCurrentValue[
Magnification])}], Frame -> True, FrameTicks -> None,
FrameStyle -> Directive[
Thickness[Tiny],
GrayLevel[0.55]]],
GridBox[{{
RowBox[{
TagBox["\"Title: \"", "SummaryItemAnnotation"],
"\[InvisibleSpace]",
TagBox["\"Test Report: CANGUI.wlt\"", "SummaryItem"]}],
"\[SpanFromLeft]"}, {
RowBox[{
TagBox["\"Success rate: \"", "SummaryItemAnnotation"],
"\[InvisibleSpace]",
TagBox[
TemplateBox[{"100", "\"%\""}, "RowDefault"],
"SummaryItem"]}],
RowBox[{
TagBox["\"Tests run: \"", "SummaryItemAnnotation"],
"\[InvisibleSpace]",
TagBox["9", "SummaryItem"]}]}},
GridBoxAlignment -> {
"Columns" -> {{Left}}, "Rows" -> {{Automatic}}}, AutoDelete ->
False, GridBoxItemSize -> {
"Columns" -> {{Automatic}}, "Rows" -> {{Automatic}}},
GridBoxSpacings -> {"Columns" -> {{2}}, "Rows" -> {{Automatic}}},
BaseStyle -> {
ShowStringCharacters -> False, NumberMarks -> False,
PrintPrecision -> 3, ShowSyntaxStyles -> False}]}},
GridBoxAlignment -> {"Rows" -> {{Top}}}, AutoDelete -> False,
GridBoxItemSize -> {
"Columns" -> {{Automatic}}, "Rows" -> {{Automatic}}},
BaselinePosition -> {1, 1}], True -> GridBox[{{
PaneBox[
ButtonBox[
DynamicBox[
FEPrivate`FrontEndResource[
"FEBitmaps", "SquareMinusIconMedium"]],
ButtonFunction :> (Typeset`open$$ = False), Appearance -> None,
Evaluator -> Automatic, Method -> "Preemptive"],
Alignment -> {Center, Center}, ImageSize ->
Dynamic[{
Automatic,
3.5 (CurrentValue["FontCapHeight"]/AbsoluteCurrentValue[
Magnification])}]],
GraphicsBox[{
InsetBox[
BoxData[
FormBox[
PaneBox[
DynamicBox[
FEPrivate`FrontEndResource[
"MUnitExpressions", "SuccessIcon"]], Alignment -> Center,
ImageSize ->
Dynamic[{
Automatic,
3.5 (CurrentValue["FontCapHeight"]/AbsoluteCurrentValue[
Magnification])}]], TraditionalForm]]]},
PlotRange -> {{0, 1}, {0, 1}}, Background -> GrayLevel[0.93],
Axes -> False, AspectRatio -> 1, ImageSize ->
Dynamic[{
Automatic,
3.5 (CurrentValue["FontCapHeight"]/AbsoluteCurrentValue[
Magnification])}], Frame -> True, FrameTicks -> None,
FrameStyle -> Directive[
Thickness[Tiny],
GrayLevel[0.55]]],
GridBox[{{
RowBox[{
TagBox["\"Title: \"", "SummaryItemAnnotation"],
"\[InvisibleSpace]",
TagBox["\"Test Report: CANGUI.wlt\"", "SummaryItem"]}],
"\[SpanFromLeft]"}, {
RowBox[{
TagBox["\"Success rate: \"", "SummaryItemAnnotation"],
"\[InvisibleSpace]",
TagBox[
TemplateBox[{"100", "\"%\""}, "RowDefault"],
"SummaryItem"]}],
RowBox[{
TagBox["\"Tests run: \"", "SummaryItemAnnotation"],
"\[InvisibleSpace]",
TagBox["9", "SummaryItem"]}]}, {
RowBox[{
TagBox["\"Succeeded: \"", "SummaryItemAnnotation"],
"\[InvisibleSpace]",
TagBox["9", "SummaryItem"]}], "\[SpanFromLeft]"}, {
RowBox[{
TagBox["\"Failed: \"", "SummaryItemAnnotation"],
"\[InvisibleSpace]",
TagBox["0", "SummaryItem"]}], "\[SpanFromLeft]"}, {
RowBox[{
TagBox[
"\"Failed with wrong results: \"", "SummaryItemAnnotation"],
"\[InvisibleSpace]",
TagBox["0", "SummaryItem"]}], "\[SpanFromLeft]"}, {
RowBox[{
TagBox[
"\"Failed with messages: \"", "SummaryItemAnnotation"],
"\[InvisibleSpace]",
TagBox["0", "SummaryItem"]}], "\[SpanFromLeft]"}, {
RowBox[{
TagBox["\"Failed with errors: \"", "SummaryItemAnnotation"],
"\[InvisibleSpace]",
TagBox["0", "SummaryItem"]}], "\[SpanFromLeft]"}},
GridBoxAlignment -> {
"Columns" -> {{Left}}, "Rows" -> {{Automatic}}}, AutoDelete ->
False, GridBoxItemSize -> {
"Columns" -> {{Automatic}}, "Rows" -> {{Automatic}}},
GridBoxSpacings -> {"Columns" -> {{2}}, "Rows" -> {{Automatic}}},
BaseStyle -> {
ShowStringCharacters -> False, NumberMarks -> False,
PrintPrecision -> 3, ShowSyntaxStyles -> False}]}},
GridBoxAlignment -> {"Rows" -> {{Top}}}, AutoDelete -> False,
GridBoxItemSize -> {
"Columns" -> {{Automatic}}, "Rows" -> {{Automatic}}},
BaselinePosition -> {1, 1}]},
Dynamic[Typeset`open$$], ImageSize -> Automatic]},
"SummaryPanel",
DisplayFunction->(
ButtonBox[#, Active -> False, Alignment -> Left,
Appearance -> {
"Default" ->
FrontEnd`FileName[{"Typeset", "SummaryBox"}, "Panel.9.png"]},
FrameMargins -> 7, BaseStyle -> {},
DefaultBaseStyle -> {"Panel", Background -> None}, BaselinePosition ->
Baseline]& )],
DynamicModuleValues:>{}], "]"}],
TestReportObject[
Association[
"Title" -> "Test Report: CANGUI.wlt", "TimeElapsed" ->
Quantity[0.65, "Seconds"], "TestsSucceededCount" -> 9, "TestsFailedCount" ->
0, "TestsFailedWrongResultsCount" -> 0, "TestsFailedWithMessagesCount" ->
0, "TestsFailedWithErrorsCount" -> 0, "Aborted" -> False, "TestResults" ->
Association[1 -> TestResultObject[
Association[
"TestIndex" -> 1, "TestID" -> "a9a06ee2-536b-48f7-8d8a-abfc33264322",
"Outcome" -> "Success", "Input" -> HoldForm[
Get["CANGUI`"]], "ExpectedOutput" -> HoldForm[Null],
"ActualOutput" -> HoldForm[Null], "ExpectedMessages" -> {},
"ActualMessages" -> {}, "AbsoluteTimeUsed" ->
Quantity[0.0310233`5.642202990392847, "Seconds"], "CPUTimeUsed" ->
Quantity[0.03100000000000236, "Seconds"], "MemoryUsed" ->
Quantity[-2704, "Bytes"]]], 2 -> TestResultObject[
Association[
"TestIndex" -> 2, "TestID" -> "f9d246a8-d529-4833-a655-84a208eaeb82",
"Outcome" -> "Success", "Input" -> HoldForm[
CANGUI`Private`getDuration["DataFiles\\04021105.DAT"]],
"ExpectedOutput" -> HoldForm[
Quantity[44, "Seconds"]], "ActualOutput" -> HoldForm[
Quantity[44, "Seconds"]], "ExpectedMessages" -> {},
"ActualMessages" -> {}, "AbsoluteTimeUsed" ->
Quantity[0.0020019`4.4519573774024215, "Seconds"], "CPUTimeUsed" ->
Quantity[0., "Seconds"], "MemoryUsed" -> Quantity[880, "Bytes"]]], 3 ->
TestResultObject[
Association[
"TestIndex" -> 3, "TestID" -> "c12f07f7-dd10-4df8-b825-98e1277c4fd8",
"Outcome" -> "Success", "Input" -> HoldForm[
CANGUI`Private`getCANMetadata["DataFiles\\04021105.DAT"]],
"ExpectedOutput" -> HoldForm[
Association[
"Date" -> DateObject[{2017, 4, 2}, "Day", "Gregorian", -6.],
"StartTime" -> TimeObject[{11, 5}, TimeZone -> -6.], "EndTime" ->
TimeObject[{11, 6, 0.}, TimeZone -> -6.], "Duration" ->
Quantity[44, "Seconds"]]], "ActualOutput" -> HoldForm[
Association[
"Date" -> DateObject[{2017, 4, 2}, "Day", "Gregorian", -6.],
"StartTime" -> TimeObject[{11, 5}, TimeZone -> -6.], "EndTime" ->
TimeObject[{11, 6, 0.}, TimeZone -> -6.], "Duration" ->
Quantity[44, "Seconds"]]], "ExpectedMessages" -> {},
"ActualMessages" -> {}, "AbsoluteTimeUsed" ->
Quantity[0.0040165`4.754362769131411, "Seconds"], "CPUTimeUsed" ->
Quantity[0., "Seconds"], "MemoryUsed" -> Quantity[2256, "Bytes"]]],
4 -> TestResultObject[
Association[
"TestIndex" -> 4, "TestID" -> "b09784e4-9168-4092-bc58-1f3dfd017d08",
"Outcome" -> "Success", "Input" -> HoldForm[
CANGUI`Private`populateCANFileMetadata["DataFiles_Smaller"]],
"ExpectedOutput" -> HoldForm[
Association[
"DataFiles_Smaller\\09011611.DAT" ->
Association[
"Date" -> DateObject[{2017, 9, 1}, "Day", "Gregorian", -6.],
"StartTime" -> TimeObject[{16, 11}, TimeZone -> -6.], "EndTime" ->
TimeObject[{16, 20, 0.}, TimeZone -> -6.], "Duration" ->
Quantity[567, "Seconds"]], "DataFiles_Smaller\\09011530.DAT" ->
Association[
"Date" -> DateObject[{2017, 9, 1}, "Day", "Gregorian", -6.],
"StartTime" -> TimeObject[{15, 30}, TimeZone -> -6.], "EndTime" ->
TimeObject[{15, 34, 0.}, TimeZone -> -6.], "Duration" ->
Quantity[256, "Seconds"]], "DataFiles_Smaller\\09011515.DAT" ->
Association[
"Date" -> DateObject[{2017, 9, 1}, "Day", "Gregorian", -6.],
"StartTime" -> TimeObject[{15, 15}, TimeZone -> -6.], "EndTime" ->
TimeObject[{15, 23, 0.}, TimeZone -> -6.], "Duration" ->
Quantity[486, "Seconds"]], "DataFiles_Smaller\\08311753.DAT" ->
Association[
"Date" -> DateObject[{2017, 8, 31}, "Day", "Gregorian", -6.],
"StartTime" -> TimeObject[{17, 53}, TimeZone -> -6.], "EndTime" ->
TimeObject[{18, 0, 0.}, TimeZone -> -6.], "Duration" ->
Quantity[442, "Seconds"]], "DataFiles_Smaller\\08310927.DAT" ->
Association[
"Date" -> DateObject[{2017, 8, 31}, "Day", "Gregorian", -6.],
"StartTime" -> TimeObject[{9, 27}, TimeZone -> -6.], "EndTime" ->
TimeObject[{9, 35, 0.}, TimeZone -> -6.], "Duration" ->
Quantity[456, "Seconds"]], "DataFiles_Smaller\\08301742.DAT" ->
Association[
"Date" -> DateObject[{2017, 8, 30}, "Day", "Gregorian", -6.],
"StartTime" -> TimeObject[{17, 42}, TimeZone -> -6.], "EndTime" ->
TimeObject[{17, 45, 0.}, TimeZone -> -6.], "Duration" ->
Quantity[183, "Seconds"]], "DataFiles_Smaller\\08301729.DAT" ->
Association[
"Date" -> DateObject[{2017, 8, 30}, "Day", "Gregorian", -6.],
"StartTime" -> TimeObject[{17, 29}, TimeZone -> -6.], "EndTime" ->
TimeObject[{17, 36, 0.}, TimeZone -> -6.], "Duration" ->
Quantity[431, "Seconds"]], "DataFiles_Smaller\\08300854.DAT" ->
Association[
"Date" -> DateObject[{2017, 8, 30}, "Day", "Gregorian", -6.],
"StartTime" -> TimeObject[{8, 54}, TimeZone -> -6.], "EndTime" ->
TimeObject[{9, 1, 0.}, TimeZone -> -6.], "Duration" ->
Quantity[448, "Seconds"]], "DataFiles_Smaller\\08291919.DAT" ->
Association[
"Date" -> DateObject[{2017, 8, 29}, "Day", "Gregorian", -6.],
"StartTime" -> TimeObject[{19, 19}, TimeZone -> -6.], "EndTime" ->
TimeObject[{19, 29, 0.}, TimeZone -> -6.], "Duration" ->
Quantity[611, "Seconds"]], "DataFiles_Smaller\\08291906.DAT" ->
Association[
"Date" -> DateObject[{2017, 8, 29}, "Day", "Gregorian", -6.],
"StartTime" -> TimeObject[{19, 6}, TimeZone -> -6.], "EndTime" ->
TimeObject[{19, 14, 0.}, TimeZone -> -6.], "Duration" ->
Quantity[482, "Seconds"]], "DataFiles_Smaller\\08291826.DAT" ->
Association[
"Date" -> DateObject[{2017, 8, 29}, "Day", "Gregorian", -6.],
"StartTime" -> TimeObject[{18, 26}, TimeZone -> -6.], "EndTime" ->
TimeObject[{18, 32, 0.}, TimeZone -> -6.], "Duration" ->
Quantity[385, "Seconds"]], "DataFiles_Smaller\\08290926.DAT" ->
Association[
"Date" -> DateObject[{2017, 8, 29}, "Day", "Gregorian", -6.],
"StartTime" -> TimeObject[{9, 26}, TimeZone -> -6.], "EndTime" ->
TimeObject[{9, 31, 0.}, TimeZone -> -6.], "Duration" ->
Quantity[295, "Seconds"]], "DataFiles_Smaller\\08290925.DAT" ->
Association[
"Date" -> DateObject[{2017, 8, 29}, "Day", "Gregorian", -6.],
"StartTime" -> TimeObject[{9, 25}, TimeZone -> -6.], "EndTime" ->
TimeObject[{9, 26, 0.}, TimeZone -> -6.], "Duration" ->
Quantity[61, "Seconds"]], "DataFiles_Smaller\\08281746.DAT" ->
Association[
"Date" -> DateObject[{2017, 8, 28}, "Day", "Gregorian", -6.],
"StartTime" -> TimeObject[{17, 46}, TimeZone -> -6.], "EndTime" ->
TimeObject[{17, 54, 0.}, TimeZone -> -6.], "Duration" ->
Quantity[505, "Seconds"]], "DataFiles_Smaller\\08280932.DAT" ->
Association[
"Date" -> DateObject[{2017, 8, 28}, "Day", "Gregorian", -6.],
"StartTime" -> TimeObject[{9, 32}, TimeZone -> -6.], "EndTime" ->
TimeObject[{9, 39, 0.}, TimeZone -> -6.], "Duration" ->
Quantity[441, "Seconds"]]]], "ActualOutput" -> HoldForm[
Association[
"DataFiles_Smaller\\09011611.DAT" ->
Association[
"Date" -> DateObject[{2017, 9, 1}, "Day", "Gregorian", -6.],
"StartTime" -> TimeObject[{16, 11}, TimeZone -> -6.], "EndTime" ->
TimeObject[{16, 20, 0.}, TimeZone -> -6.], "Duration" ->
Quantity[567, "Seconds"]], "DataFiles_Smaller\\09011530.DAT" ->
Association[
"Date" -> DateObject[{2017, 9, 1}, "Day", "Gregorian", -6.],
"StartTime" -> TimeObject[{15, 30}, TimeZone -> -6.], "EndTime" ->
TimeObject[{15, 34, 0.}, TimeZone -> -6.], "Duration" ->
Quantity[256, "Seconds"]], "DataFiles_Smaller\\09011515.DAT" ->
Association[
"Date" -> DateObject[{2017, 9, 1}, "Day", "Gregorian", -6.],
"StartTime" -> TimeObject[{15, 15}, TimeZone -> -6.], "EndTime" ->
TimeObject[{15, 23, 0.}, TimeZone -> -6.], "Duration" ->
Quantity[486, "Seconds"]], "DataFiles_Smaller\\08311753.DAT" ->
Association[
"Date" -> DateObject[{2017, 8, 31}, "Day", "Gregorian", -6.],
"StartTime" -> TimeObject[{17, 53}, TimeZone -> -6.], "EndTime" ->
TimeObject[{18, 0, 0.}, TimeZone -> -6.], "Duration" ->
Quantity[442, "Seconds"]], "DataFiles_Smaller\\08310927.DAT" ->
Association[
"Date" -> DateObject[{2017, 8, 31}, "Day", "Gregorian", -6.],
"StartTime" -> TimeObject[{9, 27}, TimeZone -> -6.], "EndTime" ->
TimeObject[{9, 35, 0.}, TimeZone -> -6.], "Duration" ->
Quantity[456, "Seconds"]], "DataFiles_Smaller\\08301742.DAT" ->
Association[
"Date" -> DateObject[{2017, 8, 30}, "Day", "Gregorian", -6.],
"StartTime" -> TimeObject[{17, 42}, TimeZone -> -6.], "EndTime" ->
TimeObject[{17, 45, 0.}, TimeZone -> -6.], "Duration" ->
Quantity[183, "Seconds"]], "DataFiles_Smaller\\08301729.DAT" ->
Association[
"Date" -> DateObject[{2017, 8, 30}, "Day", "Gregorian", -6.],
"StartTime" -> TimeObject[{17, 29}, TimeZone -> -6.], "EndTime" ->
TimeObject[{17, 36, 0.}, TimeZone -> -6.], "Duration" ->
Quantity[431, "Seconds"]], "DataFiles_Smaller\\08300854.DAT" ->
Association[
"Date" -> DateObject[{2017, 8, 30}, "Day", "Gregorian", -6.],
"StartTime" -> TimeObject[{8, 54}, TimeZone -> -6.], "EndTime" ->
TimeObject[{9, 1, 0.}, TimeZone -> -6.], "Duration" ->
Quantity[448, "Seconds"]], "DataFiles_Smaller\\08291919.DAT" ->
Association[
"Date" -> DateObject[{2017, 8, 29}, "Day", "Gregorian", -6.],
"StartTime" -> TimeObject[{19, 19}, TimeZone -> -6.], "EndTime" ->
TimeObject[{19, 29, 0.}, TimeZone -> -6.], "Duration" ->
Quantity[611, "Seconds"]], "DataFiles_Smaller\\08291906.DAT" ->
Association[
"Date" -> DateObject[{2017, 8, 29}, "Day", "Gregorian", -6.],
"StartTime" -> TimeObject[{19, 6}, TimeZone -> -6.], "EndTime" ->
TimeObject[{19, 14, 0.}, TimeZone -> -6.], "Duration" ->
Quantity[482, "Seconds"]], "DataFiles_Smaller\\08291826.DAT" ->
Association[
"Date" -> DateObject[{2017, 8, 29}, "Day", "Gregorian", -6.],
"StartTime" -> TimeObject[{18, 26}, TimeZone -> -6.], "EndTime" ->
TimeObject[{18, 32, 0.}, TimeZone -> -6.], "Duration" ->
Quantity[385, "Seconds"]], "DataFiles_Smaller\\08290926.DAT" ->
Association[
"Date" -> DateObject[{2017, 8, 29}, "Day", "Gregorian", -6.],
"StartTime" -> TimeObject[{9, 26}, TimeZone -> -6.], "EndTime" ->
TimeObject[{9, 31, 0.}, TimeZone -> -6.], "Duration" ->
Quantity[295, "Seconds"]], "DataFiles_Smaller\\08290925.DAT" ->
Association[
"Date" -> DateObject[{2017, 8, 29}, "Day", "Gregorian", -6.],
"StartTime" -> TimeObject[{9, 25}, TimeZone -> -6.], "EndTime" ->
TimeObject[{9, 26, 0.}, TimeZone -> -6.], "Duration" ->
Quantity[61, "Seconds"]], "DataFiles_Smaller\\08281746.DAT" ->
Association[
"Date" -> DateObject[{2017, 8, 28}, "Day", "Gregorian", -6.],
"StartTime" -> TimeObject[{17, 46}, TimeZone -> -6.], "EndTime" ->
TimeObject[{17, 54, 0.}, TimeZone -> -6.], "Duration" ->
Quantity[505, "Seconds"]], "DataFiles_Smaller\\08280932.DAT" ->
Association[
"Date" -> DateObject[{2017, 8, 28}, "Day", "Gregorian", -6.],
"StartTime" -> TimeObject[{9, 32}, TimeZone -> -6.], "EndTime" ->
TimeObject[{9, 39, 0.}, TimeZone -> -6.], "Duration" ->
Quantity[441, "Seconds"]]]], "ExpectedMessages" -> {},
"ActualMessages" -> {}, "AbsoluteTimeUsed" ->
Quantity[0.0640476`5.957017858278265, "Seconds"], "CPUTimeUsed" ->
Quantity[0.030999999999998806`, "Seconds"], "MemoryUsed" ->
Quantity[36104, "Bytes"]]], 5 -> TestResultObject[
Association[
"TestIndex" -> 5, "TestID" -> "d6f25b21-d762-443b-9604-75d1f21a9a4f",
"Outcome" -> "Success", "Input" -> HoldForm[
CANGUI`Private`parseRawCANData[CompressedData["
1:eJy1Vs9vTUEUPvddKn6EVkLkKVVtGrWyICkbffIUO+mihEioNBKRtkgrFhos
sMOfILHxe2/VjYgVxcYKsbGxF/FS35c5k3veefP0Wpjku3Mz8835Pefe3vGp
0cmKiOwHVkkYo5nIV8wXpHVsAq7r+2Hw1mLeADwC7gA13VsEluv7cFacP8dz
Rl4VeACQ8g74qWf9yIHfyqvoGudp1XPF8cn7oO8dwBdgndm/BDSU996sL7bR
nxk/qO8HcMjsbzZ+fEycT8mz/mZuv2Lsq+FxDPMAsBoYBG4rthl5R/CY03fm
87HigNNLecdV3oDKOwW8dvLGsla77Nht5J1QWTWV15eQ5+17qvD2+fyuAK46
3Ske83sjwYt5I+8tMGL2t0iRt8hjvbxJ8Hr/0Y/TebCrQ2NFVHV/jeHFe9QN
vARuSes9SvnLtcsJf719TxTevrL1Z+2bb2Mf+QvuvLeroetl6oq8ehb0cYwB
r4DzwENgh9ET87YM+C7NedsqIb8V48d64HNJP9rFZSleVpKX/0d5tp7pt+1X
PVLExdfLMwn1Ujd8Gz9+A7ok9J9U/MrK+1v9xX5PHvvLSQn9hXbvlPCtsv0v
pfe56j3o9C5A+BDmXWa94fSTdyYP74O69klCj7kH3JXwDbFx5p3eKM1xpn0x
zuwHZyX0s9gPuqU4G/XGuqdY9v1U3efS3Hf3aFyo3/bdPBGXFxoXe09yjcu+
JeJC3iwe1zDvNXFh7juB+xoX8qZzaRmUt9LJs37U1Q/WmM2v540or5rg2fvh
R7xH5MW88ZvaL+m8kWf/I+al+T/im5F3E8mbwHxU96YU3Ntu7PN9nGszzk6u
2f+rHknfN/IuujgPq02/pPiX+QPWlY4f
"]]], "ExpectedOutput" -> HoldForm[
Blank[TemporalData]], "ActualOutput" -> HoldForm[
TemporalData[Automatic, {CompressedData["
1:eJyNVT1rVFEQnfueG1GXjREMIa4xUQmaymIFtdldWeOmkxRRIoIfiCCSrCsq
Fi5qkdipP2HBRuNHb2UjwcpEbaxUbNKkF0nQGe4Z3mTcFQ8c7nyemfve22Tk
4uzkTEJEW5hl5mQgqjMrzCX2JfeJ+ZFi7DPFeJXtiRDPqZD5CXoq0JDY+TRq
SnwCuuIvU+ytoVZjnqpTD1m/zltm7QtprJE5tbAxd4vZSGOsGjI9udODJO4k
ute55jvbBYr4SZ0h8dPMFvMMk1tpGr6HxBpGs4V+9aX3LewCdUcLee0/C/uI
qbkELd3lGPMuctOgxWU39xpzJ+zfFJ9LD/yciY9i71HE1E8MexCTs4hYQH/R
7bGJuaPLvVVnwPTrvEPMg8w8c7PZSXNHzX666zZonsJOel/BM+YV2PLOvmHe
KmIB/WWjV4XfAD8w3yNWYr5BvEzZu07QO8VcYX5FzrOAvj7Tvwe2oh9z5Hs8
7HKCGnMc9n7KvrUGtBQPmXXY8q57cfeTpkae9XOc6r+g+Ox7MWccMdlpDjsv
oH7OaL1DrY1ZyNyXzHmcgjHmK9hfUFOCluRem5zWjxk92XGWmUK3glzVzL3d
ZR+pl7ufg78P97zDvG/qJDYIzRuU3d3OuNoh5rGAvPZvhb2OewiK0Oo3uRzO
AexhIXe/Cd31f8z2kLsfZy7CX4Tv4WOdap7+x7yaO2X+CdiPnZbsot/3dor/
w+ZBi9TYvyg+H/m+B02uiXMXTvmdDsP2p2I3KMhDU5HAD/APMIco+9saMFtP
/T2qRurmPYKfh5bNPTH7DUNTzh/MvUZXeI/id9JmriGn30Pb+YoS/Q2pHTF+
ztj2WyyZeo15tp3GGm1E09R4NJ2vevYOqvsHJiaNsA==
"], CompressedData["
1:eJxFz7tOAlEUheEzVy4CltQm2OIjzGo0mdbEksaEcqThLbTiEbDTHhPegsKK
2gQ7RERERHM2v2Enkz3nm7NWMifXvctu5JwLeDJ3mCub52y/X/g0zx4f/Mzx
N3yBL/B3fIkv8Q98ha/wT3yNr/EvfINv8G98i2/xH3yH7/Df/19Tpz85b3ac
xrPhbXvs1DQIZNwPZGsS6MwuhLpr+5dQr/76LNSFBSLd++Mw0r42pjemN6Y3
oTehN6E3pTelN6W3RG+J3rJO80ErH5Rlq1XRzXRUTEcV2TGv6qnwUJVxcUSu
Rq5Grk6uTq5BrkHuWH+p+L6q
"], 9, {"Discrete", 9}, {"Discrete", 1}, 1, {}}, False, 11.2]],
"ExpectedMessages" -> {}, "ActualMessages" -> {}, "AbsoluteTimeUsed" ->
Quantity[0.001501`4.326895690075258, "Seconds"], "CPUTimeUsed" ->
Quantity[0., "Seconds"], "MemoryUsed" -> Quantity[5840, "Bytes"]]],
6 -> TestResultObject[
Association[
"TestIndex" -> 6, "TestID" -> "7a0d61d0-2d66-448d-a076-aa8fd1a4722d",
"Outcome" -> "Success", "Input" -> HoldForm[
CANGUI`nibbleGet[97, 0]], "ExpectedOutput" -> HoldForm[1],
"ActualOutput" -> HoldForm[1], "ExpectedMessages" -> {},
"ActualMessages" -> {}, "AbsoluteTimeUsed" ->
Quantity[0``7.150514997831988, "Seconds"], "CPUTimeUsed" ->
Quantity[0., "Seconds"], "MemoryUsed" -> Quantity[40, "Bytes"]]], 7 ->
TestResultObject[
Association[
"TestIndex" -> 7, "TestID" -> "46abb517-4e7e-4f5b-b6b2-3be6a91bd589",
"Outcome" -> "Success", "Input" -> HoldForm[
CANGUI`nibbleGet[97, 1]], "ExpectedOutput" -> HoldForm[6],
"ActualOutput" -> HoldForm[6], "ExpectedMessages" -> {},
"ActualMessages" -> {}, "AbsoluteTimeUsed" ->
Quantity[0``7.150514997831988, "Seconds"], "CPUTimeUsed" ->
Quantity[0., "Seconds"], "MemoryUsed" -> Quantity[40, "Bytes"]]], 8 ->
TestResultObject[
Association[
"TestIndex" -> 8, "TestID" -> "5f1b1fca-fd37-4ffe-b6a0-aefa99fc8f72",
"Outcome" -> "Success", "Input" -> HoldForm[
Apply[And,
Map[CANGUI`nibbleGet[#, 0] + 16 CANGUI`nibbleGet[#, 1] === #& ,
Range[1, 255]]]], "ExpectedOutput" -> HoldForm[True],
"ActualOutput" -> HoldForm[True], "ExpectedMessages" -> {},
"ActualMessages" -> {}, "AbsoluteTimeUsed" ->
Quantity[0.0014976`4.325910829226017, "Seconds"], "CPUTimeUsed" ->
Quantity[0.01600000000000179, "Seconds"], "MemoryUsed" ->
Quantity[344, "Bytes"]]], 9 -> TestResultObject[
Association[
"TestIndex" -> 9, "TestID" -> "5ef58d3e-972e-432a-a244-9df740c4c2bf",
"Outcome" -> "Success", "Input" -> HoldForm[
With[{$CellContext`nibble =
CANGUI`nibbleGet[97, 1, -1]}, $CellContext`nibble === FromDigits[
StringPadLeft[
IntegerString[$CellContext`nibble, 2], 4, "0"], 2]]],
"ExpectedOutput" -> HoldForm[True], "ActualOutput" -> HoldForm[True],
"ExpectedMessages" -> {}, "ActualMessages" -> {},
"AbsoluteTimeUsed" -> Quantity[0``7.150514997831988, "Seconds"],
"CPUTimeUsed" -> Quantity[0., "Seconds"], "MemoryUsed" ->
Quantity[40, "Bytes"]]]],
"TestsSucceededIndices" -> {1, 2, 3, 4, 5, 6, 7, 8, 9},
"TestsFailedIndices" -> {}, "TestsFailedWrongResultsIndices" -> {},
"TestsFailedWithMessagesIndices" -> {},
"TestsFailedWithErrorsIndices" -> {}]],
Editable->False,
SelectWithContents->True,
Selectable->False]], "Output",ExpressionUUID->"0fc5cc87-0e96-456e-9a6c-\
9bdaa16963fc"]
}, Open ]]
}, Closed]],
Cell[CellGroupData[{
Cell["Test GUI", "Section",ExpressionUUID->"e0585df1-3fda-451b-83c3-6991ba212496"],
Cell[BoxData[{
RowBox[{
RowBox[{"SetDirectory", "[",
RowBox[{"NotebookDirectory", "[", "]"}], "]"}],
";"}], "\[IndentingNewLine]",
RowBox[{"Get", "[", "\"\<CANGUI/CANGUI.wl\>\"", "]"}]}], "Input",ExpressionUU\
ID->"8261572d-80f9-4322-8119-a9da2c4bcb1b"],
Cell[BoxData[
RowBox[{"CANGUI", "[", "]"}]], "Input",ExpressionUUID->"d70225c1-1b71-4a47-9446-880882f14609"]
}, Open ]],
Cell[CellGroupData[{
Cell["MessageSpacePlot work", "Section",ExpressionUUID->"990d480e-8e57-47c4-8307-3a48beb30425"],
Cell[BoxData[{
RowBox[{
RowBox[{"SetDirectory", "[",
RowBox[{"NotebookDirectory", "[", "]"}], "]"}],
";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"Get", "[", "\"\<CANGUI/CANGUI.wl\>\"", "]"}],
";"}], "\[IndentingNewLine]",
RowBox[{"CANMessageSpacePlot", "[", "]"}]}], "Input",
CellChangeTimes->{{3.7249509867152424`*^9, 3.724951003958083*^9}, {
3.7249512372662687`*^9, 3.7249512428011436`*^9}, {3.724951880832773*^9,
3.7249518905126495`*^9}, {3.724952539084097*^9, 3.724952542154911*^9}, {
3.724952582792346*^9, 3.7249525902467556`*^9}, {3.7249545894354453`*^9,
3.7249545925868073`*^9}, {3.727291027294895*^9,
3.7272910392313356`*^9}},ExpressionUUID->"ff1c5411-0fea-4ef1-a746-\
b98ef50f763c"]
}, Open ]]
},
WindowSize->{958, 988},
WindowMargins->{{Automatic, -7}, {Automatic, 0}},
TrackCellChangeTimes->False,
FrontEndVersion->"11.2 for Microsoft Windows (64-bit) (September 11, 2017)",
StyleDefinitions->"Default.nb"
]
(* End of Notebook Content *)
(* Internal cache information *)
(*CellTagsOutline
CellTagsIndex->{}
*)
(*CellTagsIndex
CellTagsIndex->{}
*)
(*NotebookFileOutline
Notebook[{
Cell[CellGroupData[{
Cell[583, 22, 83, 0, 67, "Section",ExpressionUUID->"5e55feff-970e-480b-841d-c809f292a6fe"],
Cell[CellGroupData[{
Cell[691, 26, 2047, 53, 295, "Input",ExpressionUUID->"229eca7b-1951-4b44-a711-049a5709c3af"],
Cell[2741, 81, 26478, 471, 71, "Output",ExpressionUUID->"0fc5cc87-0e96-456e-9a6c-9bdaa16963fc"]
}, Open ]]
}, Closed]],
Cell[CellGroupData[{
Cell[29268, 558, 82, 0, 53, "Section",ExpressionUUID->"e0585df1-3fda-451b-83c3-6991ba212496"],
Cell[29353, 560, 265, 6, 48, "Input",ExpressionUUID->"8261572d-80f9-4322-8119-a9da2c4bcb1b"],
Cell[29621, 568, 109, 1, 28, "Input",ExpressionUUID->"d70225c1-1b71-4a47-9446-880882f14609"]
}, Open ]],
Cell[CellGroupData[{
Cell[29767, 574, 95, 0, 67, "Section",ExpressionUUID->"990d480e-8e57-47c4-8307-3a48beb30425"],
Cell[29865, 576, 727, 15, 67, "Input",ExpressionUUID->"ff1c5411-0fea-4ef1-a746-b98ef50f763c"]
}, Open ]]
}
]
*)