-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtests_output.txt
950 lines (837 loc) · 60.6 KB
/
tests_output.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
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
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
rootdir: D:\devel\GIT\DailyCodingChallenge
collected 1 item
codechallenge_004.py::test_code Elasped time running firstFirstMissing() is 0.0
Elasped time running firstMissingValA() is 0.0
Elasped time running firstMissingValB() is 0.0
PASSED
----------------------- generated xml file: D:\devel\GIT\DailyCodingChallenge\test_reports\test_results.xml ------------------------
======================================================== 1 passed in 0.01s =========================================================
Unittest commences for D:\devel\GIT\DailyCodingChallenge\codechallenge_005.py
======================================================= test session starts ========================================================
platform win32 -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 -- C:\Users\markn\.virtualenvs\DailyCodingChallenge-OQHayZge\Scripts\python.EXE
cachedir: .pytest_cache
rootdir: D:\devel\GIT\DailyCodingChallenge
collected 2 items
codechallenge_005.py::test_addDigitsInLinkedLists PASSED
codechallenge_005.py::test_addLinkedList PASSED
----------------------- generated xml file: D:\devel\GIT\DailyCodingChallenge\test_reports\test_results.xml ------------------------
======================================================== 2 passed in 0.02s =========================================================
Unittest commences for D:\devel\GIT\DailyCodingChallenge\codechallenge_006.py
======================================================= test session starts ========================================================
platform win32 -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 -- C:\Users\markn\.virtualenvs\DailyCodingChallenge-OQHayZge\Scripts\python.EXE
cachedir: .pytest_cache
rootdir: D:\devel\GIT\DailyCodingChallenge
collected 1 item
codechallenge_006.py::test_code PASSED
----------------------- generated xml file: D:\devel\GIT\DailyCodingChallenge\test_reports\test_results.xml ------------------------
======================================================== 1 passed in 0.01s =========================================================
Unittest commences for D:\devel\GIT\DailyCodingChallenge\codechallenge_007.py
======================================================= test session starts ========================================================
platform win32 -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 -- C:\Users\markn\.virtualenvs\DailyCodingChallenge-OQHayZge\Scripts\python.EXE
cachedir: .pytest_cache
rootdir: D:\devel\GIT\DailyCodingChallenge
collecting ... [3, 6, 6]
[8, 6, 4]
[3, 7, 5]
[7, 8, 8]
[4, 1, 9]
colors: [0, 1, 0, 1, 0] total cost: 24
colors: [0, 1, 0, 1, 2] total cost: 29
colors: [0, 1, 0, 2, 0] total cost: 24
colors: [0, 1, 0, 2, 1] total cost: 21
colors: [0, 1, 2, 0, 1] total cost: 22
colors: [0, 1, 2, 0, 2] total cost: 30
colors: [0, 1, 2, 1, 0] total cost: 26
colors: [0, 1, 2, 1, 2] total cost: 31
colors: [0, 2, 0, 1, 0] total cost: 22
colors: [0, 2, 0, 1, 2] total cost: 27
colors: [0, 2, 0, 2, 0] total cost: 22
colors: [0, 2, 0, 2, 1] total cost: 19
colors: [0, 2, 1, 0, 1] total cost: 22
colors: [0, 2, 1, 0, 2] total cost: 30
colors: [0, 2, 1, 2, 0] total cost: 26
colors: [0, 2, 1, 2, 1] total cost: 23
colors: [1, 0, 1, 0, 1] total cost: 29
colors: [1, 0, 1, 0, 2] total cost: 37
colors: [1, 0, 1, 2, 0] total cost: 33
colors: [1, 0, 1, 2, 1] total cost: 30
colors: [1, 0, 2, 0, 1] total cost: 27
colors: [1, 0, 2, 0, 2] total cost: 35
colors: [1, 0, 2, 1, 0] total cost: 31
colors: [1, 0, 2, 1, 2] total cost: 36
colors: [1, 2, 0, 1, 0] total cost: 25
colors: [1, 2, 0, 1, 2] total cost: 30
colors: [1, 2, 0, 2, 0] total cost: 25
colors: [1, 2, 0, 2, 1] total cost: 22
colors: [1, 2, 1, 0, 1] total cost: 25
colors: [1, 2, 1, 0, 2] total cost: 33
colors: [1, 2, 1, 2, 0] total cost: 29
colors: [1, 2, 1, 2, 1] total cost: 26
colors: [2, 0, 1, 0, 1] total cost: 29
colors: [2, 0, 1, 0, 2] total cost: 37
colors: [2, 0, 1, 2, 0] total cost: 33
colors: [2, 0, 1, 2, 1] total cost: 30
colors: [2, 0, 2, 0, 1] total cost: 27
colors: [2, 0, 2, 0, 2] total cost: 35
colors: [2, 0, 2, 1, 0] total cost: 31
colors: [2, 0, 2, 1, 2] total cost: 36
colors: [2, 1, 0, 1, 0] total cost: 27
colors: [2, 1, 0, 1, 2] total cost: 32
colors: [2, 1, 0, 2, 0] total cost: 27
colors: [2, 1, 0, 2, 1] total cost: 24
colors: [2, 1, 2, 0, 1] total cost: 25
colors: [2, 1, 2, 0, 2] total cost: 33
colors: [2, 1, 2, 1, 0] total cost: 29
colors: [2, 1, 2, 1, 2] total cost: 34
Number of ways of painting n=5 houses 48
Min cost of 19 is achieved by coloring houses this way 0_2_0_2_1
Where,
color code: 0 color: BambooGreen
color code: 2 color: ArizonaBrown
color code: 0 color: BambooGreen
color code: 2 color: ArizonaBrown
color code: 1 color: LondonFog
collected 0 items
----------------------- generated xml file: D:\devel\GIT\DailyCodingChallenge\test_reports\test_results.xml ------------------------
====================================================== no tests ran in 0.02s =======================================================
Unittest commences for D:\devel\GIT\DailyCodingChallenge\codechallenge_008.py
======================================================= test session starts ========================================================
platform win32 -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 -- C:\Users\markn\.virtualenvs\DailyCodingChallenge-OQHayZge\Scripts\python.EXE
cachedir: .pytest_cache
rootdir: D:\devel\GIT\DailyCodingChallenge
collected 1 item
codechallenge_008.py::test_code Elapsed time: 0.0
PASSED
----------------------- generated xml file: D:\devel\GIT\DailyCodingChallenge\test_reports\test_results.xml ------------------------
======================================================== 1 passed in 0.01s =========================================================
Unittest commences for D:\devel\GIT\DailyCodingChallenge\codechallenge_009.py
======================================================= test session starts ========================================================
platform win32 -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 -- C:\Users\markn\.virtualenvs\DailyCodingChallenge-OQHayZge\Scripts\python.EXE
cachedir: .pytest_cache
rootdir: D:\devel\GIT\DailyCodingChallenge
collected 1 item
codechallenge_009.py::test_code PASSED
----------------------- generated xml file: D:\devel\GIT\DailyCodingChallenge\test_reports\test_results.xml ------------------------
======================================================== 1 passed in 0.01s =========================================================
Unittest commences for D:\devel\GIT\DailyCodingChallenge\codechallenge_010.py
======================================================= test session starts ========================================================
platform win32 -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 -- C:\Users\markn\.virtualenvs\DailyCodingChallenge-OQHayZge\Scripts\python.EXE
cachedir: .pytest_cache
rootdir: D:\devel\GIT\DailyCodingChallenge
collected 1 item
codechallenge_010.py::test_code PASSED
----------------------- generated xml file: D:\devel\GIT\DailyCodingChallenge\test_reports\test_results.xml ------------------------
======================================================== 1 passed in 0.01s =========================================================
Unittest commences for D:\devel\GIT\DailyCodingChallenge\codechallenge_011.py
======================================================= test session starts ========================================================
platform win32 -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 -- C:\Users\markn\.virtualenvs\DailyCodingChallenge-OQHayZge\Scripts\python.EXE
cachedir: .pytest_cache
rootdir: D:\devel\GIT\DailyCodingChallenge
collected 1 item
codechallenge_011.py::test_code -> (3,0) -> (2,0) -> (2,1) -> (2,2) -> (1,2) -> (0,2) -> (0,1) -> (0,0)
-> (3,0) -> (3,1) -> (3,2) -> (3,3)
PASSED
----------------------- generated xml file: D:\devel\GIT\DailyCodingChallenge\test_reports\test_results.xml ------------------------
======================================================== 1 passed in 0.01s =========================================================
Unittest commences for D:\devel\GIT\DailyCodingChallenge\codechallenge_012.py
======================================================= test session starts ========================================================
platform win32 -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 -- C:\Users\markn\.virtualenvs\DailyCodingChallenge-OQHayZge\Scripts\python.EXE
cachedir: .pytest_cache
rootdir: D:\devel\GIT\DailyCodingChallenge
collected 1 item
codechallenge_012.py::TestJustifier::test_code PASSED
----------------------- generated xml file: D:\devel\GIT\DailyCodingChallenge\test_reports\test_results.xml ------------------------
======================================================== 1 passed in 0.01s =========================================================
Unittest commences for D:\devel\GIT\DailyCodingChallenge\codechallenge_013.py
======================================================= test session starts ========================================================
platform win32 -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 -- C:\Users\markn\.virtualenvs\DailyCodingChallenge-OQHayZge\Scripts\python.EXE
cachedir: .pytest_cache
rootdir: D:\devel\GIT\DailyCodingChallenge
collected 1 item
codechallenge_013.py::test_code PASSED
----------------------- generated xml file: D:\devel\GIT\DailyCodingChallenge\test_reports\test_results.xml ------------------------
======================================================== 1 passed in 0.01s =========================================================
Unittest commences for D:\devel\GIT\DailyCodingChallenge\codechallenge_015.py
======================================================= test session starts ========================================================
platform win32 -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 -- C:\Users\markn\.virtualenvs\DailyCodingChallenge-OQHayZge\Scripts\python.EXE
cachedir: .pytest_cache
rootdir: D:\devel\GIT\DailyCodingChallenge
collected 0 items
----------------------- generated xml file: D:\devel\GIT\DailyCodingChallenge\test_reports\test_results.xml ------------------------
====================================================== no tests ran in 0.01s =======================================================
Unittest commences for D:\devel\GIT\DailyCodingChallenge\codechallenge_016.py
======================================================= test session starts ========================================================
platform win32 -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 -- C:\Users\markn\.virtualenvs\DailyCodingChallenge-OQHayZge\Scripts\python.EXE
cachedir: .pytest_cache
rootdir: D:\devel\GIT\DailyCodingChallenge
collected 1 item
codechallenge_016.py::test_code PASSED
----------------------- generated xml file: D:\devel\GIT\DailyCodingChallenge\test_reports\test_results.xml ------------------------
======================================================== 1 passed in 0.01s =========================================================
Unittest commences for D:\devel\GIT\DailyCodingChallenge\codechallenge_017.py
======================================================= test session starts ========================================================
platform win32 -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 -- C:\Users\markn\.virtualenvs\DailyCodingChallenge-OQHayZge\Scripts\python.EXE
cachedir: .pytest_cache
rootdir: D:\devel\GIT\DailyCodingChallenge
collected 1 item
codechallenge_017.py::TestArbitrage::test_code Step1: Trade 1000000 USD for 783992.0000000001 British Pound
Step2: Trade 783992.0000000001 British Pound for 85893022.81164001 Japanese Yen
Step3: Trade 85893022.81164001 Japanese Yen back to 1007155.9183265896 USD
PASSED
----------------------- generated xml file: D:\devel\GIT\DailyCodingChallenge\test_reports\test_results.xml ------------------------
======================================================== 1 passed in 0.01s =========================================================
Unittest commences for D:\devel\GIT\DailyCodingChallenge\codechallenge_018.py
======================================================= test session starts ========================================================
platform win32 -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 -- C:\Users\markn\.virtualenvs\DailyCodingChallenge-OQHayZge\Scripts\python.EXE
cachedir: .pytest_cache
rootdir: D:\devel\GIT\DailyCodingChallenge
collected 1 item
codechallenge_018.py::test_code 2
1.5
2
3.5
2
2.0
2
PASSED
----------------------- generated xml file: D:\devel\GIT\DailyCodingChallenge\test_reports\test_results.xml ------------------------
======================================================== 1 passed in 0.01s =========================================================
Unittest commences for D:\devel\GIT\DailyCodingChallenge\codechallenge_019.py
======================================================= test session starts ========================================================
platform win32 -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 -- C:\Users\markn\.virtualenvs\DailyCodingChallenge-OQHayZge\Scripts\python.EXE
cachedir: .pytest_cache
rootdir: D:\devel\GIT\DailyCodingChallenge
collected 1 item
codechallenge_019.py::test_palindrome PASSED
----------------------- generated xml file: D:\devel\GIT\DailyCodingChallenge\test_reports\test_results.xml ------------------------
======================================================== 1 passed in 0.01s =========================================================
Unittest commences for D:\devel\GIT\DailyCodingChallenge\codechallenge_020.py
======================================================= test session starts ========================================================
platform win32 -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 -- C:\Users\markn\.virtualenvs\DailyCodingChallenge-OQHayZge\Scripts\python.EXE
cachedir: .pytest_cache
rootdir: D:\devel\GIT\DailyCodingChallenge
collected 1 item
codechallenge_020.py::test_code PASSED
----------------------- generated xml file: D:\devel\GIT\DailyCodingChallenge\test_reports\test_results.xml ------------------------
======================================================== 1 passed in 0.01s =========================================================
Unittest commences for D:\devel\GIT\DailyCodingChallenge\codechallenge_021.py
======================================================= test session starts ========================================================
platform win32 -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 -- C:\Users\markn\.virtualenvs\DailyCodingChallenge-OQHayZge\Scripts\python.EXE
cachedir: .pytest_cache
rootdir: D:\devel\GIT\DailyCodingChallenge
collected 1 item
codechallenge_021.py::test_code PASSED
========================================================= warnings summary =========================================================
codechallenge_021.py:1
D:\devel\GIT\DailyCodingChallenge\codechallenge_021.py:1: DeprecationWarning: invalid escape sequence '\ '
'''
-- Docs: https://docs.pytest.org/en/stable/warnings.html
----------------------- generated xml file: D:\devel\GIT\DailyCodingChallenge\test_reports\test_results.xml ------------------------
=================================================== 1 passed, 1 warning in 0.01s ===================================================
Unittest commences for D:\devel\GIT\DailyCodingChallenge\codechallenge_022.py
======================================================= test session starts ========================================================
platform win32 -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 -- C:\Users\markn\.virtualenvs\DailyCodingChallenge-OQHayZge\Scripts\python.EXE
cachedir: .pytest_cache
rootdir: D:\devel\GIT\DailyCodingChallenge
collected 1 item
codechallenge_022.py::test_code PASSED
----------------------- generated xml file: D:\devel\GIT\DailyCodingChallenge\test_reports\test_results.xml ------------------------
======================================================== 1 passed in 0.01s =========================================================
Unittest commences for D:\devel\GIT\DailyCodingChallenge\codechallenge_023.py
======================================================= test session starts ========================================================
platform win32 -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 -- C:\Users\markn\.virtualenvs\DailyCodingChallenge-OQHayZge\Scripts\python.EXE
cachedir: .pytest_cache
rootdir: D:\devel\GIT\DailyCodingChallenge
collected 1 item
codechallenge_023.py::test_code (bottom_half)-- row,col:(0, 98)
(bottom_half)-- row,col:(1, 96)
(bottom_half)-- row,col:(2, 94)
(bottom_half)-- row,col:(3, 92)
(bottom_half)-- row,col:(4, 90)
(bottom_half)-- row,col:(5, 88)
(bottom_half)-- row,col:(6, 86)
(bottom_half)-- row,col:(7, 84)
(bottom_half)-- row,col:(8, 82)
(bottom_half)-- row,col:(9, 80)
(bottom_half)-- row,col:(10, 78)
(bottom_half)-- row,col:(11, 76)
(bottom_half)-- row,col:(12, 74)
(bottom_half)-- row,col:(13, 72)
(bottom_half)-- row,col:(14, 70)
(bottom_half)-- row,col:(15, 68)
(bottom_half)-- row,col:(16, 66)
(bottom_half)-- row,col:(17, 64)
(bottom_half)-- row,col:(18, 62)
(bottom_half)-- row,col:(19, 60)
(bottom_half)-- row,col:(20, 58)
(bottom_half)-- row,col:(21, 56)
(bottom_half)-- row,col:(22, 54)
(bottom_half)-- row,col:(23, 52)
(bottom_half)-- row,col:(24, 50)
(bottom_half)-- row,col:(25, 48)
(bottom_half)-- row,col:(26, 46)
(bottom_half)-- row,col:(27, 44)
(bottom_half)-- row,col:(28, 42)
(bottom_half)-- row,col:(29, 40)
(bottom_half)-- row,col:(30, 38)
(bottom_half)-- row,col:(31, 36)
(bottom_half)-- row,col:(32, 34)
(bottom_half)-- row,col:(33, 32)
(bottom_half)-- row,col:(34, 30)
(bottom_half)-- row,col:(35, 28)
(bottom_half)-- row,col:(36, 26)
(bottom_half)-- row,col:(37, 24)
(bottom_half)-- row,col:(38, 22)
(bottom_half)-- row,col:(39, 20)
(bottom_half)-- row,col:(40, 18)
(bottom_half)-- row,col:(41, 16)
(bottom_half)-- row,col:(42, 14)
(bottom_half)-- row,col:(43, 12)
(bottom_half)-- row,col:(44, 10)
(bottom_half)-- row,col:(45, 8)
(bottom_half)-- row,col:(46, 6)
(bottom_half)-- row,col:(47, 4)
(bottom_half)-- row,col:(48, 2)
(bottom_half)-- row,col:(49, 0)
(top_half)-- row,col:(50, 99)
(top_half)-- row,col:(51, 97)
(top_half)-- row,col:(52, 95)
(top_half)-- row,col:(53, 93)
(top_half)-- row,col:(54, 91)
(top_half)-- row,col:(55, 89)
(top_half)-- row,col:(56, 87)
(top_half)-- row,col:(57, 85)
(top_half)-- row,col:(58, 83)
(top_half)-- row,col:(59, 81)
(top_half)-- row,col:(60, 79)
(top_half)-- row,col:(61, 77)
(top_half)-- row,col:(62, 75)
(top_half)-- row,col:(63, 73)
(top_half)-- row,col:(64, 71)
(top_half)-- row,col:(65, 69)
(top_half)-- row,col:(66, 67)
(top_half)-- row,col:(67, 65)
(top_half)-- row,col:(68, 63)
(top_half)-- row,col:(69, 61)
(top_half)-- row,col:(70, 59)
(top_half)-- row,col:(71, 57)
(top_half)-- row,col:(72, 55)
(top_half)-- row,col:(73, 53)
(top_half)-- row,col:(74, 51)
(top_half)-- row,col:(75, 49)
(top_half)-- row,col:(76, 47)
(top_half)-- row,col:(77, 45)
(top_half)-- row,col:(78, 43)
(top_half)-- row,col:(79, 41)
(top_half)-- row,col:(80, 39)
(top_half)-- row,col:(81, 37)
(top_half)-- row,col:(82, 35)
(top_half)-- row,col:(83, 33)
(top_half)-- row,col:(84, 31)
(top_half)-- row,col:(85, 29)
(top_half)-- row,col:(86, 27)
(top_half)-- row,col:(87, 25)
(top_half)-- row,col:(88, 23)
(top_half)-- row,col:(89, 21)
(top_half)-- row,col:(90, 19)
(top_half)-- row,col:(91, 17)
(top_half)-- row,col:(92, 15)
(top_half)-- row,col:(93, 13)
(top_half)-- row,col:(94, 11)
(top_half)-- row,col:(95, 9)
(top_half)-- row,col:(96, 7)
(top_half)-- row,col:(97, 5)
(top_half)-- row,col:(98, 3)
(top_half)-- row,col:(99, 1)
Queen_positions = [(0, 98), (1, 96), (2, 94), (3, 92), (4, 90), (5, 88), (6, 86), (7, 84), (8, 82), (9, 80), (10, 78), (11, 76), (12, 74), (13, 72), (14, 70), (15, 68), (16, 66), (17, 64), (18, 62), (19, 60), (20, 58), (21, 56), (22, 54), (23, 52), (24, 50), (25, 48), (26, 46), (27, 44), (28, 42), (29, 40), (30, 38), (31, 36), (32, 34), (33, 32), (34, 30), (35, 28), (36, 26), (37, 24), (38, 22),
(39, 20), (40, 18), (41, 16), (42, 14), (43, 12), (44, 10), (45, 8), (46, 6), (47, 4), (48, 2), (49, 0), (50, 99), (51, 97), (52, 95), (53, 93), (54, 91), (55, 89), (56, 87), (57, 85), (58, 83), (59, 81), (60, 79), (61, 77), (62, 75), (63, 73), (64, 71), (65, 69), (66, 67), (67, 65), (68, 63), (69, 61), (70, 59), (71, 57), (72, 55), (73, 53), (74, 51), (75, 49), (76, 47), (77, 45), (78, 43), (79, 41), (80, 39), (81, 37), (82, 35), (83, 33), (84, 31), (85, 29), (86, 27), (87, 25), (88, 23), (89, 21), (90, 19), (91, 17), (92, 15), (93, 13), (94, 11), (95, 9), (96, 7), (97, 5), (98, 3), (99, 1)]
PASSED
----------------------- generated xml file: D:\devel\GIT\DailyCodingChallenge\test_reports\test_results.xml ------------------------
======================================================== 1 passed in 0.02s =========================================================
Unittest commences for D:\devel\GIT\DailyCodingChallenge\codechallenge_025.py
======================================================= test session starts ========================================================
platform win32 -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 -- C:\Users\markn\.virtualenvs\DailyCodingChallenge-OQHayZge\Scripts\python.EXE
cachedir: .pytest_cache
rootdir: D:\devel\GIT\DailyCodingChallenge
collected 1 item
codechallenge_025.py::test_code PASSED
----------------------- generated xml file: D:\devel\GIT\DailyCodingChallenge\test_reports\test_results.xml ------------------------
======================================================== 1 passed in 0.01s =========================================================
Unittest commences for D:\devel\GIT\DailyCodingChallenge\codechallenge_026.py
======================================================= test session starts ========================================================
platform win32 -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 -- C:\Users\markn\.virtualenvs\DailyCodingChallenge-OQHayZge\Scripts\python.EXE
cachedir: .pytest_cache
rootdir: D:\devel\GIT\DailyCodingChallenge
collected 0 items
----------------------- generated xml file: D:\devel\GIT\DailyCodingChallenge\test_reports\test_results.xml ------------------------
====================================================== no tests ran in 0.01s =======================================================
Unittest commences for D:\devel\GIT\DailyCodingChallenge\codechallenge_027.py
======================================================= test session starts ========================================================
platform win32 -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 -- C:\Users\markn\.virtualenvs\DailyCodingChallenge-OQHayZge\Scripts\python.EXE
cachedir: .pytest_cache
rootdir: D:\devel\GIT\DailyCodingChallenge
collected 1 item
codechallenge_027.py::test_getItin PASSED
----------------------- generated xml file: D:\devel\GIT\DailyCodingChallenge\test_reports\test_results.xml ------------------------
======================================================== 1 passed in 0.01s =========================================================
Unittest commences for D:\devel\GIT\DailyCodingChallenge\codechallenge_028.py
======================================================= test session starts ========================================================
platform win32 -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 -- C:\Users\markn\.virtualenvs\DailyCodingChallenge-OQHayZge\Scripts\python.EXE
cachedir: .pytest_cache
rootdir: D:\devel\GIT\DailyCodingChallenge
collected 1 item
codechallenge_028.py::test_get_subset PASSED
----------------------- generated xml file: D:\devel\GIT\DailyCodingChallenge\test_reports\test_results.xml ------------------------
======================================================== 1 passed in 0.01s =========================================================
Unittest commences for D:\devel\GIT\DailyCodingChallenge\codechallenge_029.py
======================================================= test session starts ========================================================
platform win32 -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 -- C:\Users\markn\.virtualenvs\DailyCodingChallenge-OQHayZge\Scripts\python.EXE
cachedir: .pytest_cache
rootdir: D:\devel\GIT\DailyCodingChallenge
collected 1 item
codechallenge_029.py::test_stack PASSED
----------------------- generated xml file: D:\devel\GIT\DailyCodingChallenge\test_reports\test_results.xml ------------------------
======================================================== 1 passed in 0.01s =========================================================
Unittest commences for D:\devel\GIT\DailyCodingChallenge\codechallenge_030.py
======================================================= test session starts ========================================================
platform win32 -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 -- C:\Users\markn\.virtualenvs\DailyCodingChallenge-OQHayZge\Scripts\python.EXE
cachedir: .pytest_cache
rootdir: D:\devel\GIT\DailyCodingChallenge
collected 1 item
codechallenge_030.py::test_inversion_count PASSED
----------------------- generated xml file: D:\devel\GIT\DailyCodingChallenge\test_reports\test_results.xml ------------------------
======================================================== 1 passed in 0.01s =========================================================
Unittest commences for D:\devel\GIT\DailyCodingChallenge\codechallenge_031.py
======================================================= test session starts ========================================================
platform win32 -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 -- C:\Users\markn\.virtualenvs\DailyCodingChallenge-OQHayZge\Scripts\python.EXE
cachedir: .pytest_cache
rootdir: D:\devel\GIT\DailyCodingChallenge
collected 1 item
codechallenge_031.py::test_random7 PASSED
----------------------- generated xml file: D:\devel\GIT\DailyCodingChallenge\test_reports\test_results.xml ------------------------
======================================================== 1 passed in 0.44s =========================================================
Unittest commences for D:\devel\GIT\DailyCodingChallenge\codechallenge_032.py
======================================================= test session starts ========================================================
platform win32 -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 -- C:\Users\markn\.virtualenvs\DailyCodingChallenge-OQHayZge\Scripts\python.EXE
cachedir: .pytest_cache
rootdir: D:\devel\GIT\DailyCodingChallenge
collected 1 item
codechallenge_032.py::Test_isPalindrome::test_longest_palindrome PASSED
========================================================= warnings summary =========================================================
codechallenge_032.py:107
D:\devel\GIT\DailyCodingChallenge\codechallenge_032.py:107: DeprecationWarning: invalid escape sequence '\T'
'''
<unknown>:107
<unknown>:107: DeprecationWarning: invalid escape sequence '\T'
-- Docs: https://docs.pytest.org/en/stable/warnings.html
----------------------- generated xml file: D:\devel\GIT\DailyCodingChallenge\test_reports\test_results.xml ------------------------
================================================== 1 passed, 2 warnings in 0.05s ===================================================
Unittest commences for D:\devel\GIT\DailyCodingChallenge\codechallenge_033.py
======================================================= test session starts ========================================================
platform win32 -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 -- C:\Users\markn\.virtualenvs\DailyCodingChallenge-OQHayZge\Scripts\python.EXE
cachedir: .pytest_cache
rootdir: D:\devel\GIT\DailyCodingChallenge
collected 1 item
codechallenge_033.py::test_profit For maximum profit we buy at 201 and sell at 205 for the profit of 144.
For maximum profit we buy at 201 and sell at 205 for the profit of 144.
PASSED
----------------------- generated xml file: D:\devel\GIT\DailyCodingChallenge\test_reports\test_results.xml ------------------------
======================================================== 1 passed in 0.01s =========================================================
Unittest commences for D:\devel\GIT\DailyCodingChallenge\codechallenge_034.py
======================================================= test session starts ========================================================
platform win32 -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 -- C:\Users\markn\.virtualenvs\DailyCodingChallenge-OQHayZge\Scripts\python.EXE
cachedir: .pytest_cache
rootdir: D:\devel\GIT\DailyCodingChallenge
collected 1 item
codechallenge_034.py::test_highest_sum DBUG--(sub array): [34, -50, 42, 14, -5, 86]
DBUG--(sub array): [34, -50, 42, 14, -5]
DBUG--(sub array): [34, -50, 42, 14]
DBUG--(sub array): [34, -50, 42]
DBUG--(sub array): [34, -50]
DBUG--(sub array): [-50, 42, 14, -5, 86]
DBUG--(sub array): [-50, 42, 14, -5]
DBUG--(sub array): [-50, 42, 14]
DBUG--(sub array): [-50, 42]
DBUG--(sub array): [42, 14, -5, 86]
DBUG--(sub array): [42, 14, -5]
DBUG--(sub array): [42, 14]
DBUG--(sub array): [14, -5, 86]
DBUG--(sub array): [14, -5]
DBUG--(sub array): [-5, 86]
DBUG--(sub array): [-5, -1, -8, -9, -19]
DBUG--(sub array): [-5, -1, -8, -9]
DBUG--(sub array): [-5, -1, -8]
DBUG--(sub array): [-5, -1]
DBUG--(sub array): [-1, -8, -9, -19]
DBUG--(sub array): [-1, -8, -9]
DBUG--(sub array): [-1, -8]
DBUG--(sub array): [-8, -9, -19]
DBUG--(sub array): [-8, -9]
DBUG--(sub array): [-9, -19]
PASSED
----------------------- generated xml file: D:\devel\GIT\DailyCodingChallenge\test_reports\test_results.xml ------------------------
======================================================== 1 passed in 0.01s =========================================================
Unittest commences for D:\devel\GIT\DailyCodingChallenge\codechallenge_035.py
======================================================= test session starts ========================================================
platform win32 -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 -- C:\Users\markn\.virtualenvs\DailyCodingChallenge-OQHayZge\Scripts\python.EXE
cachedir: .pytest_cache
rootdir: D:\devel\GIT\DailyCodingChallenge
collecting ... 84
*
collected 0 items
========================================================= warnings summary =========================================================
codechallenge_035.py:1
D:\devel\GIT\DailyCodingChallenge\codechallenge_035.py:1: DeprecationWarning: invalid escape sequence '\ '
'''
-- Docs: https://docs.pytest.org/en/stable/warnings.html
----------------------- generated xml file: D:\devel\GIT\DailyCodingChallenge\test_reports\test_results.xml ------------------------
======================================================== 1 warning in 0.84s ========================================================
Unittest commences for D:\devel\GIT\DailyCodingChallenge\codechallenge_036.py
======================================================= test session starts ========================================================
platform win32 -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 -- C:\Users\markn\.virtualenvs\DailyCodingChallenge-OQHayZge\Scripts\python.EXE
cachedir: .pytest_cache
rootdir: D:\devel\GIT\DailyCodingChallenge
collected 1 item
codechallenge_036.py::test_dualstack_queue PASSED
----------------------- generated xml file: D:\devel\GIT\DailyCodingChallenge\test_reports\test_results.xml ------------------------
======================================================== 1 passed in 0.01s =========================================================
Unittest commences for D:\devel\GIT\DailyCodingChallenge\codechallenge_038.py
======================================================= test session starts ========================================================
platform win32 -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 -- C:\Users\markn\.virtualenvs\DailyCodingChallenge-OQHayZge\Scripts\python.EXE
cachedir: .pytest_cache
rootdir: D:\devel\GIT\DailyCodingChallenge
collected 1 item
codechallenge_038.py::test_clipped_strs PASSED
----------------------- generated xml file: D:\devel\GIT\DailyCodingChallenge\test_reports\test_results.xml ------------------------
======================================================== 1 passed in 0.01s =========================================================
Unittest commences for D:\devel\GIT\DailyCodingChallenge\codechallenge_039.py
======================================================= test session starts ========================================================
platform win32 -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 -- C:\Users\markn\.virtualenvs\DailyCodingChallenge-OQHayZge\Scripts\python.EXE
cachedir: .pytest_cache
rootdir: D:\devel\GIT\DailyCodingChallenge
collected 1 item
codechallenge_039.py::test_searchindex PASSED
----------------------- generated xml file: D:\devel\GIT\DailyCodingChallenge\test_reports\test_results.xml ------------------------
======================================================== 1 passed in 0.01s =========================================================
Unittest commences for D:\devel\GIT\DailyCodingChallenge\codechallenge_040.py
======================================================= test session starts ========================================================
platform win32 -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 -- C:\Users\markn\.virtualenvs\DailyCodingChallenge-OQHayZge\Scripts\python.EXE
cachedir: .pytest_cache
rootdir: D:\devel\GIT\DailyCodingChallenge
collected 1 item
codechallenge_040.py::test_matchWordInMatrix Result: 'ruth' is found in row 2
DBUG--words_in_cols: ['jmr', 'aau', 'knt', 'eyh']
DBUG--words_in_rows: ['jake', 'many', 'ruth']
Result: 'ruth' is found in row 2
Result: 'omma' is not found.
DBUG--words_in_cols: ['jmr', 'aau', 'knt', 'eyh']
DBUG--words_in_rows: ['jake', 'many', 'ruth']
Result: 'aau' is found in column 1
DBUG--words_in_cols: ['jmr', 'aau', 'knt', 'eyh']
Result: 'aau' is found in column 1
PASSED
----------------------- generated xml file: D:\devel\GIT\DailyCodingChallenge\test_reports\test_results.xml ------------------------
======================================================== 1 passed in 0.01s =========================================================
Unittest commences for D:\devel\GIT\DailyCodingChallenge\codechallenge_041.py
======================================================= test session starts ========================================================
platform win32 -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 -- C:\Users\markn\.virtualenvs\DailyCodingChallenge-OQHayZge\Scripts\python.EXE
cachedir: .pytest_cache
rootdir: D:\devel\GIT\DailyCodingChallenge
collected 1 item
codechallenge_041.py::test_sublisting DBUG-- R_Total:15 L_Total:55 Half:55
PASSED
----------------------- generated xml file: D:\devel\GIT\DailyCodingChallenge\test_reports\test_results.xml ------------------------
======================================================== 1 passed in 0.01s =========================================================
Unittest commences for D:\devel\GIT\DailyCodingChallenge\codechallenge_042.py
======================================================= test session starts ========================================================
platform win32 -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 -- C:\Users\markn\.virtualenvs\DailyCodingChallenge-OQHayZge\Scripts\python.EXE
cachedir: .pytest_cache
rootdir: D:\devel\GIT\DailyCodingChallenge
collected 0 items
========================================================= warnings summary =========================================================
codechallenge_042.py:1
D:\devel\GIT\DailyCodingChallenge\codechallenge_042.py:1: DeprecationWarning: invalid escape sequence '\ '
'''
-- Docs: https://docs.pytest.org/en/stable/warnings.html
----------------------- generated xml file: D:\devel\GIT\DailyCodingChallenge\test_reports\test_results.xml ------------------------
======================================================== 1 warning in 0.01s ========================================================
Unittest commences for D:\devel\GIT\DailyCodingChallenge\codechallenge_044.py
======================================================= test session starts ========================================================
platform win32 -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 -- C:\Users\markn\.virtualenvs\DailyCodingChallenge-OQHayZge\Scripts\python.EXE
cachedir: .pytest_cache
rootdir: D:\devel\GIT\DailyCodingChallenge
collected 1 item
codechallenge_044.py::test_maxprod PASSED
----------------------- generated xml file: D:\devel\GIT\DailyCodingChallenge\test_reports\test_results.xml ------------------------
======================================================== 1 passed in 0.10s =========================================================
Unittest commences for D:\devel\GIT\DailyCodingChallenge\codechallenge_045.py
======================================================= test session starts ========================================================
platform win32 -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 -- C:\Users\markn\.virtualenvs\DailyCodingChallenge-OQHayZge\Scripts\python.EXE
cachedir: .pytest_cache
rootdir: D:\devel\GIT\DailyCodingChallenge
collected 1 item
codechallenge_045.py::test_findNthFactor PASSED
----------------------- generated xml file: D:\devel\GIT\DailyCodingChallenge\test_reports\test_results.xml ------------------------
======================================================== 1 passed in 0.01s =========================================================
Unittest commences for D:\devel\GIT\DailyCodingChallenge\codechallenge_100.py
======================================================= test session starts ========================================================
platform win32 -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 -- C:\Users\markn\.virtualenvs\DailyCodingChallenge-OQHayZge\Scripts\python.EXE
cachedir: .pytest_cache
rootdir: D:\devel\GIT\DailyCodingChallenge
collected 1 item
codechallenge_100.py::TestFindNumber::test_FindNumber codechallenge_100.TestFindNumber.test_FindNumber: 0.000
PASSED
----------------------- generated xml file: D:\devel\GIT\DailyCodingChallenge\test_reports\test_results.xml ------------------------
======================================================== 1 passed in 0.01s =========================================================
Unittest commences for D:\devel\GIT\DailyCodingChallenge\codechallenge_101.py
======================================================= test session starts ========================================================
platform win32 -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 -- C:\Users\markn\.virtualenvs\DailyCodingChallenge-OQHayZge\Scripts\python.EXE
cachedir: .pytest_cache
rootdir: D:\devel\GIT\DailyCodingChallenge
collected 0 items
----------------------- generated xml file: D:\devel\GIT\DailyCodingChallenge\test_reports\test_results.xml ------------------------
====================================================== no tests ran in 0.01s =======================================================
Unittest commences for D:\devel\GIT\DailyCodingChallenge\codechallenge_102.py
======================================================= test session starts ========================================================
platform win32 -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 -- C:\Users\markn\.virtualenvs\DailyCodingChallenge-OQHayZge\Scripts\python.EXE
cachedir: .pytest_cache
rootdir: D:\devel\GIT\DailyCodingChallenge
collected 1 item
codechallenge_102.py::TestDecoder::test_decode ['aaa', 'ak', 'ka']
['al', 'ua', 'ak', 'ka', 'abaa']
['al', 'ua', 'abcd']
PASSED
----------------------- generated xml file: D:\devel\GIT\DailyCodingChallenge\test_reports\test_results.xml ------------------------
======================================================== 1 passed in 0.01s =========================================================
Unittest commences for D:\devel\GIT\DailyCodingChallenge\codechallenge_103.py
======================================================= test session starts ========================================================
platform win32 -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 -- C:\Users\markn\.virtualenvs\DailyCodingChallenge-OQHayZge\Scripts\python.EXE
cachedir: .pytest_cache
rootdir: D:\devel\GIT\DailyCodingChallenge
collected 9 items
codechallenge_103.py::TestOrderLog::test_MultiLog Unit test (Singly linked list):
RecordID at Idx#3: O-8595266830
Last recordID: O-1565943667
Unit test (Stack):
Last recordID: O-1437462817
Unit test (Queue):
RecordID at Idx#500: O-4031299684
Last recordID: O-3949909136
codechallenge_103.TestOrderLog.test_MultiLog: 3.044
PASSED
codechallenge_103.py::TestOrderLog::test_Queue Unit test (Queue):
RecordID at Idx#500: O-7771561618
Last recordID: O-9612513152
codechallenge_103.TestOrderLog.test_Queue: 1.015
PASSED
codechallenge_103.py::TestOrderLog::test_SinglyLinkedList Unit test (Singly linked list):
RecordID at Idx#3: O-3048191439
Last recordID: O-7267017439
codechallenge_103.TestOrderLog.test_SinglyLinkedList: 1.034
PASSED
codechallenge_103.py::TestOrderLog::test_Stack Unit test (Stack):
Last recordID: O-9864118056
codechallenge_103.TestOrderLog.test_Stack: 1.014
PASSED
codechallenge_103.py::test_SinlglyLinkedList Unit test (Singly linked list):
RecordID at Idx#3: O-3253759461
Last recordID: O-7868479961
PASSED
codechallenge_103.py::test_Queue Unit test (Queue):
RecordID at Idx#500: O-2764875391
Last recordID: O-2270118301
PASSED
codechallenge_103.py::test_Stack Unit test (Stack):
Last recordID: O-8369726766
PASSED
codechallenge_103.py::TestQueue::test_Queue Unit test (Queue):
RecordID at Idx#500: O-5324262205
Last recordID: O-9272176107
PASSED
codechallenge_103.py::TestStack::test_Stack Unit test (Stack):
Last recordID: O-2188374693
PASSED
========================================================= warnings summary =========================================================
codechallenge_103.py:201
D:\devel\GIT\DailyCodingChallenge\codechallenge_103.py:201: DeprecationWarning: invalid escape sequence '\d'
'''
<unknown>:201
<unknown>:201
<unknown>:201
<unknown>:201: DeprecationWarning: invalid escape sequence '\d'
-- Docs: https://docs.pytest.org/en/stable/warnings.html
----------------------- generated xml file: D:\devel\GIT\DailyCodingChallenge\test_reports\test_results.xml ------------------------
================================================== 9 passed, 4 warnings in 6.17s ===================================================
Unittest commences for D:\devel\GIT\DailyCodingChallenge\codechallenge_104.py
======================================================= test session starts ========================================================
platform win32 -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 -- C:\Users\markn\.virtualenvs\DailyCodingChallenge-OQHayZge\Scripts\python.EXE
cachedir: .pytest_cache
rootdir: D:\devel\GIT\DailyCodingChallenge
collected 1 item
codechallenge_104.py::TestLongestAbsolutePath::test_absolute_path_len TabCnt Level isFile Token
======= ===== ===== =====
0 0 False dir
1 1 False subdir1
2 2 False subsubdir2
3 3 True file.ext
TabCnt Level isFile Token
======= ===== ===== =====
0 0 False PythonDevSrc
1 1 False Projects
2 2 False CodingChallenges
3 3 True codechallenge_104.py
PASSED
----------------------- generated xml file: D:\devel\GIT\DailyCodingChallenge\test_reports\test_results.xml ------------------------
======================================================== 1 passed in 0.01s =========================================================
Unittest commences for D:\devel\GIT\DailyCodingChallenge\codechallenge_105.py
======================================================= test session starts ========================================================
platform win32 -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 -- C:\Users\markn\.virtualenvs\DailyCodingChallenge-OQHayZge\Scripts\python.EXE
cachedir: .pytest_cache
rootdir: D:\devel\GIT\DailyCodingChallenge
collected 1 item
codechallenge_105.py::TestCodeChallenge105::test_IpAddresses codechallenge_105.TestCodeChallenge105.test_IpAddresses: 1.008
PASSED
----------------------- generated xml file: D:\devel\GIT\DailyCodingChallenge\test_reports\test_results.xml ------------------------
======================================================== 1 passed in 1.02s =========================================================
Unittest commences for D:\devel\GIT\DailyCodingChallenge\codechallenge_106.py
======================================================= test session starts ========================================================
platform win32 -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 -- C:\Users\markn\.virtualenvs\DailyCodingChallenge-OQHayZge\Scripts\python.EXE
cachedir: .pytest_cache
rootdir: D:\devel\GIT\DailyCodingChallenge
collected 1 item
codechallenge_106.py::TestAnagrams::test_anagrams {'d': 1, 'a': 1, 'n': 1, 'g': 1, 'e': 1, 'r': 1}
{'g': 1, 'a': 1, 'r': 1, 'd': 1, 'e': 1, 'n': 1}
{'s': 1, 'p': 1, 'a': 1, 'r': 1, 'k': 1}
{'k': 1, 'r': 1, 'a': 1, 'p': 1, 's': 1}
{'R': 1, 'o': 1, 'l': 1, 'a': 1, 'n': 1, 'd': 1}
{'D': 1, 'o': 1, 'r': 1, 'n': 1, 'a': 1, 'l': 1}
codechallenge_106.TestAnagrams.test_anagrams: 1.012
PASSED
----------------------- generated xml file: D:\devel\GIT\DailyCodingChallenge\test_reports\test_results.xml ------------------------
======================================================== 1 passed in 1.02s =========================================================
Unittest commences for D:\devel\GIT\DailyCodingChallenge\codechallenge_107.py
======================================================= test session starts ========================================================
platform win32 -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 -- C:\Users\markn\.virtualenvs\DailyCodingChallenge-OQHayZge\Scripts\python.EXE
cachedir: .pytest_cache
rootdir: D:\devel\GIT\DailyCodingChallenge
collecting ... pygame 2.1.2 (SDL 2.0.18, Python 3.10.1)
Hello from the pygame community. https://www.pygame.org/contribute.html
collected 0 items
----------------------- generated xml file: D:\devel\GIT\DailyCodingChallenge\test_reports\test_results.xml ------------------------
====================================================== no tests ran in 1.23s =======================================================
Unittest commences for D:\devel\GIT\DailyCodingChallenge\codechallenge_108.py
======================================================= test session starts ========================================================
platform win32 -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 -- C:\Users\markn\.virtualenvs\DailyCodingChallenge-OQHayZge\Scripts\python.EXE
cachedir: .pytest_cache
rootdir: D:\devel\GIT\DailyCodingChallenge
collected 1 item
codechallenge_108.py::TestMergeSortedLists::test_kSortedList codechallenge_108.TestMergeSortedLists.test_kSortedList: 2.001
PASSED
========================================================= warnings summary =========================================================
codechallenge_108.py:72
D:\devel\GIT\DailyCodingChallenge\codechallenge_108.py:72: DeprecationWarning: invalid escape sequence '\d'
'''
<unknown>:72
<unknown>:72: DeprecationWarning: invalid escape sequence '\d'
-- Docs: https://docs.pytest.org/en/stable/warnings.html
----------------------- generated xml file: D:\devel\GIT\DailyCodingChallenge\test_reports\test_results.xml ------------------------
================================================== 1 passed, 2 warnings in 2.03s ===================================================
Unittest commences for D:\devel\GIT\DailyCodingChallenge\codechallenge_109.py
======================================================= test session starts ========================================================
platform win32 -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 -- C:\Users\markn\.virtualenvs\DailyCodingChallenge-OQHayZge\Scripts\python.EXE
cachedir: .pytest_cache
rootdir: D:\devel\GIT\DailyCodingChallenge
collected 1 item
codechallenge_109.py::TestFibonacci::test_fib_next_k PASSED
========================================================= warnings summary =========================================================
codechallenge_109.py:26
D:\devel\GIT\DailyCodingChallenge\codechallenge_109.py:26: PendingDeprecationWarning: the matrix subclass is not the recommended way to represent matrices or deal with linear algebra (see https://docs.scipy.org/doc/numpy/user/numpy-for-matlab-users.html). Please adjust your code to use regular ndarray.
a = np.matrix([[1,1],[1,0]])
codechallenge_109.py:27
D:\devel\GIT\DailyCodingChallenge\codechallenge_109.py:27: PendingDeprecationWarning: the matrix subclass is not the recommended way to represent matrices or deal with linear algebra (see https://docs.scipy.org/doc/numpy/user/numpy-for-matlab-users.html). Please adjust your code to use regular ndarray.
s = np.matrix([[lmbd_1, lmbd_2],[1, 1]])
codechallenge_109.py:28
D:\devel\GIT\DailyCodingChallenge\codechallenge_109.py:28: PendingDeprecationWarning: the matrix subclass is not the recommended way to represent matrices or deal with linear algebra (see https://docs.scipy.org/doc/numpy/user/numpy-for-matlab-users.html). Please adjust your code to use regular ndarray.
s_inv = np.matrix([[1, -lmbd_2],[-1, lmbd_1]]) * (1/np.sqrt(5))
codechallenge_109.py:29
D:\devel\GIT\DailyCodingChallenge\codechallenge_109.py:29: PendingDeprecationWarning: the matrix subclass is not the recommended way to represent matrices or deal with linear algebra (see https://docs.scipy.org/doc/numpy/user/numpy-for-matlab-users.html). Please adjust your code to use regular ndarray.
eig_val = np.matrix([[lmbd_1, 0], [0, lmbd_2]])
codechallenge_109.py:30
D:\devel\GIT\DailyCodingChallenge\codechallenge_109.py:30: PendingDeprecationWarning: the matrix subclass is not the recommended way to represent matrices or deal with linear algebra (see https://docs.scipy.org/doc/numpy/user/numpy-for-matlab-users.html). Please adjust your code to use regular ndarray.
u_0 = np.matrix([[1],[0]])
-- Docs: https://docs.pytest.org/en/stable/warnings.html
----------------------- generated xml file: D:\devel\GIT\DailyCodingChallenge\test_reports\test_results.xml ------------------------
================================================== 1 passed, 5 warnings in 0.02s ===================================================
Unittest commences for D:\devel\GIT\DailyCodingChallenge\codechallenge_110.py
======================================================= test session starts ========================================================
platform win32 -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 -- C:\Users\markn\.virtualenvs\DailyCodingChallenge-OQHayZge\Scripts\python.EXE
cachedir: .pytest_cache
rootdir: D:\devel\GIT\DailyCodingChallenge
collected 1 item
codechallenge_110.py::TestBuldTree::test_buildTree PASSED
========================================================= warnings summary =========================================================
codechallenge_110.py:1
D:\devel\GIT\DailyCodingChallenge\codechallenge_110.py:1: DeprecationWarning: invalid escape sequence '\ '
'''
<unknown>:1
<unknown>:1: DeprecationWarning: invalid escape sequence '\ '
-- Docs: https://docs.pytest.org/en/stable/warnings.html
----------------------- generated xml file: D:\devel\GIT\DailyCodingChallenge\test_reports\test_results.xml ------------------------
================================================== 1 passed, 2 warnings in 0.01s ===================================================
Unittest commences for D:\devel\GIT\DailyCodingChallenge\codechallenge_111.py
======================================================= test session starts ========================================================
platform win32 -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 -- C:\Users\markn\.virtualenvs\DailyCodingChallenge-OQHayZge\Scripts\python.EXE
cachedir: .pytest_cache
rootdir: D:\devel\GIT\DailyCodingChallenge
collected 1 item
codechallenge_111.py::Test111::test_swapLowHigh 1 --> 3 --> 2 --> 5 --> 4 --> 7 --> 6 --> 9 --> 8 --> 11 --> 10 --> 13 --> 12 --> 15
--> 14 --> None
PASSED
========================================================= warnings summary =========================================================
codechallenge_111.py:130
D:\devel\GIT\DailyCodingChallenge\codechallenge_111.py:130: DeprecationWarning: invalid escape sequence '\d'
'''
<unknown>:130
<unknown>:130: DeprecationWarning: invalid escape sequence '\d'
-- Docs: https://docs.pytest.org/en/stable/warnings.html
----------------------- generated xml file: D:\devel\GIT\DailyCodingChallenge\test_reports\test_results.xml ------------------------
================================================== 1 passed, 2 warnings in 0.01s ===================================================
Unittest commences for D:\devel\GIT\DailyCodingChallenge\module_unittests.py
======================================================= test session starts ========================================================
platform win32 -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 -- C:\Users\markn\.virtualenvs\DailyCodingChallenge-OQHayZge\Scripts\python.EXE
cachedir: .pytest_cache
rootdir: D:\devel\GIT\DailyCodingChallenge
collected 13 items
module_unittests.py::TestCodeChallenges::test_codChallenge005 PASSED
module_unittests.py::TestCodeChallenges::test_codeChallenge001 PASSED
module_unittests.py::TestCodeChallenges::test_codeChallenge002 [2, 3, 6]
[120, 60, 40, 30, 24]
PASSED
module_unittests.py::TestCodeChallenges::test_codeChallenge004 PASSED
module_unittests.py::TestCodeChallenges::test_codeChallenge006 PASSED
module_unittests.py::TestCodeChallenges::test_codeChallenge008 Random generated schedule: [(0, 15), (1, 62), (2, 71), (3, 66), (4, 26), (7, 62), (9, 84), (11, 94), (12, 56), (13, 65), (14, 101), (16, 69), (17, 37), (18, 83), (19, 65), (20, 108), (22, 111), (23, 116), (25, 78), (27, 53), (28, 100), (29, 63), (32, 90), (35, 116), (37, 128), (40, 114), (41, 96), (42, 81), (43, 139), (46, 65), (49, 74), (50, 133), (51, 146), (52, 110), (53, 141), (54, 141), (56, 129), (57, 141), (58, 132), (59, 142), (60, 132), (62, 87), (63, 85), (64, 156), (67, 110), (68, 153), (71, 128), (76, 143), (77, 174), (78, 93), (80, 110), (81, 107), (84, 118), (85, 129), (86, 99), (89, 145), (90, 118), (92, 138), (93, 157), (95, 156), (96, 181), (98, 158), (99, 157)]
Number of required room(s): 62
PASSED
module_unittests.py::TestCodeChallenges::test_codeChallenge009 PASSED
module_unittests.py::TestCodeChallenges::test_codeChallenge010 PASSED
module_unittests.py::TestCodeChallenges::test_codeChallenge011 -> (3,0) -> (2,0) -> (2,1) -> (2,2) -> (1,2) -> (0,2) -> (0,1) -> (0,0)
PASSED
module_unittests.py::TestCodeChallenges::test_codeChallenge012 the quick brown
fox jumps over
the lazy dog
PASSED
module_unittests.py::TestCodeChallenges::test_codeChallenge013 PASSED
module_unittests.py::TestCodeChallenges::test_codeChallenge016 PASSED
module_unittests.py::TestCodeChallenges::test_codeChallenge111 PASSED
----------------------- generated xml file: D:\devel\GIT\DailyCodingChallenge\test_reports\test_results.xml ------------------------
======================================================== 13 passed in 0.04s ========================================================
Following files will be zipped:
./test_reports\test_results.xml
All files zipped successfully!
test_reports/test_results.xml
Modified: 2022-04-26 14:13:16
System: 0(0 = Windows, 3 = Unix)
ZIP version: 20
Compressed: 1551 bytes
Uncompressed: 1551 bytes
PS D:\devel\GIT\DailyCodingChallenge>