-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.c
1274 lines (1240 loc) · 94.5 KB
/
main.c
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
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* main.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: gavizet <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2016/12/08 11:12:31 by gavizet #+# #+# */
/* Updated: 2017/02/16 08:04:41 by angavrel ### ########.fr */
/* */
/* ************************************************************************** */
#define TEST_D
#define TEST_U
#define TEST_O
#define TEST_X
//#define UNDEFINED
//#define TEST
#include <stdio.h>
#include <limits.h>
#include <locale.h>
#include "includes/ft_printf.h"
int main(void)
{
#ifdef TEST_F
printf("\033[1;41m|----------------------------| (Lancement du test f en cours...) |----------------------------|\033[0m\n");
printf("\033[1;32m|-----| LE VRAI |-----|\033[0m\n");
printf("{%d}\n", printf("\033[1;32mTest 1 => \033[0m|%f||%F|", 1.42, 1.42));
printf("{%d}\n", printf("\033[1;32mTest 2 => \033[0m|%f||%F|", -1.42, -1.42));
printf("{%d}\n", printf("\033[1;32mTest 3 => \033[0m|%f||%F|", 1444565444646.6465424242242, 1444565444646.6465424242242));
printf("{%d}\n", printf("\033[1;32mTest 4 => \033[0m|%f||%F|", -1444565444646.6465424242242454654, -1444565444646.6465424242242454654));
printf("{%d}\n", printf("\033[1;32mTest 5 => \033[0m|%f||%F|", 0.0, 0.0));
printf("{%d}\n", printf("\033[1;32mTest 6 => \033[0m|% f||% F|", 42424242.4242424242424242, 424242424242.424242424242));
printf("{%d}\n", printf("\033[1;32mTest 7 => \033[0m|%+f||%+F|", 42424242.4242424242424242, 424242424242.424242424242));
printf("{%d}\n", printf("\033[1;32mTest 8 => \033[0m|%-5f||%-5F|", 42424242.4242424242424242, 424242424242.424242424242));
printf("{%d}\n", printf("\033[1;32mTest 9 => \033[0m|%25.5f||%25.5F|", 42424242.4242424242424242, 424242424242.424242424242));
printf("{%d}\n", printf("\033[1;32mTest 10 => \033[0m|%-25.5f||%-25.5F|", 42424242.4242424242424242, 424242424242.424242424242));
printf("{%d}\n", printf("\033[1;32mTest 11 => \033[0m|%#f||%#F|", 42424242.4242424242424242, 424242424242.424242424242));
printf("{%d}\n", printf("\033[1;32mTest 12 => \033[0m|%05f||%05F|", 42424242.4242424242424242, 424242424242.424242424242));
printf("{%d}\n", printf("\033[1;32mTest 13 => \033[0m|%025f||%025F|", 42424242.4242424242424242, 424242424242.424242424242));
printf("{%d}\n", printf("\033[1;32mTest 14 => \033[0m|%+025f||%+025F|", 42424242.4242424242424242, 424242424242.424242424242));
printf("{%d}\n", printf("\033[1;32mTest 15 => \033[0m|%0.10f||%0.10F|", 42424242.4242424242424242, 424242424242.424242424242));
printf("{%d}\n", printf("\033[1;32mTest 16 => \033[0m|%hhf||%hhF|", 42424242.4242424242424242, 424242424242.424242424242));
printf("{%d}\n", printf("\033[1;32mTest 17 => \033[0m|%hf||%hF|", 42424242.4242424242424242, 424242424242.424242424242));
printf("{%d}\n", printf("\033[1;32mTest 18 => \033[0m|%lf||%lF|", 42424242.4242424242424242, 424242424242.424242424242));
printf("{%d}\n", printf("\033[1;32mTest 19 => \033[0m|%llf||%llF|", 42424242.4242424242424242, 424242424242.424242424242));
printf("{%d}\n", printf("\033[1;32mTest 20 => \033[0m|%jf||%jF|", 42424242.4242424242424242, 424242424242.424242424242));
printf("{%d}\n", printf("\033[1;32mTest 21 => \033[0m|%zf||%zF|", 42424242.4242424242424242, 424242424242.424242424242));
ft_printf("\033[1;31m|-----| LE NOTRE |-----|\033[0m\n");
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 1 => \033[0m|%f||%F|", 1.42, 1.42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 2 => \033[0m|%f||%F|", -1.42, -1.42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 3 => \033[0m|%f||%F|", 1444565444646.6465424242242, 1444565444646.6465424242242));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 4 => \033[0m|%f||%F|", -1444565444646.6465424242242454654, -1444565444646.6465424242242454654));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 5 => \033[0m|%f||%F|", 0.0, 0.0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 6 => \033[0m|% f||% F|", 42424242.4242424242424242, 424242424242.424242424242));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 7 => \033[0m|%+f||%+F|", 42424242.4242424242424242, 424242424242.424242424242));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 8 => \033[0m|%-5f||%-5F|", 42424242.4242424242424242, 424242424242.424242424242));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 9 => \033[0m|%25.5f||%25.5F|", 42424242.4242424242424242, 424242424242.424242424242));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 10 => \033[0m|%-25.5f||%-25.5F|", 42424242.4242424242424242, 424242424242.424242424242));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 11 => \033[0m|%#f||%#F|", 42424242.4242424242424242, 424242424242.424242424242));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 12 => \033[0m|%05f||%05F|", 42424242.4242424242424242, 424242424242.424242424242));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 13 => \033[0m|%025f||%025F|", 42424242.4242424242424242, 424242424242.424242424242));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 14 => \033[0m|%+025f||%+025F|", 42424242.4242424242424242, 424242424242.424242424242));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 15 => \033[0m|%0.10f||%0.10F|", 42424242.4242424242424242, 424242424242.424242424242));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 16 => \033[0m|%hhf||%hhF|", 42424242.4242424242424242, 424242424242.424242424242));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 17 => \033[0m|%hf||%hF|", 42424242.4242424242424242, 424242424242.424242424242));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 18 => \033[0m|%lf||%lF|", 42424242.4242424242424242, 424242424242.424242424242));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 19 => \033[0m|%llf||%llF|", 42424242.4242424242424242, 424242424242.424242424242));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 20 => \033[0m|%jf||%jF|", 42424242.4242424242424242, 424242424242.424242424242));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 21 => \033[0m|%zf||%zF|", 42424242.4242424242424242, 424242424242.424242424242));
#endif
#ifdef TEST_BONUS
printf("\033[1;41m|----------------------------| (Lancement du test * en cours...) |----------------------------|\033[0m\n");
printf("\033[1;32m|-----| LE VRAI |-----|\033[0m\n");
printf("{%d}\n", printf("\033[1;32mTest 1 => \033[0m|%*d|", 5, 42));
printf("{%d}\n", printf("\033[1;32mTest 2 => \033[0m|%*d|", -5, 42));
printf("{%d}\n", printf("\033[1;32mTest 3 => \033[0m|%*d|", 0, 42));
printf("{%d}\n", printf("\033[1;32mTest 4 => \033[0m|%*c|", 0, 0));
printf("{%d}\n", printf("\033[1;32mTest 5 => \033[0m|%*c|", -15, 0));
printf("{%d}\n", printf("\033[1;32mTest 6 => \033[0m|%.*d|", 5, 42));
printf("{%d}\n", printf("\033[1;32mTest 7 => \033[0m|%.*d|", -5, 42));
printf("{%d}\n", printf("\033[1;32mTest 8 => \033[0m|%.*d|", 0, 42));
printf("{%d}\n", printf("\033[1;32mTest 9 => \033[0m|%.*s|", 5, "42"));
printf("{%d}\n", printf("\033[1;32mTest 10 => \033[0m|%.*s|", -5, "42"));
printf("{%d}\n", printf("\033[1;32mTest 11 => \033[0m|%.*s|", 0, "42"));
printf("{%d}\n", printf("\033[1;32mTest 12 => \033[0m|%*s|", 5, 0));
printf("{%d}\n", printf("\033[1;32mTest 13 => \033[0m|%3*p|", 10, 0));
printf("{%d}\n", printf("\033[1;32mTest 14 => \033[0m|%*.*d|", 0, 3, 0));
printf("{%d}\n", printf("\033[1;32mTest 15 => \033[0m|%3*d|", 0, 0));
printf("{%d}\n", printf("\033[1;32mTest 16 => \033[0m|%*3d|", 0, 0));
printf("{%d}\n", printf("\033[1;32mTest 17 => \033[0m|%*3d|", 5, 0));
printf("{%d}\n", printf("\033[1;32mTest 18 => \033[0m|%05.*d|", -15, 42));
ft_printf("\033[1;31m|-----| LE NOTRE |-----|\033[0m\n");
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 1 => \033[0m|%*d|", 5, 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 2 => \033[0m|%*d|", -5, 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 3 => \033[0m|%*d|", 0, 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 4 => \033[0m|%*c|", 0, 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 5 => \033[0m|%*c|", -15, 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 6 => \033[0m|%.*d|", 5, 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 7 => \033[0m|%.*d|", -5, 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 8 => \033[0m|%.*d|", 0, 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 9 => \033[0m|%.*s|", 5, "42"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 10 => \033[0m|%.*s|", -5, "42"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 11 => \033[0m|%.*s|", 0, "42"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 12 => \033[0m|%*s|", 5, 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 13 => \033[0m|%3*p|", 10, 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 14 => \033[0m|%*.*d|", 0, 3, 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 15 => \033[0m|%3*d|", 0, 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 16 => \033[0m|%*3d|", 0, 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 17 => \033[0m|%*3d|", 5, 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 18 => \033[0m|%05.*d|", -15, 42));
#endif
#ifdef UNDEFINED
printf("\033[1;41m|----------------------------| (Lancement du test bullshit en cours...) |----------------------------|\033[0m\n");
printf("\033[1;32m|-----| LE VRAI |-----|\033[0m\n");
ft_printf("\033[1;31m|-----| LE NOTRE |-----|\033[0m\n");
printf("{%d}\n", printf("\033[1;32mTest 1 => \033[0m|%|"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 1 => \033[0m|%|"));
printf("{%d}\n", printf("\033[1;32mTest 2 => \033[0m|% |"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 2 => \033[0m|% |"));
printf("{%d}\n", printf("\033[1;32mTest 3 => \033[0m|% h|"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 3 => \033[0m|% h|"));
printf("{%d}\n", printf("\033[1;32mTest 4 => \033[0m|%h|"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 4 => \033[0m|%h|"));
printf("{%d}\n", printf("\033[1;32mTest 5 => \033[0m|%Z|"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 5 => \033[0m|%Z|"));
printf("{%d}\n", printf("\033[1;32mTest 6 => \033[0m|% hZ|"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 6 => \033[0m|% hZ|"));
printf("{%d}\n", printf("\033[1;32mTest 7 => \033[0m|% hZ%|"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 7 => \033[0m|% hZ%|"));
printf("{%d}\n", printf("\033[1;32mTest 8 => \033[0m|% Z|", "test"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 8 => \033[0m|% Z|", "test"));
printf("{%d}\n", printf("\033[1;32mTest 9 => \033[0m|% Z |", "test"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 9 => \033[0m|% Z |", "test"));
printf("{%d}\n", printf("\033[1;32mTest 10 => \033[0m|% Z%s|", "test"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 10 => \033[0m|% Z%s|", "test"));
printf("{%d}\n", printf("\033[1;32mTest 11 => \033[0m|%%%|", "test"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 11 => \033[0m|%%%|", "test"));
printf("{%d}\n", printf("\033[1;32mTest 12 => \033[0m|%% %|", "test"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 12 => \033[0m|%% %|", "test"));
printf("{%d}\n", printf("\033[1;32mTest 13 => \033[0m|%ll#x|", 9223372036854775807));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 13 => \033[0m|%ll#x|", 9223372036854775807));
printf("{%d}\n", printf("\033[1;32mTest 14 => \033[0m|%010s is a string|", "this"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 14 => \033[0m|%010s is a string|", "this"));
printf("{%d}\n", printf("\033[1;32mTest 15 => \033[0m|%05c|", 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 15 => \033[0m|%05c|", 42));
printf("{%d}\n", printf("\033[1;32mTest 16 => \033[0m|% Z|", 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 16 => \033[0m|% Z|", 42));
printf("{%d}\n", printf("\033[1;32mTest 17 => \033[0m|%5+d|", 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 17 => \033[0m|%5+d|", 42));
printf("{%d}\n", printf("\033[1;32mTest 18 => \033[0m|%5+d|", -42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 18 => \033[0m|%5+d|", -42));
printf("{%d}\n", printf("\033[1;32mTest 19 => \033[0m|%-5+d|", 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 19 => \033[0m|%-5+d|", 42));
printf("{%d}\n", printf("\033[1;32mTest 20 => \033[0m|%-5+d|", -42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 20 => \033[0m|%-5+d|", -42));
printf("{%d}\n", printf("\033[1;32mTest 21 => \033[0m|%zhd|", "4294967296"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 21 => \033[0m|%zhd|", "4294967296"));
printf("{%d}\n", printf("\033[1;32mTest 22 => \033[0m|%jzd|", "9223372036854775807"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 22 => \033[0m|%jzd|", "9223372036854775807"));
printf("{%d}\n", printf("\033[1;32mTest 23 => \033[0m|%jhd|", "9223372036854775807"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 23 => \033[0m|%jhd|", "9223372036854775807"));
printf("{%d}\n", printf("\033[1;32mTest 24 => \033[0m|%lhl|", "9223372036854775807"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 24 => \033[0m|%lhl|", "9223372036854775807"));
printf("{%d}\n", printf("\033[1;32mTest 25 => \033[0m|%lhlz|", "9223372036854775807"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 25 => \033[0m|%lhlz|", "9223372036854775807"));
printf("{%d}\n", printf("\033[1;32mTest 26 => \033[0m|%zj|", "9223372036854775807"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 26 => \033[0m|%zj|", "9223372036854775807"));
printf("{%d}\n", printf("\033[1;32mTest 27 => \033[0m|%lhh|", "2147483647"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 27 => \033[0m|%lhh|", "2147483647"));
printf("{%d}\n", printf("\033[1;32mTest 28 => \033[0m|%hhld|", "128"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 28 => \033[0m|%hhld|", "128"));
printf("{%d}\n", printf("\033[1;32mTest 29 => \033[0m@main_ftprintf: |%####000033..1..#00d|", 256));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 29 => \033[0m@main_ftprintf: |%####000033..1..#00d|", 256));
printf("{%d}\n", printf("\033[1;32mTest 30 => \033[0m@main_ftprintf: |%####000033..1d|", 256));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 30 => \033[0m@main_ftprintf: |%####000033..1d|", 256));
printf("{%d}\n", printf("\033[1;32mTest 31 => \033[0m@main_ftprintf: |%###-#000033...12..#0+0d|", 256));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 31 => \033[0m@main_ftprintf: |%###-#000033...12..#0+0d|", 256));
printf("{%d}\n", printf("\033[1;32mTest 32 => \033[0m@main_ftprintf: |%33d|", 256));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 32 => \033[0m@main_ftprintf: |%33d|", 256));
printf("{%d}\n", printf("\033[1;32mTest 33 => \033[0m@main_ftprintf: |%+33d|", 256));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 33 => \033[0m@main_ftprintf: |%+33d|", 256));
printf("{%d}\n", printf("\033[1;32mTest 34 => \033[0m@main_ftprintf: |%-+33d|", 256));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 34 => \033[0m@main_ftprintf: |%-+33d|", 256));
printf("{%d}\n", printf("\033[1;32mTest 35 => \033[0m@main_ftprintf: |%-+33.d|", 256));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 35 => \033[0m@main_ftprintf: |%-+33.d|", 256));
#endif
#ifdef TEST
static int i = 42;
printf("\n\033[1;32m|-----| LE VRAI |-----|\033[0m\n");
ft_printf("\033[1;31m|-----| LE NOTRE |-----|\033[0m\n");
printf("{%d}\n", printf("\033[1;32mTest 1 => \033[0m|s: %s, p: %p, d:%d|", "a string", &i, 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 1 => \033[0m|s: %s, p: %p, d:%d|", "a string", &i, 42));
printf("{%d}\n", printf("\033[1;32mTest 2 => \033[0m|%10RR|"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 2 => \033[0m|%10RR|"));
printf("{%d}\n", printf("\033[1;32mTest 3 => \033[0m|%#10RR|"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 3 => \033[0m|%#10RR|"));
printf("{%d}\n", printf("\033[1;32mTest 4 => \033[0m|%010RR|"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 4 => \033[0m|%010RR|"));
printf("{%d}\n", printf("\033[1;32mTest 5 => \033[0m|%+10RR|"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 5 => \033[0m|%+10RR|"));
printf("{%d}\n", printf("\033[1;32mTest 6 => \033[0m|%-10RR|"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 6 => \033[0m|%-10RR|"));
printf("{%d}\n", printf("\033[1;32mTest 7 => \033[0m|%#10.5RR|"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 7 => \033[0m|%#10.5RR|"));
printf("{%d}\n", printf("\033[1;32mTest 8 => \033[0m|%010.5RR|"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 8 => \033[0m|%010.5RR|"));
printf("{%d}\n", printf("\033[1;32mTest 9 => \033[0m|%+10.5RR|"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 9 => \033[0m|%+10.5RR|"));
printf("{%d}\n", printf("\033[1;32mTest 10 => \033[0m|%-10.5RR|"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 10 => \033[0m|%-10.5RR|"));
printf("{%d}\n", printf("\033[1;32mTest 11 => \033[0m|%d|", 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 11 => \033[0m|%d|", 42));
printf("{%d}\n", printf("\033[1;32mTest 12 => \033[0m@moulitest: |%#.1x %#.10x|", 0, 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 12 => \033[0m@moulitest: |%#.1x %#.10x|", 0, 0));
printf("{%d}\n", printf("\033[1;32mTest 13 => \033[0m@moulitest: |%#.x %#.0x|", 0, 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 13 => \033[0m@moulitest: |%#.x %#.0x|", 0, 0));
printf("{%d}\n", printf("\033[1;32mTest 14 => \033[0m@moulitest: |%.x %.0x|", 0, 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 14 => \033[0m@moulitest: |%.x %.0x|", 0, 0));
printf("{%d}\n", printf("\033[1;32mTest 15 => \033[0m@moulitest: |%5.x %5.0x|", 0, 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 15 => \033[0m@moulitest: |%5.x %5.0x|", 0, 0));
#endif
#ifdef TEST_C
printf("\033[1;41m|-------------------------| (Lancement du test LETTRE en cours...) |-------------------------|\033[0m\n");
printf("\033[1;32m|-----| LE VRAI |-----|\033[0m\n");
ft_printf("\033[1;31m|-----| LE NOTRE |-----|\033[0m\n");
printf("{%d}\n", printf("\033[1;32mTest 1 => \033[0m|%05.c|", 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 1 => \033[0m|%05.c|", 0));
printf("{%d}\n", printf("\033[1;32mTest 2 => \033[0m|%05.c|", 'a'));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 2 => \033[0m|%05.c|", 'a'));
printf("{%d}\n", printf("\033[1;32mTest 3 => \033[0m|%c|", '4'));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 3 => \033[0m|%c|", '4'));
printf("{%d}\n", printf("\033[1;32mTest 4 => \033[0m|%hhc|", '4'));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 4 => \033[0m|%hhc|", '4'));
printf("{%d}\n", printf("\033[1;32mTest 5 => \033[0m|%hc|", '4'));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 5 => \033[0m|%hc|", '4'));
printf("{%d}\n", printf("\033[1;32mTest 6 => \033[0m|%llc|", '4'));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 6 => \033[0m|%llc|", '4'));
printf("{%d}\n", printf("\033[1;32mTest 7 => \033[0m|%jc|", '4'));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 7 => \033[0m|%jc|", '4'));
printf("{%d}\n", printf("\033[1;32mTest 8 => \033[0m|%zc|", '4'));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 8 => \033[0m|%zc|", '4'));
printf("{%d}\n", printf("\033[1;32mTest 9 => \033[0m|%+c|", 'a'));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 9 => \033[0m|%+c|", 'a'));
printf("{%d}\n", printf("\033[1;32mTest 10 => \033[0m|%#c|", 'a'));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 10 => \033[0m|%#c|", 'a'));
printf("{%d}\n", printf("\033[1;32mTest 11 => \033[0m|%c|", '4'));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 11 => \033[0m|%c|", '4'));
printf("{%d}\n", printf("\033[1;32mTest 12 => \033[0m|%-c|", '4'));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 12 => \033[0m|%-c|", '4'));
printf("{%d}\n", printf("\033[1;32mTest 13 => \033[0m|%15c|", '4'));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 13 => \033[0m|%15c|", '4'));
printf("{%d}\n", printf("\033[1;32mTest 14 => \033[0m|%-15c|", '4'));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 14 => \033[0m|%-15c|", '4'));
printf("{%d}\n", printf("\033[1;32mTest 15 => \033[0m|%.2c|", NULL));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 15 => \033[0m|%.2c|", NULL));
printf("{%d}\n", printf("\033[1;32mTest 16 => \033[0m|% c|", 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 16 => \033[0m|% c|", 0));
printf("{%d}\n", printf("\033[1;32mTest 17 => \033[0m|%c|", "coucou"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 17 => \033[0m|%c|", "coucou"));
printf("{%d}\n", printf("\033[1;32mTest 18 => \033[0m|%05.c|", 'a'));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 18 => \033[0m|%05.c|", 'a'));
printf("{%d}\n", printf("\033[1;32mTest 19 => \033[0m|%015c|", '4'));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 19 => \033[0m|%015c|", '4'));
printf("{%d}\n", printf("\033[1;32mTest 20 => \033[0m|%-015c|", '4'));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 20 => \033[0m|%-015c|", '4'));
printf("{%d}\n", printf("\033[1;32mTest 21 => \033[0m|%-0c|", '4'));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 21 => \033[0m|%-0c|", '4'));
printf("{%d}\n", printf("\033[1;32mTest 22 => \033[0m|%.12c|", '4'));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 22 => \033[0m|%.12c|", '4'));
printf("{%d}\n", printf("\033[1;32mTest 23 => \033[0m|%.0c|", '4'));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 23 => \033[0m|%.0c|", '4'));
printf("{%d}\n", printf("\033[1;32mTest 24 => \033[0m|%-12.3c|", '4'));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 24 => \033[0m|%-12.3c|", '4'));
printf("{%d}\n", printf("\033[1;32mTest 25 => \033[0m|%-3.1c|", 'a'));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 25 => \033[0m|%-3.1c|", 'a'));
printf("{%d}\n", printf("\033[1;32mTest 26 => \033[0m|%12.1c|", 'a'));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 26 => \033[0m|%12.1c|", 'a'));
printf("{%d}\n", printf("\033[1;32mTest 27 => \033[0m|%3.1c|", '4'));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 27 => \033[0m|%3.1c|", '4'));
printf("{%d}\n", printf("\033[1;32mTest 28 => \033[0m|%-c|", NULL));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 28 => \033[0m|%-c|", NULL));
printf("{%d}\n", printf("\033[1;32mTest 29 => \033[0m|%3c|", NULL));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 29 => \033[0m|%3c|", NULL));
printf("{%d}\n", printf("\033[1;32mTest 30 => \033[0m|%-3c|", NULL));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 30 => \033[0m|%-3c|", NULL));
printf("{%d}\n", printf("\033[1;32mTest 31 => \033[0m|%.2c|", 'a'));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 31 => \033[0m|%.2c|", 'a'));
printf("{%d}\n", printf("\033[1;32mTest 32 => \033[0m|%5.5c|", "N"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 32 => \033[0m|%5.5c|", "N"));
printf("{%d}\n", printf("\033[1;32mTest 33 => \033[0m|%7.5c|", "Number 42"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 33 => \033[0m|%7.5c|", "Number 42"));
printf("{%d}\n", printf("\033[1;32mTest 34 => \033[0m|%.5c|", "Number 42"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 34 => \033[0m|%.5c|", "Number 42"));
printf("{%d}\n", printf("\033[1;32mTest 35 => \033[0m|%.15c|", "Number 42"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 35 => \033[0m|%.15c|", "Number 42"));
printf("{%d}\n", printf("\033[1;32mTest 36 => \033[0m|%15c|", "Number 42"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 36 => \033[0m|%15c|", "Number 42"));
printf("{%d}\n", printf("\033[1;32mTest 37 => \033[0m|%5c|", "Number 42"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 37 => \033[0m|%5c|", "Number 42"));
printf("{%d}\n", printf("\033[1;32mTest 38 => \033[0m|%-5.5c|", "Number 42"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 38 => \033[0m|%-5.5c|", "Number 42"));
printf("{%d}\n", printf("\033[1;32mTest 39 => \033[0m|%-15.5c|", "Number 42"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 39 => \033[0m|%-15.5c|", "Number 42"));
printf("{%d}\n", printf("\033[1;32mTest 40 => \033[0m|%-.5c|", "Number 42"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 40 => \033[0m|%-.5c|", "Number 42"));
printf("{%d}\n", printf("\033[1;32mTest 41 => \033[0m|%-15c|", "Number 42"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 41 => \033[0m|%-15c|", "Number 42"));
printf("{%d}\n", printf("\033[1;32mTest 42 => \033[0m|%c|", NULL));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 42 => \033[0m|%c|", NULL));
printf("{%d}\n", printf("\033[1;32mTest 43 => \033[0m|%-c|", NULL));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 43 => \033[0m|%-c|", NULL));
printf("{%d}\n", printf("\033[1;32mTest 44 => \033[0m|%5.5c|", NULL));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 44 => \033[0m|%5.5c|", NULL));
printf("{%d}\n", printf("\033[1;32mTest 45 => \033[0m|%15.5c|", NULL));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 45 => \033[0m|%15.5c|", NULL));
printf("{%d}\n", printf("\033[1;32mTest 46 => \033[0m|%.5c|", NULL));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 46 => \033[0m|%.5c|", NULL));
printf("{%d}\n", printf("\033[1;32mTest 47 => \033[0m|%15c|", NULL));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 47 => \033[0m|%15c|", NULL));
printf("{%d}\n", printf("\033[1;32mTest 48 => \033[0m|%-5.5c|", NULL));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 48 => \033[0m|%-5.5c|", NULL));
printf("{%d}\n", printf("\033[1;32mTest 49 => \033[0m|%-15.5c|", NULL));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 49 => \033[0m|%-15.5c|", NULL));
printf("{%d}\n", printf("\033[1;32mTest 50 => \033[0m|%-.5c|", NULL));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 50 => \033[0m|%-.5c|", NULL));
printf("{%d}\n", printf("\033[1;32mTest 51 => \033[0m|%-15c|", NULL));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 51 => \033[0m|%-15c|", NULL));
printf("{%d}\n", printf("\033[1;32mTest 52 => \033[0m|%15c|", "bonjour"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 52 => \033[0m|%15c|", "bonjour"));
#endif
#ifdef TEST_S
printf("\033[1;41m|-------------------------| (Lancement du test STRING en cours...) |-------------------------|\033[0m\n");
printf("\033[1;32m|-----| LE VRAI |-----|\033[0m\n");
ft_printf("\033[1;31m|-----| LE NOTRE |-----|\033[0m\n");
printf("{%d}\n", printf("\033[1;32mTest 1 => \033[0m|%05.s|", 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 1 => \033[0m|%05.s|", 0));
printf("{%d}\n", printf("\033[1;32mTest 2 => \033[0m|%05.s|", "42"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 2 => \033[0m|%05.s|", "42"));
printf("{%d}\n", printf("\033[1;32mTest 2b => \033[0m|%05.2s|", "42"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 2b => \033[0m|%05.2s|", "42"));
printf("{%d}\n", printf("\033[1;32mTest 3 => \033[0m|%s|", "salut"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 3 => \033[0m|%s|", "salut"));
printf("{%d}\n", printf("\033[1;32mTest 4 => \033[0m|%hhs|", "salut"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 4 => \033[0m|%hhs|", "salut"));
printf("{%d}\n", printf("\033[1;32mTest 5 => \033[0m|%hs|", "salut"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 5 => \033[0m|%hs|", "salut"));
printf("{%d}\n", printf("\033[1;32mTest 6 => \033[0m|%lls|", "salut"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 6 => \033[0m|%lls|", "salut"));
printf("{%d}\n", printf("\033[1;32mTest 7 => \033[0m|%js|", "salut"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 7 => \033[0m|%js|", "salut"));
printf("{%d}\n", printf("\033[1;32mTest 8 => \033[0m|%zs|", "salut"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 8 => \033[0m|%zs|", "salut"));
printf("{%d}\n", printf("\033[1;32mTest 9 => \033[0m|% s|", NULL));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 9 => \033[0m|% s|", NULL));
printf("{%d}\n", printf("\033[1;32mTest 10 => \033[0m|%+s|", 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 10 => \033[0m|%+s|", 0));
printf("{%d}\n", printf("\033[1;32mTest 11 => \033[0m|%#s|", 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 11 => \033[0m|%#s|", 0));
printf("{%d}\n", printf("\033[1;32mTest 12 => \033[0m|%#s|", "hola"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 12 => \033[0m|%#s|", "hola"));
printf("{%d}\n", printf("\033[1;32mTest 13 => \033[0m|%s|", "Number 42"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 13 => \033[0m|%s|", "Number 42"));
printf("{%d}\n", printf("\033[1;32mTest 14 => \033[0m|%-s|", "Number 42"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 14 => \033[0m|%-s|", "Number 42"));
printf("{%d}\n", printf("\033[1;32mTest 15 => \033[0m|%5.5s|", "Number 42"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 15 => \033[0m|%5.5s|", "Number 42"));
printf("{%d}\n", printf("\033[1;32mTest 16 => \033[0m|%15.5s|", "Number 42"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 16 => \033[0m|%15.5s|", "Number 42"));
printf("{%d}\n", printf("\033[1;32mTest 17 => \033[0m|%.5s|", "Number 42"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 17 => \033[0m|%.5s|", "Number 42"));
printf("{%d}\n", printf("\033[1;32mTest 17b => \033[0m|%.15s|", "Number 42"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 17b => \033[0m|%.15s|", "Number 42"));
printf("{%d}\n", printf("\033[1;32mTest 18 => \033[0m|%15s|", "Number 42"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 18 => \033[0m|%15s|", "Number 42"));
printf("{%d}\n", printf("\033[1;32mTest 18b => \033[0m|%5s|", "Number 42"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 18b => \033[0m|%5s|", "Number 42"));
printf("{%d}\n", printf("\033[1;32mTest 19 => \033[0m|%-5.5s|", "Number 42"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 19 => \033[0m|%-5.5s|", "Number 42"));
printf("{%d}\n", printf("\033[1;32mTest 20 => \033[0m|%-15.5s|", "Number 42"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 20 => \033[0m|%-15.5s|", "Number 42"));
printf("{%d}\n", printf("\033[1;32mTest 21 => \033[0m|%-.5s|", "Number 42"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 21 => \033[0m|%-.5s|", "Number 42"));
printf("{%d}\n", printf("\033[1;32mTest 22 => \033[0m|%-15s|", "Number 42"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 22 => \033[0m|%-15s|", "Number 42"));
printf("{%d}\n", printf("\033[1;32mTest 23 => \033[0m|%s|", NULL));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 23 => \033[0m|%s|", NULL));
printf("{%d}\n", printf("\033[1;32mTest 24 => \033[0m|%-s|", NULL));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 24 => \033[0m|%-s|", NULL));
printf("{%d}\n", printf("\033[1;32mTest 25 => \033[0m|%5.5s|", NULL));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 25 => \033[0m|%5.5s|", NULL));
printf("{%d}\n", printf("\033[1;32mTest 26 => \033[0m|%15.5s|", NULL));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 26 => \033[0m|%15.5s|", NULL));
printf("{%d}\n", printf("\033[1;32mTest 27 => \033[0m|%.5s|", NULL));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 27 => \033[0m|%.5s|", NULL));
printf("{%d}\n", printf("\033[1;32mTest 28 => \033[0m|%15s|", NULL));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 28 => \033[0m|%15s|", NULL));
printf("{%d}\n", printf("\033[1;32mTest 29 => \033[0m|%-5.5s|", NULL));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 29 => \033[0m|%-5.5s|", NULL));
printf("{%d}\n", printf("\033[1;32mTest 30 => \033[0m|%-15.5s|", NULL));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 30 => \033[0m|%-15.5s|", NULL));
printf("{%d}\n", printf("\033[1;32mTest 31 => \033[0m|%-.5s|", NULL));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 31 => \033[0m|%-.5s|", NULL));
printf("{%d}\n", printf("\033[1;32mTest 32 => \033[0m|%-15s|", NULL));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 32 => \033[0m|%-15s|", NULL));
printf("{%d}\n", printf("\033[1;32mTest 33 => \033[0m|%s|", "coucou"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 33 => \033[0m|%s|", "coucou"));
printf("{%d}\n", printf("\033[1;32mTest 34 => \033[0m|%05.s|", "salut"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 34 => \033[0m|%05.s|", "salut"));
printf("{%d}\n", printf("\033[1;32mTest 34b => \033[0m|%5.s|", "salut"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 34b => \033[0m|%5.s|", "salut"));
printf("{%d}\n", printf("\033[1;32mTest 35 => \033[0m|%015s|", "salut"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 35 => \033[0m|%015s|", "salut"));
printf("{%d}\n", printf("\033[1;32mTest 36 => \033[0m|%-015s|", "salut"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 36 => \033[0m|%-015s|", "salut"));
printf("{%d}\n", printf("\033[1;32mTest 37 => \033[0m|%-0s|", "salut"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 37 => \033[0m|%-0s|", "salut"));
printf("{%d}\n", printf("\033[1;32mTest 38 => \033[0m|%.12s|", "salut"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 38 => \033[0m|%.12s|", "salut"));
printf("{%d}\n", printf("\033[1;32mTest 39 => \033[0m|%.0s|", "salut"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 39 => \033[0m|%.0s|", "salut"));
printf("{%d}\n", printf("\033[1;32mTest 40 => \033[0m|%-12.1s|", "salut"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 40 => \033[0m|%-12.1s|", "salut"));
printf("{%d}\n", printf("\033[1;32mTest 41 => \033[0m|%-3.2s|", "salut"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 41 => \033[0m|%-3.2s|", "salut"));
printf("{%d}\n", printf("\033[1;32mTest 42 => \033[0m|%12.1s|", "salut"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 42 => \033[0m|%12.1s|", "salut"));
printf("{%d}\n", printf("\033[1;32mTest 43 => \033[0m|%3.2s|", "salut"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 43 => \033[0m|%3.2s|", "salut"));
printf("{%d}\n", printf("\033[1;32mTest 44 => \033[0m|%-s|", NULL));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 44 => \033[0m|%-s|", NULL));
printf("{%d}\n", printf("\033[1;32mTest 45 => \033[0m|%3s|", NULL));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 45 => \033[0m|%3s|", NULL));
printf("{%d}\n", printf("\033[1;32mTest 46 => \033[0m|%-3s|", NULL));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 46 => \033[0m|%-3s|", NULL));
printf("{%d}\n", printf("\033[1;32mTest 47 => \033[0m|%.2s|", "salut"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 47 => \033[0m|%.2s|", "salut"));
#endif
#ifdef TEST_P
printf("\033[1;41m|-----------------------| (Lancement du test POINTEUR en cours...) |-----------------------|\033[0m\n");
int i = 42;
printf("\033[1;32m|-----| LE VRAI |-----|\033[0m\n");
ft_printf("\033[1;31m|-----| LE NOTRE |-----|\033[0m\n");
printf("{%d}\n", printf("\033[1;32mTest 0 => \033[0m|%5p|", 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 0 => \033[0m|%5p|", 0));
printf("{%d}\n", printf("\033[1;32mTest 1 => \033[0m|%05p|", 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 1 => \033[0m|%05p|", 0));
printf("{%d}\n", printf("\033[1;32mTest 2 => \033[0m|%9.2p|", 1234));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 2 => \033[0m|%9.2p|", 1234));
printf("{%d}\n", printf("\033[1;32mTest 3 => \033[0m|%#9.2p|", 1234));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 3 => \033[0m|%#9.2p|", 1234));
printf("{%d}\n", printf("\033[1;32mTest 4 => \033[0m|%.0p|, |%.p|", 0, 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 4 => \033[0m|%.0p|, |%.p|", 0, 0));
printf("{%d}\n", printf("\033[1;32mTest 5 => \033[0m|%.1p|, |%.2p|", 0, 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 5 => \033[0m|%.1p|, |%.2p|", 0, 0));
printf("{%d}\n", printf("\033[1;32mTest 6 => \033[0m|%.3p|, |%.5p|", 0, 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 6 => \033[0m|%.3p|, |%.5p|", 0, 0));
printf("{%d}\n", printf("\033[1;32mTest 7 => \033[0m|%10.5p|, |%5.10p|", 0, 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 7 => \033[0m|%10.5p|, |%5.10p|", 0, 0));
printf("{%d}\n", printf("\033[1;32mTest 8 => \033[0m|%-10.5p|, |%-5.10p|", 0, 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 8 => \033[0m|%-10.5p|, |%-5.10p|", 0, 0));
printf("{%d}\n", printf("\033[1;32mTest 7b => \033[0m|%10.5p|, |%5.10p|", 42, 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 7b => \033[0m|%10.5p|, |%5.10p|", 42, 42));
printf("{%d}\n", printf("\033[1;32mTest 8b => \033[0m|%-10.5p|, |%-5.10p|", 42, 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 8b => \033[0m|%-10.5p|, |%-5.10p|", 42, 42));
printf("{%d}\n", printf("\033[1;32mTest 9 => \033[0m|%p|", &i));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 9 => \033[0m|%p|", &i));
printf("{%d}\n", printf("\033[1;32mTest 10 => \033[0m|%-5p|", &i));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 10 => \033[0m|%-5p|", &i));
printf("{%d}\n", printf("\033[1;32mTest 11 => \033[0m|%p|", 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 11 => \033[0m|%p|", 0));
printf("{%d}\n", printf("\033[1;32mTest 12 => \033[0m|%lp|", 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 12 => \033[0m|%lp|", 42));
printf("{%d}\n", printf("\033[1;32mTest 13 => \033[0m|%5p|", 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 13 => \033[0m|%5p|", 0));
printf("{%d}\n", printf("\033[1;32mTest 14 => \033[0m|%.0p|, |%.p|", 0, 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 14 => \033[0m|%.0p|, |%.p|", 0, 0));
printf("{%d}\n", printf("\033[1;32mTest 15 => \033[0m|%.1p|, |%.2p|", 0, 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 15 => \033[0m|%.1p|, |%.2p|", 0, 0));
printf("{%d}\n", printf("\033[1;32mTest 16 => \033[0m|%.3p|, |%.5p|", 0, 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 16 => \033[0m|%.3p|, |%.5p|", 0, 0));
printf("{%d}\n", printf("\033[1;32mTest 17 => \033[0m|%10.5p|, |%10.5p|", 0, 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 17 => \033[0m|%10.5p|, |%10.5p|", 0, 0));
printf("{%d}\n", printf("\033[1;32mTest 18 => \033[0m|%-10.5p|, |%-10.5p|", 0, 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 18 => \033[0m|%-10.5p|, |%-10.5p|", 0, 0));
printf("{%d}\n", printf("\033[1;32mTest 19 => \033[0m|%p|", 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 19 => \033[0m|%p|", 42));
printf("{%d}\n", printf("\033[1;32mTest 20 => \033[0m|%-5p|", 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 20 => \033[0m|%-5p|", 42));
printf("{%d}\n", printf("\033[1;32mTest 21 => \033[0m|%p|", 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 21 => \033[0m|%p|", 0));
printf("{%d}\n", printf("\033[1;32mTest 22 => \033[0m|%5p|", 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 22 => \033[0m|%5p|", 0));
printf("{%d}\n", printf("\033[1;32mTest 23 => \033[0m|%#05p|", 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 23 => \033[0m|%#05p|",42));
printf("{%d}\n", printf("\033[1;32mTest 24 => \033[0m|%#05p|", 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 24 => \033[0m|%#05p|", 0));
printf("{%d}\n", printf("\033[1;32mTest 25 => \033[0m|%#5p|", 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 25 => \033[0m|%#5p|", 0));
printf("{%d}\n", printf("\033[1;32mTest 26 => \033[0m|%#-5p|", 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 26 => \033[0m|%-#5p|", 0));
#endif
#ifdef TEST_X
printf("\033[1;41m|-----------------------| (Lancement du test HEXADECIMAL en cours...) |-----------------------|\033[0m\n");
printf("\033[1;32m|-----| LE VRAI |-----|\033[0m\n");
ft_printf("\033[1;31m|-----| LE NOTRE |-----|\033[0m\n");
printf("{%d}\n", printf("\033[1;32mTest 1 => \033[0m|%+x|", (unsigned int)42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 1 => \033[0m|%+x|", (unsigned int)42));
printf("{%d}\n", printf("\033[1;32mTest 2 => \033[0m|% x|", (unsigned int)42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 2 => \033[0m|% x|", (unsigned int)42));
printf("{%d}\n", printf("\033[1;32mTest 3 => \033[0m|%x|", (unsigned int)42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 3 => \033[0m|%x|", (unsigned int)42));
printf("{%d}\n", printf("\033[1;32mTest 4 => \033[0m|%hhx|", (unsigned char)42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 4 => \033[0m|%hhx|", (unsigned char)42));
printf("{%d}\n", printf("\033[1;32mTest 5 => \033[0m|%hx|", (unsigned short)42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 5 => \033[0m|%hx|", (unsigned short)42));
printf("{%d}\n", printf("\033[1;32mTest 6 => \033[0m|%lx|", (unsigned long)42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 6 => \033[0m|%lx|", (unsigned long)42));
printf("{%d}\n", printf("\033[1;32mTest 7 => \033[0m|%llx|", (unsigned long long)42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 7 => \033[0m|%llx|", (unsigned long long)42));
printf("{%d}\n", printf("\033[1;32mTest 8 => \033[0m|%jx|", (uintmax_t)42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 8 => \033[0m|%jx|", (uintmax_t)42));
printf("{%d}\n", printf("\033[1;32mTest 9 => \033[0m|%zx|", (size_t)42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 9 => \033[0m|%zx|", (size_t)42));
printf("{%d}\n", printf("\033[1;32mTest 10 => \033[0m|%X|", (unsigned int)42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 10 => \033[0m|%X|", (unsigned int)42));
printf("{%d}\n", printf("\033[1;32mTest 11 => \033[0m|%hhX|", (unsigned char)42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 11 => \033[0m|%hhX|", (unsigned char)42));
printf("{%d}\n", printf("\033[1;32mTest 12 => \033[0m|%hX|", (unsigned short)42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 12 => \033[0m|%hX|", (unsigned short)42));
printf("{%d}\n", printf("\033[1;32mTest 13 => \033[0m|%lX|", (unsigned long)42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 13 => \033[0m|%lX|", (unsigned long)42));
printf("{%d}\n", printf("\033[1;32mTest 14 => \033[0m|%llX|", (unsigned long long)42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 14 => \033[0m|%llX|", (unsigned long long)42));
printf("{%d}\n", printf("\033[1;32mTest 15 => \033[0m|%jX|", (uintmax_t)42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 15 => \033[0m|%jX|", (uintmax_t)42));
printf("{%d}\n", printf("\033[1;32mTest 16 => \033[0m|%zX|", (size_t)42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 16 => \033[0m|%zX|", (size_t)42));
printf("{%d}\n", printf("\033[1;32mTest 17 => \033[0m|%#12x|", 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 17 => \033[0m|%#12x|", 42));
printf("{%d}\n", printf("\033[1;32mTest 18 => \033[0m|%#2x|", 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 18 => \033[0m|%#2x|", 42));
printf("{%d}\n", printf("\033[1;32mTest 19 => \033[0m|%#5X|", 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 19 => \033[0m|%#5X|", 42));
printf("{%d}\n", printf("\033[1;32mTest 20 => \033[0m|%#2X|", 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 20 => \033[0m|%#2X|", 42));
printf("{%d}\n", printf("\033[1;32mTest 21 => \033[0m|%-5x|", 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 21 => \033[0m|%-5x|", 42));
printf("{%d}\n", printf("\033[1;32mTest 22 => \033[0m|%6.9x|", 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 22 => \033[0m|%6.9x|", 42));
printf("{%d}\n", printf("\033[1;32mTest 23 => \033[0m|%-9.5x|", 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 23 => \033[0m|%-9.5x|", 42));
printf("{%d}\n", printf("\033[1;32mTest 24 => \033[0m|%#-9.5x|", 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 24 => \033[0m|%#-9.5x|", 42));
printf("{%d}\n", printf("\033[1;32mTest 25 => \033[0m|%#9.5x|", 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 25 => \033[0m|%#9.5x|", 42));
printf("{%d}\n", printf("\033[1;32mTest 26 => \033[0m|%#-9.5x|", 2));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 26 => \033[0m|%#-9.5x|", 2));
printf("{%d}\n", printf("\033[1;32mTest 27 => \033[0m|%#9.5x|", 2));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 27 => \033[0m|%#9.5x|", 2));
printf("{%d}\n", printf("\033[1;32mTest 28 => \033[0m|%-9.1x|", 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 28 => \033[0m|%-9.1x|", 42));
printf("{%d}\n", printf("\033[1;32mTest 29 => \033[0m|%05x|", 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 29 => \033[0m|%05x|", 42));
printf("{%d}\n", printf("\033[1;32mTest 30 => \033[0m|%0.5x|", 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 30 => \033[0m|%0.5x|", 42));
printf("{%d}\n", printf("\033[1;32mTest 31 => \033[0m|%.5x|", 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 31 => \033[0m|%.5x|", 42));
printf("{%d}\n", printf("\033[1;32mTest 32 => \033[0m|%09.5x|", 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 32 => \033[0m|%09.5x|", 42));
printf("{%d}\n", printf("\033[1;32mTest 33 => \033[0m|%09.3x|", 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 33 => \033[0m|%09.3x|", 42));
printf("{%d}\n", printf("\033[1;32mTest 34 => \033[0m|%09.2x|", 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 34 => \033[0m|%09.2x|", 42));
printf("{%d}\n", printf("\033[1;32mTest 35 => \033[0m|%#-9.5x|", 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 35 => \033[0m|%#-9.5x|", 0));
printf("{%d}\n", printf("\033[1;32mTest 36 => \033[0m|%#.x, %#.0x|", 0, 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 36 => \033[0m|%#.x, %#.0x|", 0, 42));
printf("{%d}\n", printf("\033[1;32mTest 37 => \033[0m|%.x, %.2x|", 0, 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 37 => \033[0m|%.x, %.2x|", 0, 0));
printf("{%d}\n", printf("\033[1;32mTest 38 => \033[0m|%.x, %.0x|", 42, 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 38 => \033[0m|%.x, %.0x|", 42, 42));
printf("{%d}\n", printf("\033[1;32mTest 39 => \033[0m|%.x, %.2x|", 42, 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 39 => \033[0m|%.x, %.2x|", 42, 42));
printf("{%d}\n", printf("\033[1;32mTest 40 => \033[0m|%.x, %.2x, %x|", 0, -02, 02));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 40 => \033[0m|%.x, %.2x, %x|", 0, -02, 02));
printf("{%d}\n", printf("\033[1;32mTest 41 => \033[0m|%05x|", 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 41 => \033[0m|%05x|", 0));
printf("{%d}\n", printf("\033[1;32mTest 42 => \033[0m|%9.2x|", 1234));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 42 => \033[0m|%9.2x|", 1234));
printf("{%d}\n", printf("\033[1;32mTest 43 => \033[0m|%#9.2x|", 1234));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 43 => \033[0m|%#9.2x|", 1234));
printf("{%d}\n", printf("\033[1;32mTest 44 => \033[0m|%.0x|, |%.x|", 0, 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 44 => \033[0m|%.0x|, |%.x|", 0, 0));
printf("{%d}\n", printf("\033[1;32mTest 45 => \033[0m|%.1x|, |%.1x|", 0, 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 45 => \033[0m|%.1x|, |%.1x|", 0, 0));
printf("{%d}\n", printf("\033[1;32mTest 46 => \033[0m|%.5x|, |%.5x|", 0, 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 46 => \033[0m|%.5x|, |%.5x|", 0, 0));
printf("{%d}\n", printf("\033[1;32mTest 47 => \033[0m|%10.5x|, |%10.5x|", 0, 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 47 => \033[0m|%10.5x|, |%10.5x|", 0, 0));
printf("{%d}\n", printf("\033[1;32mTest 48 => \033[0m|%-10.5x|, |%-10.5x|", 0, 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 48 => \033[0m|%-10.5x|, |%-10.5x|", 0, 0));
printf("{%d}\n", printf("\033[1;32mTest 49 => \033[0m|%x|", 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 49 => \033[0m|%x|", 42));
printf("{%d}\n", printf("\033[1;32mTest 50 => \033[0m|%-5x|", 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 50 => \033[0m|%-5x|", 42));
printf("{%d}\n", printf("\033[1;32mTest 51 => \033[0m|%x|", 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 51 => \033[0m|%x|", 0));
printf("{%d}\n", printf("\033[1;32mTest 52 => \033[0m|%5x|", 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 52 => \033[0m|%5x|", 0));
printf("{%d}\n", printf("\033[1;32mTest 53 => \033[0m|%#05x|", 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 53 => \033[0m|%#05x|",42));
printf("{%d}\n", printf("\033[1;32mTest 54 => \033[0m|%#05x|", 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 54 => \033[0m|%#05x|", 0));
printf("{%d}\n", printf("\033[1;32mTest 55 => \033[0m|%#5x|", 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 55 => \033[0m|%#5x|", 0));
printf("{%d}\n", printf("\033[1;32mTest 56 => \033[0m|%-#5x|", 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 56 => \033[0m|%-#5x|", 0));
#endif
#ifdef TEST_O
printf("\033[1;41m|-----------------------| (Lancement du test OCTAL en cours...) |-----------------------|\033[0m\n");
printf("\033[1;32m|-----| LE VRAI |-----|\033[0m\n");
ft_printf("\033[1;31m|-----| LE NOTRE |-----|\033[0m\n");
printf("{%d}\n", printf("\033[1;32mTest 1 => \033[0m|% o|", 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 1 => \033[0m|% o|", 42));
printf("{%d}\n", printf("\033[1;32mTest 2 => \033[0m|%+o|", 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 2 => \033[0m|%+o|", 42));
printf("{%d}\n", printf("\033[1;32mTest 3 => \033[0m|%#o|", 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 3 => \033[0m|%#o|", 0));
printf("{%d}\n", printf("\033[1;32mTest 4 => \033[0m|%#.o|", 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 4 => \033[0m|%#.o|", 42));
printf("{%d}\n", printf("\033[1;32mTest 5 => \033[0m|%#.o|", 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 5 => \033[0m|%#.o|", 0));
printf("{%d}\n", printf("\033[1;32mTest 6 => \033[0m|%o|", (unsigned int)42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 6 => \033[0m|%o|", (unsigned int)42));
printf("{%d}\n", printf("\033[1;32mTest 7 => \033[0m|%hho|", (unsigned char)42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 7 => \033[0m|%hho|", (unsigned char)42));
printf("{%d}\n", printf("\033[1;32mTest 8 => \033[0m|%ho|", (unsigned short)42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 8 => \033[0m|%ho|", (unsigned short)42));
printf("{%d}\n", printf("\033[1;32mTest 9 => \033[0m|%lo|", (unsigned long)42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 9 => \033[0m|%lo|", (unsigned long)42));
printf("{%d}\n", printf("\033[1;32mTest 10 => \033[0m|%llo|", (unsigned long long)42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 10 => \033[0m|%llo|", (unsigned long long)42));
printf("{%d}\n", printf("\033[1;32mTest 11 => \033[0m|%jo|", (uintmax_t)42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 11 => \033[0m|%jo|", (uintmax_t)42));
printf("{%d}\n", printf("\033[1;32mTest 12 => \033[0m|%zo|", (size_t)42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 12 => \033[0m|%zo|", (size_t)42));
printf("{%d}\n", printf("\033[1;32mTest 13 => \033[0m|%O|", (unsigned int)42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 13 => \033[0m|%O|", (unsigned int)42));
printf("{%d}\n", printf("\033[1;32mTest 14 => \033[0m|%hhO|", (unsigned char)42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 14 => \033[0m|%hhO|", (unsigned char)42));
printf("{%d}\n", printf("\033[1;32mTest 15 => \033[0m|%hO|", (unsigned short)42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 15 => \033[0m|%hO|", (unsigned short)42));
printf("{%d}\n", printf("\033[1;32mTest 16 => \033[0m|%lO|", (unsigned long)42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 16 => \033[0m|%lO|", (unsigned long)42));
printf("{%d}\n", printf("\033[1;32mTest 17 => \033[0m|%llO|", (unsigned long long)42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 17 => \033[0m|%llO|", (unsigned long long)42));
printf("{%d}\n", printf("\033[1;32mTest 18 => \033[0m|%jO|", (uintmax_t)42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 18 => \033[0m|%jO|", (uintmax_t)42));
printf("{%d}\n", printf("\033[1;32mTest 19 => \033[0m|%zO|", (size_t)42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 19 => \033[0m|%zO|", (size_t)42));
printf("{%d}\n", printf("\033[1;32mTest 20 => \033[0m|%#5o|", 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 20 => \033[0m|%#5o|", 42));
printf("{%d}\n", printf("\033[1;32mTest 20b => \033[0m|%#8o|", 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 20b => \033[0m|%#8o|", 42));
printf("{%d}\n", printf("\033[1;32mTest 21 => \033[0m|%-5o|", 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 21 => \033[0m|%-5o|", 42));
printf("{%d}\n", printf("\033[1;32mTest 22 => \033[0m|%6.9o|", 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 22 => \033[0m|%6.9o|", 42));
printf("{%d}\n", printf("\033[1;32mTest 23 => \033[0m|%-9.5o|", 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 23 => \033[0m|%-9.5o|", 42));
printf("{%d}\n", printf("\033[1;32mTest 24 => \033[0m|%#-9.5o|", 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 24 => \033[0m|%#-9.5o|", 42));
printf("{%d}\n", printf("\033[1;32mTest 25 => \033[0m|%-9.1o|", 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 25 => \033[0m|%-9.1o|", 42));
printf("{%d}\n", printf("\033[1;32mTest 26 => \033[0m|%05o|", 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 26 => \033[0m|%05o|", 42));
printf("{%d}\n", printf("\033[1;32mTest 27 => \033[0m|%0.5o|", 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 27 => \033[0m|%0.5o|", 42));
printf("{%d}\n", printf("\033[1;32mTest 28 => \033[0m|%.5o|", 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 28 => \033[0m|%.5o|", 42));
printf("{%d}\n", printf("\033[1;32mTest 29 => \033[0m|%09.5o|", 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 29 => \033[0m|%09.5o|", 42));
printf("{%d}\n", printf("\033[1;32mTest 30 => \033[0m|%09.3o|", 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 30 => \033[0m|%09.3o|", 42));
printf("{%d}\n", printf("\033[1;32mTest 31 => \033[0m|%09.2o|", 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 31 => \033[0m|%09.2o|", 42));
printf("{%d}\n", printf("\033[1;32mTest 32 => \033[0m|%o|", -1));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 32 => \033[0m|%o|", -1));
printf("{%d}\n", printf("\033[1;32mTest 33 => \033[0m|%#9.o|", 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 33 => \033[0m|%#9.o|", 42));
printf("{%d}\n", printf("\033[1;32mTest 34 => \033[0m|%.o, %.0o|", 0, 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 34 => \033[0m|%.o, %.0o|", 0, 0));
printf("{%d}\n", printf("\033[1;32mTest 35 => \033[0m|%.o, %.2o|", 0, 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 35 => \033[0m|%.o, %.2o|", 0, 0));
printf("{%d}\n", printf("\033[1;32mTest 36 => \033[0m|%.o, %.0o|", 42, 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 36 => \033[0m|%.o, %.0o|", 42, 42));
printf("{%d}\n", printf("\033[1;32mTest 37 => \033[0m|%.o, %.2o|", 42, 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 37 => \033[0m|%.o, %.2o|", 42, 42));
printf("{%d}\n", printf("\033[1;32mTest 38 => \033[0m|%.o, %.0o|", 42, 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 38 => \033[0m|%.o, %.0o|", 42, 42));
printf("{%d}\n", printf("\033[1;32mTest 39 => \033[0m|%.o, %.2o|", 42, 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 39 => \033[0m|%.o, %.2o|", 42, 42));
printf("{%d}\n", printf("\033[1;32mTest 40 => \033[0m|%.o, %.2o, %o|", 0, -02, 02));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 40 => \033[0m|%.o, %.2o, %o|", 0, -02, 02));
printf("{%d}\n", printf("\033[1;32mTest 41 => \033[0m|%05o|", 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 41 => \033[0m|%05o|", 0));
printf("{%d}\n", printf("\033[1;32mTest 42 => \033[0m|%9.2o|", 1234));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 42 => \033[0m|%9.2o|", 1234));
printf("{%d}\n", printf("\033[1;32mTest 43 => \033[0m|%#9.2o|", 1234));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 43 => \033[0m|%#9.2o|", 1234));
printf("{%d}\n", printf("\033[1;32mTest 44 => \033[0m|%.0o|, |%.o|", 0, 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 44 => \033[0m|%.0o|, |%.o|", 0, 0));
printf("{%d}\n", printf("\033[1;32mTest 45 => \033[0m|%.1o|, |%.1o|", 0, 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 45 => \033[0m|%.1o|, |%.1o|", 0, 0));
printf("{%d}\n", printf("\033[1;32mTest 46 => \033[0m|%.5o|, |%.5o|", 0, 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 46 => \033[0m|%.5o|, |%.5o|", 0, 0));
printf("{%d}\n", printf("\033[1;32mTest 47 => \033[0m|%10.5o|, |%10.5o|", 0, 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 47 => \033[0m|%10.5o|, |%10.5o|", 0, 0));
printf("{%d}\n", printf("\033[1;32mTest 48 => \033[0m|%-10.5o|, |%-10.5o|", 0, 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 48 => \033[0m|%-10.5o|, |%-10.5o|", 0, 0));
printf("{%d}\n", printf("\033[1;32mTest 49 => \033[0m|%o|", 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 49 => \033[0m|%o|", 42));
printf("{%d}\n", printf("\033[1;32mTest 50 => \033[0m|%-5o|", 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 50 => \033[0m|%-5o|", 42));
printf("{%d}\n", printf("\033[1;32mTest 51 => \033[0m|%o|", 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 51 => \033[0m|%o|", 0));
printf("{%d}\n", printf("\033[1;32mTest 52 => \033[0m|%5o|", 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 52 => \033[0m|%5o|", 0));
printf("{%d}\n", printf("\033[1;32mTest 53 => \033[0m|%#05o|", 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 53 => \033[0m|%#05o|",42));
printf("{%d}\n", printf("\033[1;32mTest 54 => \033[0m|%#05o|", 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 54 => \033[0m|%#05o|", 0));
printf("{%d}\n", printf("\033[1;32mTest 55 => \033[0m|%#5o|", 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 55 => \033[0m|%#5o|", 0));
printf("{%d}\n", printf("\033[1;32mTest 56 => \033[0m|%-#5o|", 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 56 => \033[0m|%-#5o|", 0));
#endif
#ifdef TEST_U
printf("\033[1;41m|-----------------------| (Lancement du test UNSIGNED DECIMAL en cours...) |-----------------------|\033[0m\n");
printf("\033[1;32m|-----| LE VRAI |-----|\033[0m\n");
ft_printf("\033[1;31m|-----| LE NOTRE |-----|\033[0m\n");
printf("{%d}\n", printf("\033[1;32mTest 1 => \033[0m|%.u, %.0u|", 0, 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 1 => \033[0m|%.u, %.0u|", 0, 0));
printf("{%d}\n", printf("\033[1;32mTest 2 => \033[0m|%.u, %.0u|", 42, 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 2 => \033[0m|%.u, %.0u|", 42, 42));
printf("{%d}\n", printf("\033[1;32mTest 3 => \033[0m|%#u|", (unsigned int)42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 3 => \033[0m|%#u|", (unsigned int)42));
printf("{%d}\n", printf("\033[1;32mTest 4 => \033[0m|%u|", (unsigned int)42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 4 => \033[0m|%u|", (unsigned int)42));
printf("{%d}\n", printf("\033[1;32mTest 5 => \033[0m|%hu|", (unsigned short)42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 5 => \033[0m|%hu|", (unsigned short)42));
printf("{%d}\n", printf("\033[1;32mTest 6 => \033[0m|%hhu|", (unsigned char)42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 6 => \033[0m|%hhu|", (unsigned char)42));
printf("{%d}\n", printf("\033[1;32mTest 7 => \033[0m|%lu|", (unsigned long)42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 7 => \033[0m|%lu|", (unsigned long)42));
printf("{%d}\n", printf("\033[1;32mTest 8 => \033[0m|%llu|", (unsigned long long)42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 8 => \033[0m|%llu|", (unsigned long long)42));
printf("{%d}\n", printf("\033[1;32mTest 9 => \033[0m|%ju|", (uintmax_t)42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 9 => \033[0m|%ju|", (uintmax_t)42));
printf("{%d}\n", printf("\033[1;32mTest 10 => \033[0m|%zu|", (size_t)42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 10 => \033[0m|%zu|", (size_t)42));
printf("{%d}\n", printf("\033[1;32mTest 11 => \033[0m|%u|", (unsigned int)42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 11 => \033[0m|%u|", (unsigned int)42));
printf("{%d}\n", printf("\033[1;32mTest 12 => \033[0m|%0u|", (unsigned int)42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 12 => \033[0m|%0u|", (unsigned int)42));
printf("{%d}\n", printf("\033[1;32mTest 13 => \033[0m|%05.2u|", (unsigned int)42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 13 => \033[0m|%05.2u|", (unsigned int)42));
printf("{%d}\n", printf("\033[1;32mTest 14 => \033[0m|%-9u|", (unsigned int)42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 14 => \033[0m|%-9u|", (unsigned int)42));
printf("{%d}\n", printf("\033[1;32mTest 15 => \033[0m|%U|", (unsigned int)42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 15 => \033[0m|%U|", (unsigned int)42));
printf("{%d}\n", printf("\033[1;32mTest 16 => \033[0m|%hU|", (unsigned short)42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 16 => \033[0m|%hU|", (unsigned short)42));
printf("{%d}\n", printf("\033[1;32mTest 17 => \033[0m|%hhU|", (unsigned char)42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 17 => \033[0m|%hhU|", (unsigned char)42));
printf("{%d}\n", printf("\033[1;32mTest 18 => \033[0m|%lU|", (unsigned long)42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 18 => \033[0m|%lU|", (unsigned long)42));
printf("{%d}\n", printf("\033[1;32mTest 19 => \033[0m|%llU|", (unsigned long long)42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 19 => \033[0m|%llU|", (unsigned long long)42));
printf("{%d}\n", printf("\033[1;32mTest 20 => \033[0m|%jU|", (uintmax_t)42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 20 => \033[0m|%jU|", (uintmax_t)42));
printf("{%d}\n", printf("\033[1;32mTest 21 => \033[0m|%zU|", (size_t)42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 21 => \033[0m|%zU|", (size_t)42));
printf("{%d}\n", printf("\033[1;32mTest 22 => \033[0m|%U|", (unsigned int)42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 22 => \033[0m|%U|", (unsigned int)42));
printf("{%d}\n", printf("\033[1;32mTest 23 => \033[0m|%0U|", (unsigned int)42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 23 => \033[0m|%0U|", (unsigned int)42));
printf("{%d}\n", printf("\033[1;32mTest 24 => \033[0m|%05.2U|", (unsigned int)42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 24 => \033[0m|%05.2U|", (unsigned int)42));
printf("{%d}\n", printf("\033[1;32mTest 25 => \033[0m|%-9U|", (unsigned int)42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 25 => \033[0m|%-9U|", (unsigned int)42));
printf("{%d}\n", printf("\033[1;32mTest 26 => \033[0m|%05.9u|", (unsigned int)42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 26 => \033[0m|%05.9u|", (unsigned int)42));
printf("{%d}\n", printf("\033[1;32mTest 27 => \033[0m|%-0u|", (unsigned int)42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 27 => \033[0m|%-0u|", (unsigned int)42));
printf("{%d}\n", printf("\033[1;32mTest 28 => \033[0m|%-0.u|", (unsigned int)42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 28 => \033[0m|%-0.u|", (unsigned int)42));
printf("{%d}\n", printf("\033[1;32mTest 29 => \033[0m|%-0.5u|", (unsigned int)42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 29 => \033[0m|%-0.5u|", (unsigned int)42));
printf("{%d}\n", printf("\033[1;32mTest 30 => \033[0m|%09.5u|", (unsigned int)42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 30 => \033[0m|%09.5u|", (unsigned int)42));
printf("{%d}\n", printf("\033[1;32mTest 31 => \033[0m|%-9.5u|", (unsigned int)42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 31 => \033[0m|%-9.5u|", (unsigned int)42));
printf("{%d}\n", printf("\033[1;32mTest 32 => \033[0m|%-5.9u|", (unsigned int)42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 32 => \033[0m|%-5.9u|", (unsigned int)42));
printf("{%d}\n", printf("\033[1;32mTest 33 => \033[0m|%5.u|", (unsigned int)42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 33 => \033[0m|%5.u|", (unsigned int)42));
printf("{%d}\n", printf("\033[1;32mTest 34 => \033[0m|%.u, %.0u|", 0, 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 34 => \033[0m|%.u, %.0u|", 0, 0));
printf("{%d}\n", printf("\033[1;32mTest 35 => \033[0m|%.u, %.2u|", 0, 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 35 => \033[0m|%.u, %.2u|", 0, 0));
printf("{%d}\n", printf("\033[1;32mTest 36 => \033[0m|%.u, %.0u|", 42, 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 36 => \033[0m|%.u, %.0u|", 42, 42));
printf("{%d}\n", printf("\033[1;32mTest 37 => \033[0m|%.u, %.2u|", 42, 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 37 => \033[0m|%.u, %.2u|", 42, 42));
printf("{%d}\n", printf("\033[1;32mTest 38 => \033[0m|%.u, %.0u|", 42, 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 38 => \033[0m|%.u, %.0u|", 42, 42));
printf("{%d}\n", printf("\033[1;32mTest 39 => \033[0m|%.u, %.2u|", 42, 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 39 => \033[0m|%.u, %.2u|", 42, 42));
printf("{%d}\n", printf("\033[1;32mTest 40 => \033[0m|%.u, %.2u, %u|", 0, -02, 02));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 40 => \033[0m|%.u, %.2u, %u|", 0, -02, 02));
printf("{%d}\n", printf("\033[1;32mTest 41 => \033[0m|%05u|", 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 41 => \033[0m|%05u|", 0));
printf("{%d}\n", printf("\033[1;32mTest 42 => \033[0m|%9.2u|", 1234));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 42 => \033[0m|%9.2u|", 1234));
printf("{%d}\n", printf("\033[1;32mTest 43 => \033[0m|%#9.2u|", 1234));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 43 => \033[0m|%#9.2u|", 1234));
printf("{%d}\n", printf("\033[1;32mTest 44 => \033[0m|%.0u|, |%.u|", 0, 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 44 => \033[0m|%.0u|, |%.u|", 0, 0));
printf("{%d}\n", printf("\033[1;32mTest 45 => \033[0m|%.1u|, |%.1u|", 0, 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 45 => \033[0m|%.1u|, |%.1u|", 0, 0));
printf("{%d}\n", printf("\033[1;32mTest 46 => \033[0m|%.5u|, |%.5u|", 0, 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 46 => \033[0m|%.5u|, |%.5u|", 0, 0));
printf("{%d}\n", printf("\033[1;32mTest 47 => \033[0m|%10.5u|, |%10.5u|", 0, 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 47 => \033[0m|%10.5u|, |%10.5u|", 0, 0));
printf("{%d}\n", printf("\033[1;32mTest 48 => \033[0m|%-10.5u|, |%-10.5u|", 0, 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 48 => \033[0m|%-10.5u|, |%-10.5u|", 0, 0));
printf("{%d}\n", printf("\033[1;32mTest 49 => \033[0m|%u|", 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 49 => \033[0m|%u|", 42));
printf("{%d}\n", printf("\033[1;32mTest 50 => \033[0m|%-5u|", 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 50 => \033[0m|%-5u|", 42));
printf("{%d}\n", printf("\033[1;32mTest 51 => \033[0m|%u|", 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 51 => \033[0m|%u|", 0));
printf("{%d}\n", printf("\033[1;32mTest 52 => \033[0m|%5u|", 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 52 => \033[0m|%5u|", 0));
printf("{%d}\n", printf("\033[1;32mTest 53 => \033[0m|%#05u|", 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 53 => \033[0m|%#05u|",42));
printf("{%d}\n", printf("\033[1;32mTest 54 => \033[0m|%#05u|", 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 54 => \033[0m|%#05u|", 0));
printf("{%d}\n", printf("\033[1;32mTest 55 => \033[0m|%#5u|", 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 55 => \033[0m|%#5u|", 0));
printf("{%d}\n", printf("\033[1;32mTest 56 => \033[0m|%-#5u|", 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 56 => \033[0m|%-#5u|", 0));
printf("{%d}\n", printf("\033[1;32mTest 57 => \033[0m|%lu|", LONG_MAX));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 57 => \033[0m|%lu|", LONG_MAX));
printf("{%d}\n", printf("\033[1;32mTest 58 => \033[0m|%u|", -523));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 58 => \033[0m|%u|", -523));
printf("{%d}\n", printf("\033[1;32mTest 59 => \033[0m|%lu|", LONG_MIN - 1));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 59 => \033[0m|%lu|", LONG_MIN - 1));
printf("{%d}\n", printf("\033[1;32mTest 60 => \033[0m|%lu|", LONG_MIN));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 60 => \033[0m|%lu|", LONG_MIN));
printf("{%d}\n", printf("\033[1;32mTest 61 => \033[0m|%lu|", LONG_MIN + 1));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 61 => \033[0m|%lu|", LONG_MIN + 1));
#endif
#ifdef TEST_POUR
printf("\033[1;41m|-------------------------| (Lancement du test POURCENTAGE en cours...) |-------------------------|\033[0m\n");
printf("\033[1;32m|-----| LE VRAI |-----|\033[0m\n");
ft_printf("\033[1;31m|-----| LE NOTRE |-----|\033[0m\n");
printf("{%d}\n", printf("\033[1;32mTest 1 => \033[0m|%%|"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 1 => \033[0m|%%|"));
printf("{%d}\n", printf("\033[1;32mTest 2 => \033[0m|%hh%|"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 2 => \033[0m|%hh%|"));
printf("{%d}\n", printf("\033[1;32mTest 3 => \033[0m|%h%|"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 3 => \033[0m|%h%|"));
printf("{%d}\n", printf("\033[1;32mTest 4 => \033[0m|%l%|"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 4 => \033[0m|%l%|"));
printf("{%d}\n", printf("\033[1;32mTest 5 => \033[0m|%ll%|"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 5 => \033[0m|%ll%|"));
printf("{%d}\n", printf("\033[1;32mTest 6 => \033[0m|%j%|"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 6 => \033[0m|%j%|"));
printf("{%d}\n", printf("\033[1;32mTest 7 => \033[0m|%z%|"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 7 => \033[0m|%z%|"));
printf("{%d}\n", printf("\033[1;32mTest 8 => \033[0m|%5%|"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 8 => \033[0m|%5%|"));
printf("{%d}\n", printf("\033[1;32mTest 8b => \033[0m|%.5%|"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 8b => \033[0m|%.5%|"));
printf("{%d}\n", printf("\033[1;32mTest 9 => \033[0m|%05%|"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 9 => \033[0m|%05%|"));
printf("{%d}\n", printf("\033[1;32mTest 10 => \033[0m|%0.5%|"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 10 => \033[0m|%0.5%|"));
printf("{%d}\n", printf("\033[1;32mTest 11 => \033[0m|%+-10.2%|"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 11 => \033[0m|%+-10.2%|"));
printf("{%d}\n", printf("\033[1;32mTest 12 => \033[0m|%+ -10.2%|"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 12 => \033[0m|%+ -10.2%|"));
printf("{%d}\n", printf("\033[1;32mTest 13 => \033[0m|%0+-10.2%|"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 13 => \033[0m|%0+-10.2%|"));
printf("{%d}\n", printf("\033[1;32mTest 14 => \033[0m|%+010.2z%|"));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 14 => \033[0m|%+010.2z%|"));
printf("{%d}\n", printf("\033[1;32mTest 15 => \033[0m|%+010.2%z%d|", 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 15 => \033[0m|%+010.2%z%d|", 42));
#endif
#ifdef TEST_D
printf("\033[1;41m|-------------------------| (Lancement du test SIGNED DECIMAL en cours...) |-------------------------|\033[0m\n");
printf("\033[1;32m|-----| LE VRAI |-----|\033[0m\n");
ft_printf("\033[1;31m|-----| LE NOTRE |-----|\033[0m\n");
printf("{%d}\n", printf("\033[1;32mTest 1 => \033[0m|%ld|", LONG_MAX));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 1 => \033[0m|%ld|", LONG_MAX));
printf("{%d}\n", printf("\033[1;32mTest 2 => \033[0m|%ld|", LONG_MIN));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 2 => \033[0m|%ld|", LONG_MIN));
printf("{%d}\n", printf("\033[1;32mTest 3 => \033[0m|%4.3i|", 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 3 => \033[0m|%4.3i|", 42));
printf("{%d}\n", printf("\033[1;32mTest 4 => \033[0m|%-3.1i|", 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 4 => \033[0m|%-3.1i|", 42));
printf("{%d}\n", printf("\033[1;32mTest 5 => \033[0m|%-4.1i|", 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 5 => \033[0m|%-4.1i|", 42));
printf("{%d}\n", printf("\033[1;32mTest 6 => \033[0m|%-4d|", 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 6 => \033[0m|%-4d|", 42));
printf("{%d}\n", printf("\033[1;32mTest 7 => \033[0m|%.d|", 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 7 => \033[0m|%.d|", 42));
printf("{%d}\n", printf("\033[1;32mTest 8 => \033[0m|%+d|", 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 8 => \033[0m|%+d|", 42));
printf("{%d}\n", printf("\033[1;32mTest 9 => \033[0m|% d|", 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 9 => \033[0m|% d|", 42));
printf("{%d}\n", printf("\033[1;32mTest 10 => \033[0m|%d|", 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 10 => \033[0m|%d|", 42));
printf("{%d}\n", printf("\033[1;32mTest 11 => \033[0m|%05.1d|", 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 11 => \033[0m|%05.1d|", 42));
printf("{%d}\n", printf("\033[1;32mTest 12 => \033[0m|%05.1zd|", 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 12 => \033[0m|%05.1zd|", 42));
printf("{%d}\n", printf("\033[1;32mTest 13 => \033[0m|%09.5d|", 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 13 => \033[0m|%09.5d|", 42));
printf("{%d}\n", printf("\033[1;32mTest 14 => \033[0m|%09.3d|", 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 14 => \033[0m|%09.3d|", 42));
printf("{%d}\n", printf("\033[1;32mTest 15 => \033[0m|%09.2d|", 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 15 => \033[0m|%09.2d|", 42));
printf("{%d}\n", printf("\033[1;32mTest 16 => \033[0m|%.5d|", 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 16 => \033[0m|%.5d|", 42));
printf("{%d}\n", printf("\033[1;32mTest 17 => \033[0m|%.5d|", 400000));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 17 => \033[0m|%.5d|", 400000));
printf("{%d}\n", printf("\033[1;32mTest 18 => \033[0m|%-.5d|", 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 18 => \033[0m|%-.5d|", 42));
printf("{%d}\n", printf("\033[1;32mTest 19 => \033[0m|% .5d|", 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 19 => \033[0m|% .5d|", 42));
printf("{%d}\n", printf("\033[1;32mTest 20 => \033[0m|%+.5d|", 42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 20 => \033[0m|%+.5d|", 42));
printf("{%d}\n", printf("\033[1;32mTest 21 => \033[0m|%.5d|", -42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 21 => \033[0m|%.5d|", -42));
printf("{%d}\n", printf("\033[1;32mTest 22 => \033[0m|%-.5d|", -42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 22 => \033[0m|%-.5d|", -42));
printf("{%d}\n", printf("\033[1;32mTest 23 => \033[0m|% .5d|", -42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 23 => \033[0m|% .5d|", -42));
printf("{%d}\n", printf("\033[1;32mTest 24 => \033[0m|%+.5d|", -42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 24 => \033[0m|%+.5d|", -42));
printf("{%d}\n", printf("\033[1;32mTest 25 => \033[0m|%d|", 0));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 25 => \033[0m|%d|", 0));
printf("{%d}\n", printf("\033[1;32mTest 26 => \033[0m|%+d|", +42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 26 => \033[0m|%+d|", +42));
printf("{%d}\n", printf("\033[1;32mTest 27 => \033[0m|%.5hhd|", (char)42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 27 => \033[0m|%.5hhd|", (char)42));
printf("{%d}\n", printf("\033[1;32mTest 28 => \033[0m|%.5hhd|", (char)40));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 28 => \033[0m|%.5hhd|", (char)40));
printf("{%d}\n", printf("\033[1;32mTest 29 => \033[0m|%-.5hhd|", (char)42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 29 => \033[0m|%-.5hhd|", (char)42));
printf("{%d}\n", printf("\033[1;32mTest 30 => \033[0m|% .5hhd|", (char)42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 30 => \033[0m|% .5hhd|", (char)42));
printf("{%d}\n", printf("\033[1;32mTest 31 => \033[0m|%+.5hhd|", (char)42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 31 => \033[0m|%+.5hhd|", (char)42));
printf("{%d}\n", printf("\033[1;32mTest 32 => \033[0m|%.5hhd|", (char)-42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 32 => \033[0m|%.5hhd|", (char)-42));
printf("{%d}\n", printf("\033[1;32mTest 33 => \033[0m|%-.5hhd|", (char)-42));
ft_printf("{%d}\n", ft_printf("\033[1;31mTest 33 => \033[0m|%-.5hhd|", (char)-42));