From d45b2f940ff4f0c7bc83c92b440c898f460d3f93 Mon Sep 17 00:00:00 2001 From: Xavier Petit <32063953+xpetit@users.noreply.github.com> Date: Sat, 16 May 2020 09:47:23 +0200 Subject: [PATCH] Improve Dockerfile, move tests --- go/Dockerfile | 3 ++- go/{src => tests}/abort_test/main.go | 0 go/{src => tests}/activebits_test/main.go | 0 go/{src => tests}/addprimesum_test/addprimesum_correct/main.go | 0 go/{src => tests}/addprimesum_test/main.go | 0 go/{src => tests}/advancedsortwordarr_test/main.go | 0 go/{src => tests}/alphacount_test/main.go | 0 go/{src => tests}/alphamirror_test/alphamirror_correct/main.go | 0 go/{src => tests}/alphamirror_test/main.go | 0 go/{src => tests}/any_test/main.go | 0 go/{src => tests}/appendrange_test/main.go | 0 go/{src => tests}/atoi_test/main.go | 0 .../balancedstring_test/balancedstring_correct/main.go | 0 go/{src => tests}/balancedstring_test/main.go | 0 go/{src => tests}/basicatoi2_test/main.go | 0 go/{src => tests}/basicatoi_test/main.go | 0 go/{src => tests}/basicjoin_test/main.go | 0 go/{src => tests}/boolean_test/boolean_correct/main.go | 0 go/{src => tests}/boolean_test/main.go | 0 go/{src => tests}/brackets_test/brackets_correct/main.go | 0 go/{src => tests}/brackets_test/main.go | 0 go/{src => tests}/brainfuck_test/brainfuck_correct/main.go | 0 go/{src => tests}/brainfuck_test/main.go | 0 go/{src => tests}/capitalize_test/main.go | 0 go/{src => tests}/chunk_test/main.go | 0 go/{src => tests}/cleanstr_test/cleanstr_correct/main.go | 0 go/{src => tests}/cleanstr_test/main.go | 0 go/{src => tests}/collatzcountdown_test/main.go | 0 go/{src => tests}/comcheck_test/comcheck_correct/main.go | 0 go/{src => tests}/comcheck_test/main.go | 0 go/{src => tests}/compact_test/main.go | 0 go/{src => tests}/compare_test/main.go | 0 go/{src => tests}/concat_test/main.go | 0 go/{src => tests}/concatparams_test/main.go | 0 .../costumeprofit_test/costumeprofit_correct/main.go | 0 go/{src => tests}/costumeprofit_test/main.go | 0 go/{src => tests}/countdown_test/countdown_correct/main.go | 0 go/{src => tests}/countdown_test/main.go | 0 go/{src => tests}/countif_test/main.go | 0 go/{src => tests}/displaya_test/displaya_correct/main.go | 0 go/{src => tests}/displaya_test/main.go | 0 .../displayalpham_test/displayalpham_correct/main.go | 0 go/{src => tests}/displayalpham_test/main.go | 0 .../displayalrevm_test/displayalrevm_correct/main.go | 0 go/{src => tests}/displayalrevm_test/main.go | 0 .../displayfirstparam_test/displayfirstparam_correct/main.go | 0 go/{src => tests}/displayfirstparam_test/main.go | 0 .../displaylastparam_test/displaylastparam_correct/main.go | 0 go/{src => tests}/displaylastparam_test/main.go | 0 go/{src => tests}/displayz_test/displayz_correct/main.go | 0 go/{src => tests}/displayz_test/main.go | 0 go/{src => tests}/divmod_test/main.go | 0 go/{src => tests}/doop_test/doop_correct/main.go | 0 go/{src => tests}/doop_test/main.go | 0 go/{src => tests}/doppelganger_test/main.go | 0 go/{src => tests}/eightqueens_test/main.go | 0 go/{src => tests}/enigma_test/main.go | 0 go/{src => tests}/expandstr_test/expandstr_correct/main.go | 0 go/{src => tests}/expandstr_test/main.go | 0 go/{src => tests}/fib_test/main.go | 0 go/{src => tests}/fibonacci_test/main.go | 0 go/{src => tests}/findnextprime_test/main.go | 0 go/{src => tests}/findprevprime_test/main.go | 0 go/{src => tests}/firstrune_test/main.go | 0 go/{src => tests}/firstword_test/firstword_correct/main.go | 0 go/{src => tests}/firstword_test/main.go | 0 go/{src => tests}/fixthemain_test/fixthemain_correct/main.go | 0 go/{src => tests}/fixthemain_test/main.go | 0 go/{src => tests}/flags_test/flags_correct/main.go | 0 go/{src => tests}/flags_test/main.go | 0 go/{src => tests}/foldint_test/main.go | 0 go/{src => tests}/foreach_test/main.go | 0 go/{src => tests}/fprime_test/fprime_correct/main.go | 0 go/{src => tests}/fprime_test/main.go | 0 go/{src => tests}/game23_test/main.go | 0 go/{src => tests}/gcd_test/gcd_correct/main.go | 0 go/{src => tests}/gcd_test/main.go | 0 go/{src => tests}/grouping_test/grouping_correct/main.go | 0 go/{src => tests}/grouping_test/main.go | 0 go/{src => tests}/halfcontest_test/main.go | 0 go/{src => tests}/hello_test/hello_correct/main.go | 0 go/{src => tests}/hello_test/main.go | 0 go/{src => tests}/hiddenp_test/hiddenp_correct/main.go | 0 go/{src => tests}/hiddenp_test/main.go | 0 go/{src => tests}/index_test/main.go | 0 go/{src => tests}/inter_test/inter_correct/main.go | 0 go/{src => tests}/inter_test/main.go | 0 go/{src => tests}/interestingnumber_test/main.go | 0 go/{src => tests}/isalpha_test/main.go | 0 go/{src => tests}/isanagram_test/main.go | 0 go/{src => tests}/islower_test/main.go | 0 go/{src => tests}/isnegative_test/main.go | 0 go/{src => tests}/isnumeric_test/main.go | 0 go/{src => tests}/ispowerof2_test/ispowerof2_correct/main.go | 0 go/{src => tests}/ispowerof2_test/main.go | 0 go/{src => tests}/isprime_test/main.go | 0 go/{src => tests}/isprintable_test/main.go | 0 go/{src => tests}/issorted_test/main.go | 0 go/{src => tests}/isupper_test/main.go | 0 go/{src => tests}/iterativefactorial_test/main.go | 0 go/{src => tests}/iterativepower_test/main.go | 0 go/{src => tests}/itoa_test/main.go | 0 go/{src => tests}/itoabase_test/main.go | 0 go/{src => tests}/join_test/main.go | 0 go/{src => tests}/lastrune_test/main.go | 0 go/{src => tests}/lastword_test/lastword_correct/main.go | 0 go/{src => tests}/lastword_test/main.go | 0 go/{src => tests}/lcm_test/main.go | 0 go/{src => tests}/lib/is/is.go | 0 go/{src => tests}/lib/lib.go | 0 go/{src => tests}/makerange_test/main.go | 0 go/{src => tests}/map_test/main.go | 0 go/{src => tests}/max_test/main.go | 0 go/{src => tests}/nauuo_test/main.go | 0 go/{src => tests}/nbrconvertalpha_test/main.go | 0 .../nbrconvertalpha_test/nbrconvertalpha_correct/main.go | 0 go/{src => tests}/nenokku_test/main.go | 0 go/{src => tests}/nenokku_test/nenokku_correct/main.go | 0 go/{src => tests}/nrune_test/main.go | 0 go/{src => tests}/onlya_test/main.go | 0 go/{src => tests}/onlya_test/onlya_correct/main.go | 0 go/{src => tests}/onlyz_test/main.go | 0 go/{src => tests}/onlyz_test/onlyz_correct/main.go | 0 go/{src => tests}/options_test/main.go | 0 go/{src => tests}/options_test/options_correct/main.go | 0 go/{src => tests}/paramcount_test/main.go | 0 go/{src => tests}/paramcount_test/paramcount_correct/main.go | 0 go/{src => tests}/piglatin_test/main.go | 0 go/{src => tests}/piglatin_test/piglatin_correct/main.go | 0 go/{src => tests}/point_test/main.go | 0 go/{src => tests}/point_test/point_correct/main.go | 0 go/{src => tests}/pointone_test/main.go | 0 go/{src => tests}/printalphabet_test/main.go | 0 .../printalphabet_test/printalphabet_correct/main.go | 0 go/{src => tests}/printbits_test/main.go | 0 go/{src => tests}/printbits_test/printbits_correct/main.go | 0 go/{src => tests}/printchessboard_test/main.go | 0 .../printchessboard_test/printchessboard_correct/main.go | 0 go/{src => tests}/printcomb2_test/main.go | 0 go/{src => tests}/printcomb_test/main.go | 0 go/{src => tests}/printcombn_test/main.go | 0 go/{src => tests}/printdigits_test/main.go | 0 go/{src => tests}/printdigits_test/printdigits_correct/main.go | 0 go/{src => tests}/printhex_test/main.go | 0 go/{src => tests}/printhex_test/printhex_correct/main.go | 0 go/{src => tests}/printmemory_test/main.go | 0 go/{src => tests}/printnbr_test/main.go | 0 go/{src => tests}/printnbrinorder_test/main.go | 0 go/{src => tests}/printparams_test/main.go | 0 go/{src => tests}/printparams_test/printparams_correct/main.go | 0 go/{src => tests}/printprogramname_test/main.go | 0 .../printprogramname_test/printprogramname_correct/main.go | 0 go/{src => tests}/printrevcomb_test/main.go | 0 .../printrevcomb_test/printrevcomb_correct/main.go | 0 go/{src => tests}/printreversealphabet_test/main.go | 0 .../printreversealphabet_correct/main.go | 0 go/{src => tests}/printstr_test/main.go | 0 go/{src => tests}/printwordstables_test/main.go | 0 go/{src => tests}/priorprime_test/main.go | 0 go/{src => tests}/raid1a_test/main.go | 0 go/{src => tests}/raid1b_test/main.go | 0 go/{src => tests}/raid1c_test/main.go | 0 go/{src => tests}/raid1d_test/main.go | 0 go/{src => tests}/raid1e_test/main.go | 0 go/{src => tests}/raid2_test/main.go | 0 go/{src => tests}/raid2_test/raid2_correct/main.go | 0 go/{src => tests}/range_test/main.go | 0 go/{src => tests}/range_test/range_correct/main.go | 0 go/{src => tests}/rc/README.md | 0 go/{src => tests}/rc/rc.go | 0 go/{src => tests}/reachablenumber_test/main.go | 0 go/{src => tests}/rectangle_test/main.go | 0 go/{src => tests}/rectangle_test/rectangle_correct/main.go | 0 go/{src => tests}/recursivefactorial_test/main.go | 0 go/{src => tests}/recursivepower_test/main.go | 0 go/{src => tests}/reduceint_test/main.go | 0 go/{src => tests}/repeatalpha_test/main.go | 0 go/{src => tests}/repeatalpha_test/repeatalpha_correct/main.go | 0 go/{src => tests}/reversebits_test/main.go | 0 go/{src => tests}/reverserange_test/main.go | 0 .../reverserange_test/reverserange_correct/main.go | 0 go/{src => tests}/reversestrcap_test/main.go | 0 .../reversestrcap_test/reversestrcap_correct/main.go | 0 go/{src => tests}/revivethreenums_test/main.go | 0 go/{src => tests}/revparams_test/main.go | 0 go/{src => tests}/revparams_test/revparams_correct/main.go | 0 go/{src => tests}/revwstr_test/main.go | 0 go/{src => tests}/revwstr_test/revwstr_correct/main.go | 0 go/{src => tests}/robottoorigin_test/main.go | 0 .../robottoorigin_test/robottoorigin_correct/main.go | 0 go/{src => tests}/romannumbers_test/main.go | 0 .../romannumbers_test/romannumbers_correct/main.go | 0 go/{src => tests}/rostring_test/main.go | 0 go/{src => tests}/rostring_test/rostring_correct/main.go | 0 go/{src => tests}/rot13_test/main.go | 0 go/{src => tests}/rot13_test/rot13_correct/main.go | 0 go/{src => tests}/rot14_test/main.go | 0 go/{src => tests}/rotatevowels_test/main.go | 0 .../rotatevowels_test/rotatevowels_correct/main.go | 0 go/{src => tests}/rpncalc_test/main.go | 0 go/{src => tests}/rpncalc_test/rpncalc_correct/main.go | 0 go/{src => tests}/searchreplace_test/main.go | 0 .../searchreplace_test/searchreplace_correct/main.go | 0 go/{src => tests}/slice_test/main.go | 0 go/{src => tests}/sortintegertable_test/main.go | 0 go/{src => tests}/sortparams_test/main.go | 0 go/{src => tests}/sortparams_test/sortparams_correct/main.go | 0 go/{src => tests}/sortwordarr_test/main.go | 0 go/{src => tests}/split_test/main.go | 0 go/{src => tests}/splitwhitespaces_test/main.go | 0 go/{src => tests}/sqrt_test/main.go | 0 go/{src => tests}/strlen_test/main.go | 0 go/{src => tests}/strrev_test/main.go | 0 go/{src => tests}/swap_test/main.go | 0 go/{src => tests}/swapbits_test/main.go | 0 go/{src => tests}/sweetproblem_test/main.go | 0 go/{src => tests}/switchcase_test/main.go | 0 go/{src => tests}/switchcase_test/switchcase_correct/main.go | 0 go/{src => tests}/tabmult_test/main.go | 0 go/{src => tests}/tabmult_test/tabmult_correct/main.go | 0 go/{src => tests}/tetrisoptimizer_test/main.go | 0 .../tetrisoptimizer_test/tetrisoptimizer_correct/board.go | 0 .../tetrisoptimizer_test/tetrisoptimizer_correct/main.go | 0 .../tetrisoptimizer_correct/samples/bad00.txt | 0 .../tetrisoptimizer_correct/samples/bad01.txt | 0 .../tetrisoptimizer_correct/samples/bad02.txt | 0 .../tetrisoptimizer_correct/samples/bad03.txt | 0 .../tetrisoptimizer_correct/samples/bad04.txt | 0 .../tetrisoptimizer_correct/samples/badFormat.txt | 0 .../tetrisoptimizer_correct/samples/good_01-1-2-0.00.txt | 0 .../tetrisoptimizer_correct/samples/good_02-1-4-0.00.txt | 0 .../tetrisoptimizer_correct/samples/good_03-2-4-0.00.txt | 0 .../tetrisoptimizer_correct/samples/good_04-6-6-0.00.txt | 0 .../tetrisoptimizer_correct/samples/good_05-21-10-0.00.txt | 0 .../tetrisoptimizer_correct/samples/good_06-22-10-0.00.txt | 0 .../tetrisoptimizer_correct/samples/good_07-26-11-0.00.txt | 0 .../tetrisoptimizer_correct/samples/good_08-24-10-0.03.txt | 0 .../tetrisoptimizer_correct/samples/good_09-11-7-0.07.txt | 0 .../tetrisoptimizer_correct/samples/good_10-12-7-0.52.txt | 0 .../tetrisoptimizer_correct/samples/good_11-12-8-0.83.txt | 0 .../tetrisoptimizer_correct/samples/good_12-19-9-3.40.txt | 0 .../tetrisoptimizer_correct/samples/good_13-23-10-4.72.txt | 0 .../tetrisoptimizer_correct/samples/good_14-15-8-7.34.txt | 0 .../tetrisoptimizer_correct/samples/good_15-26-11-72.22.txt | 0 .../tetrisoptimizer_test/tetrisoptimizer_correct/solver.go | 0 .../tetrisoptimizer_test/tetrisoptimizer_correct/tetrimino.go | 0 .../tetrisoptimizer_test/tetrisoptimizer_correct/validation.go | 0 go/{src => tests}/tolower_test/main.go | 0 go/{src => tests}/toupper_test/main.go | 0 go/{src => tests}/trimatoi_test/main.go | 0 go/{src => tests}/twosum_test/main.go | 0 go/{src => tests}/ultimatedivmod_test/main.go | 0 go/{src => tests}/ultimatepointone_test/main.go | 0 go/{src => tests}/union_test/main.go | 0 go/{src => tests}/union_test/union_correct/main.go | 0 go/{src => tests}/uniqueoccurences_test/main.go | 0 .../uniqueoccurences_test/uniqueoccurences_correct/main.go | 0 go/{src => tests}/unmatch_test/main.go | 0 go/{src => tests}/volumechanger_test/main.go | 0 go/{src => tests}/wdmatch_test/main.go | 0 go/{src => tests}/wdmatch_test/wdmatch_correct/main.go | 0 261 files changed, 2 insertions(+), 1 deletion(-) rename go/{src => tests}/abort_test/main.go (100%) rename go/{src => tests}/activebits_test/main.go (100%) rename go/{src => tests}/addprimesum_test/addprimesum_correct/main.go (100%) rename go/{src => tests}/addprimesum_test/main.go (100%) rename go/{src => tests}/advancedsortwordarr_test/main.go (100%) rename go/{src => tests}/alphacount_test/main.go (100%) rename go/{src => tests}/alphamirror_test/alphamirror_correct/main.go (100%) rename go/{src => tests}/alphamirror_test/main.go (100%) rename go/{src => tests}/any_test/main.go (100%) rename go/{src => tests}/appendrange_test/main.go (100%) rename go/{src => tests}/atoi_test/main.go (100%) rename go/{src => tests}/balancedstring_test/balancedstring_correct/main.go (100%) rename go/{src => tests}/balancedstring_test/main.go (100%) rename go/{src => tests}/basicatoi2_test/main.go (100%) rename go/{src => tests}/basicatoi_test/main.go (100%) rename go/{src => tests}/basicjoin_test/main.go (100%) rename go/{src => tests}/boolean_test/boolean_correct/main.go (100%) rename go/{src => tests}/boolean_test/main.go (100%) rename go/{src => tests}/brackets_test/brackets_correct/main.go (100%) rename go/{src => tests}/brackets_test/main.go (100%) rename go/{src => tests}/brainfuck_test/brainfuck_correct/main.go (100%) rename go/{src => tests}/brainfuck_test/main.go (100%) rename go/{src => tests}/capitalize_test/main.go (100%) rename go/{src => tests}/chunk_test/main.go (100%) rename go/{src => tests}/cleanstr_test/cleanstr_correct/main.go (100%) rename go/{src => tests}/cleanstr_test/main.go (100%) rename go/{src => tests}/collatzcountdown_test/main.go (100%) rename go/{src => tests}/comcheck_test/comcheck_correct/main.go (100%) rename go/{src => tests}/comcheck_test/main.go (100%) rename go/{src => tests}/compact_test/main.go (100%) rename go/{src => tests}/compare_test/main.go (100%) rename go/{src => tests}/concat_test/main.go (100%) rename go/{src => tests}/concatparams_test/main.go (100%) rename go/{src => tests}/costumeprofit_test/costumeprofit_correct/main.go (100%) rename go/{src => tests}/costumeprofit_test/main.go (100%) rename go/{src => tests}/countdown_test/countdown_correct/main.go (100%) rename go/{src => tests}/countdown_test/main.go (100%) rename go/{src => tests}/countif_test/main.go (100%) rename go/{src => tests}/displaya_test/displaya_correct/main.go (100%) rename go/{src => tests}/displaya_test/main.go (100%) rename go/{src => tests}/displayalpham_test/displayalpham_correct/main.go (100%) rename go/{src => tests}/displayalpham_test/main.go (100%) rename go/{src => tests}/displayalrevm_test/displayalrevm_correct/main.go (100%) rename go/{src => tests}/displayalrevm_test/main.go (100%) rename go/{src => tests}/displayfirstparam_test/displayfirstparam_correct/main.go (100%) rename go/{src => tests}/displayfirstparam_test/main.go (100%) rename go/{src => tests}/displaylastparam_test/displaylastparam_correct/main.go (100%) rename go/{src => tests}/displaylastparam_test/main.go (100%) rename go/{src => tests}/displayz_test/displayz_correct/main.go (100%) rename go/{src => tests}/displayz_test/main.go (100%) rename go/{src => tests}/divmod_test/main.go (100%) rename go/{src => tests}/doop_test/doop_correct/main.go (100%) rename go/{src => tests}/doop_test/main.go (100%) rename go/{src => tests}/doppelganger_test/main.go (100%) rename go/{src => tests}/eightqueens_test/main.go (100%) rename go/{src => tests}/enigma_test/main.go (100%) rename go/{src => tests}/expandstr_test/expandstr_correct/main.go (100%) rename go/{src => tests}/expandstr_test/main.go (100%) rename go/{src => tests}/fib_test/main.go (100%) rename go/{src => tests}/fibonacci_test/main.go (100%) rename go/{src => tests}/findnextprime_test/main.go (100%) rename go/{src => tests}/findprevprime_test/main.go (100%) rename go/{src => tests}/firstrune_test/main.go (100%) rename go/{src => tests}/firstword_test/firstword_correct/main.go (100%) rename go/{src => tests}/firstword_test/main.go (100%) rename go/{src => tests}/fixthemain_test/fixthemain_correct/main.go (100%) rename go/{src => tests}/fixthemain_test/main.go (100%) rename go/{src => tests}/flags_test/flags_correct/main.go (100%) rename go/{src => tests}/flags_test/main.go (100%) rename go/{src => tests}/foldint_test/main.go (100%) rename go/{src => tests}/foreach_test/main.go (100%) rename go/{src => tests}/fprime_test/fprime_correct/main.go (100%) rename go/{src => tests}/fprime_test/main.go (100%) rename go/{src => tests}/game23_test/main.go (100%) rename go/{src => tests}/gcd_test/gcd_correct/main.go (100%) rename go/{src => tests}/gcd_test/main.go (100%) rename go/{src => tests}/grouping_test/grouping_correct/main.go (100%) rename go/{src => tests}/grouping_test/main.go (100%) rename go/{src => tests}/halfcontest_test/main.go (100%) rename go/{src => tests}/hello_test/hello_correct/main.go (100%) rename go/{src => tests}/hello_test/main.go (100%) rename go/{src => tests}/hiddenp_test/hiddenp_correct/main.go (100%) rename go/{src => tests}/hiddenp_test/main.go (100%) rename go/{src => tests}/index_test/main.go (100%) rename go/{src => tests}/inter_test/inter_correct/main.go (100%) rename go/{src => tests}/inter_test/main.go (100%) rename go/{src => tests}/interestingnumber_test/main.go (100%) rename go/{src => tests}/isalpha_test/main.go (100%) rename go/{src => tests}/isanagram_test/main.go (100%) rename go/{src => tests}/islower_test/main.go (100%) rename go/{src => tests}/isnegative_test/main.go (100%) rename go/{src => tests}/isnumeric_test/main.go (100%) rename go/{src => tests}/ispowerof2_test/ispowerof2_correct/main.go (100%) rename go/{src => tests}/ispowerof2_test/main.go (100%) rename go/{src => tests}/isprime_test/main.go (100%) rename go/{src => tests}/isprintable_test/main.go (100%) rename go/{src => tests}/issorted_test/main.go (100%) rename go/{src => tests}/isupper_test/main.go (100%) rename go/{src => tests}/iterativefactorial_test/main.go (100%) rename go/{src => tests}/iterativepower_test/main.go (100%) rename go/{src => tests}/itoa_test/main.go (100%) rename go/{src => tests}/itoabase_test/main.go (100%) rename go/{src => tests}/join_test/main.go (100%) rename go/{src => tests}/lastrune_test/main.go (100%) rename go/{src => tests}/lastword_test/lastword_correct/main.go (100%) rename go/{src => tests}/lastword_test/main.go (100%) rename go/{src => tests}/lcm_test/main.go (100%) rename go/{src => tests}/lib/is/is.go (100%) rename go/{src => tests}/lib/lib.go (100%) rename go/{src => tests}/makerange_test/main.go (100%) rename go/{src => tests}/map_test/main.go (100%) rename go/{src => tests}/max_test/main.go (100%) rename go/{src => tests}/nauuo_test/main.go (100%) rename go/{src => tests}/nbrconvertalpha_test/main.go (100%) rename go/{src => tests}/nbrconvertalpha_test/nbrconvertalpha_correct/main.go (100%) rename go/{src => tests}/nenokku_test/main.go (100%) rename go/{src => tests}/nenokku_test/nenokku_correct/main.go (100%) rename go/{src => tests}/nrune_test/main.go (100%) rename go/{src => tests}/onlya_test/main.go (100%) rename go/{src => tests}/onlya_test/onlya_correct/main.go (100%) rename go/{src => tests}/onlyz_test/main.go (100%) rename go/{src => tests}/onlyz_test/onlyz_correct/main.go (100%) rename go/{src => tests}/options_test/main.go (100%) rename go/{src => tests}/options_test/options_correct/main.go (100%) rename go/{src => tests}/paramcount_test/main.go (100%) rename go/{src => tests}/paramcount_test/paramcount_correct/main.go (100%) rename go/{src => tests}/piglatin_test/main.go (100%) rename go/{src => tests}/piglatin_test/piglatin_correct/main.go (100%) rename go/{src => tests}/point_test/main.go (100%) rename go/{src => tests}/point_test/point_correct/main.go (100%) rename go/{src => tests}/pointone_test/main.go (100%) rename go/{src => tests}/printalphabet_test/main.go (100%) rename go/{src => tests}/printalphabet_test/printalphabet_correct/main.go (100%) rename go/{src => tests}/printbits_test/main.go (100%) rename go/{src => tests}/printbits_test/printbits_correct/main.go (100%) rename go/{src => tests}/printchessboard_test/main.go (100%) rename go/{src => tests}/printchessboard_test/printchessboard_correct/main.go (100%) rename go/{src => tests}/printcomb2_test/main.go (100%) rename go/{src => tests}/printcomb_test/main.go (100%) rename go/{src => tests}/printcombn_test/main.go (100%) rename go/{src => tests}/printdigits_test/main.go (100%) rename go/{src => tests}/printdigits_test/printdigits_correct/main.go (100%) rename go/{src => tests}/printhex_test/main.go (100%) rename go/{src => tests}/printhex_test/printhex_correct/main.go (100%) rename go/{src => tests}/printmemory_test/main.go (100%) rename go/{src => tests}/printnbr_test/main.go (100%) rename go/{src => tests}/printnbrinorder_test/main.go (100%) rename go/{src => tests}/printparams_test/main.go (100%) rename go/{src => tests}/printparams_test/printparams_correct/main.go (100%) rename go/{src => tests}/printprogramname_test/main.go (100%) rename go/{src => tests}/printprogramname_test/printprogramname_correct/main.go (100%) rename go/{src => tests}/printrevcomb_test/main.go (100%) rename go/{src => tests}/printrevcomb_test/printrevcomb_correct/main.go (100%) rename go/{src => tests}/printreversealphabet_test/main.go (100%) rename go/{src => tests}/printreversealphabet_test/printreversealphabet_correct/main.go (100%) rename go/{src => tests}/printstr_test/main.go (100%) rename go/{src => tests}/printwordstables_test/main.go (100%) rename go/{src => tests}/priorprime_test/main.go (100%) rename go/{src => tests}/raid1a_test/main.go (100%) rename go/{src => tests}/raid1b_test/main.go (100%) rename go/{src => tests}/raid1c_test/main.go (100%) rename go/{src => tests}/raid1d_test/main.go (100%) rename go/{src => tests}/raid1e_test/main.go (100%) rename go/{src => tests}/raid2_test/main.go (100%) rename go/{src => tests}/raid2_test/raid2_correct/main.go (100%) rename go/{src => tests}/range_test/main.go (100%) rename go/{src => tests}/range_test/range_correct/main.go (100%) rename go/{src => tests}/rc/README.md (100%) rename go/{src => tests}/rc/rc.go (100%) rename go/{src => tests}/reachablenumber_test/main.go (100%) rename go/{src => tests}/rectangle_test/main.go (100%) rename go/{src => tests}/rectangle_test/rectangle_correct/main.go (100%) rename go/{src => tests}/recursivefactorial_test/main.go (100%) rename go/{src => tests}/recursivepower_test/main.go (100%) rename go/{src => tests}/reduceint_test/main.go (100%) rename go/{src => tests}/repeatalpha_test/main.go (100%) rename go/{src => tests}/repeatalpha_test/repeatalpha_correct/main.go (100%) rename go/{src => tests}/reversebits_test/main.go (100%) rename go/{src => tests}/reverserange_test/main.go (100%) rename go/{src => tests}/reverserange_test/reverserange_correct/main.go (100%) rename go/{src => tests}/reversestrcap_test/main.go (100%) rename go/{src => tests}/reversestrcap_test/reversestrcap_correct/main.go (100%) rename go/{src => tests}/revivethreenums_test/main.go (100%) rename go/{src => tests}/revparams_test/main.go (100%) rename go/{src => tests}/revparams_test/revparams_correct/main.go (100%) rename go/{src => tests}/revwstr_test/main.go (100%) rename go/{src => tests}/revwstr_test/revwstr_correct/main.go (100%) rename go/{src => tests}/robottoorigin_test/main.go (100%) rename go/{src => tests}/robottoorigin_test/robottoorigin_correct/main.go (100%) rename go/{src => tests}/romannumbers_test/main.go (100%) rename go/{src => tests}/romannumbers_test/romannumbers_correct/main.go (100%) rename go/{src => tests}/rostring_test/main.go (100%) rename go/{src => tests}/rostring_test/rostring_correct/main.go (100%) rename go/{src => tests}/rot13_test/main.go (100%) rename go/{src => tests}/rot13_test/rot13_correct/main.go (100%) rename go/{src => tests}/rot14_test/main.go (100%) rename go/{src => tests}/rotatevowels_test/main.go (100%) rename go/{src => tests}/rotatevowels_test/rotatevowels_correct/main.go (100%) rename go/{src => tests}/rpncalc_test/main.go (100%) rename go/{src => tests}/rpncalc_test/rpncalc_correct/main.go (100%) rename go/{src => tests}/searchreplace_test/main.go (100%) rename go/{src => tests}/searchreplace_test/searchreplace_correct/main.go (100%) rename go/{src => tests}/slice_test/main.go (100%) rename go/{src => tests}/sortintegertable_test/main.go (100%) rename go/{src => tests}/sortparams_test/main.go (100%) rename go/{src => tests}/sortparams_test/sortparams_correct/main.go (100%) rename go/{src => tests}/sortwordarr_test/main.go (100%) rename go/{src => tests}/split_test/main.go (100%) rename go/{src => tests}/splitwhitespaces_test/main.go (100%) rename go/{src => tests}/sqrt_test/main.go (100%) rename go/{src => tests}/strlen_test/main.go (100%) rename go/{src => tests}/strrev_test/main.go (100%) rename go/{src => tests}/swap_test/main.go (100%) rename go/{src => tests}/swapbits_test/main.go (100%) rename go/{src => tests}/sweetproblem_test/main.go (100%) rename go/{src => tests}/switchcase_test/main.go (100%) rename go/{src => tests}/switchcase_test/switchcase_correct/main.go (100%) rename go/{src => tests}/tabmult_test/main.go (100%) rename go/{src => tests}/tabmult_test/tabmult_correct/main.go (100%) rename go/{src => tests}/tetrisoptimizer_test/main.go (100%) rename go/{src => tests}/tetrisoptimizer_test/tetrisoptimizer_correct/board.go (100%) rename go/{src => tests}/tetrisoptimizer_test/tetrisoptimizer_correct/main.go (100%) rename go/{src => tests}/tetrisoptimizer_test/tetrisoptimizer_correct/samples/bad00.txt (100%) rename go/{src => tests}/tetrisoptimizer_test/tetrisoptimizer_correct/samples/bad01.txt (100%) rename go/{src => tests}/tetrisoptimizer_test/tetrisoptimizer_correct/samples/bad02.txt (100%) rename go/{src => tests}/tetrisoptimizer_test/tetrisoptimizer_correct/samples/bad03.txt (100%) rename go/{src => tests}/tetrisoptimizer_test/tetrisoptimizer_correct/samples/bad04.txt (100%) rename go/{src => tests}/tetrisoptimizer_test/tetrisoptimizer_correct/samples/badFormat.txt (100%) rename go/{src => tests}/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_01-1-2-0.00.txt (100%) rename go/{src => tests}/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_02-1-4-0.00.txt (100%) rename go/{src => tests}/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_03-2-4-0.00.txt (100%) rename go/{src => tests}/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_04-6-6-0.00.txt (100%) rename go/{src => tests}/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_05-21-10-0.00.txt (100%) rename go/{src => tests}/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_06-22-10-0.00.txt (100%) rename go/{src => tests}/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_07-26-11-0.00.txt (100%) rename go/{src => tests}/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_08-24-10-0.03.txt (100%) rename go/{src => tests}/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_09-11-7-0.07.txt (100%) rename go/{src => tests}/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_10-12-7-0.52.txt (100%) rename go/{src => tests}/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_11-12-8-0.83.txt (100%) rename go/{src => tests}/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_12-19-9-3.40.txt (100%) rename go/{src => tests}/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_13-23-10-4.72.txt (100%) rename go/{src => tests}/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_14-15-8-7.34.txt (100%) rename go/{src => tests}/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_15-26-11-72.22.txt (100%) rename go/{src => tests}/tetrisoptimizer_test/tetrisoptimizer_correct/solver.go (100%) rename go/{src => tests}/tetrisoptimizer_test/tetrisoptimizer_correct/tetrimino.go (100%) rename go/{src => tests}/tetrisoptimizer_test/tetrisoptimizer_correct/validation.go (100%) rename go/{src => tests}/tolower_test/main.go (100%) rename go/{src => tests}/toupper_test/main.go (100%) rename go/{src => tests}/trimatoi_test/main.go (100%) rename go/{src => tests}/twosum_test/main.go (100%) rename go/{src => tests}/ultimatedivmod_test/main.go (100%) rename go/{src => tests}/ultimatepointone_test/main.go (100%) rename go/{src => tests}/union_test/main.go (100%) rename go/{src => tests}/union_test/union_correct/main.go (100%) rename go/{src => tests}/uniqueoccurences_test/main.go (100%) rename go/{src => tests}/uniqueoccurences_test/uniqueoccurences_correct/main.go (100%) rename go/{src => tests}/unmatch_test/main.go (100%) rename go/{src => tests}/volumechanger_test/main.go (100%) rename go/{src => tests}/wdmatch_test/main.go (100%) rename go/{src => tests}/wdmatch_test/wdmatch_correct/main.go (100%) diff --git a/go/Dockerfile b/go/Dockerfile index a743d0319..3a0d88ade 100644 --- a/go/Dockerfile +++ b/go/Dockerfile @@ -1,11 +1,12 @@ FROM golang:1-alpine +ENV GIT_TERMINAL_PROMPT=0 RUN apk add --no-cache git nano RUN go get golang.org/x/tools/cmd/goimports RUN go get github.com/01-edu/z01 WORKDIR src COPY entrypoint.sh /usr/local/bin -COPY src . +COPY tests . RUN go install rc RUN find -mindepth 2 -maxdepth 2 -name '*_correct' -type d|xargs go install RUN find -mindepth 2 -maxdepth 2 -name '*_correct' -type d|cut -d/ -f1-2|xargs go install diff --git a/go/src/abort_test/main.go b/go/tests/abort_test/main.go similarity index 100% rename from go/src/abort_test/main.go rename to go/tests/abort_test/main.go diff --git a/go/src/activebits_test/main.go b/go/tests/activebits_test/main.go similarity index 100% rename from go/src/activebits_test/main.go rename to go/tests/activebits_test/main.go diff --git a/go/src/addprimesum_test/addprimesum_correct/main.go b/go/tests/addprimesum_test/addprimesum_correct/main.go similarity index 100% rename from go/src/addprimesum_test/addprimesum_correct/main.go rename to go/tests/addprimesum_test/addprimesum_correct/main.go diff --git a/go/src/addprimesum_test/main.go b/go/tests/addprimesum_test/main.go similarity index 100% rename from go/src/addprimesum_test/main.go rename to go/tests/addprimesum_test/main.go diff --git a/go/src/advancedsortwordarr_test/main.go b/go/tests/advancedsortwordarr_test/main.go similarity index 100% rename from go/src/advancedsortwordarr_test/main.go rename to go/tests/advancedsortwordarr_test/main.go diff --git a/go/src/alphacount_test/main.go b/go/tests/alphacount_test/main.go similarity index 100% rename from go/src/alphacount_test/main.go rename to go/tests/alphacount_test/main.go diff --git a/go/src/alphamirror_test/alphamirror_correct/main.go b/go/tests/alphamirror_test/alphamirror_correct/main.go similarity index 100% rename from go/src/alphamirror_test/alphamirror_correct/main.go rename to go/tests/alphamirror_test/alphamirror_correct/main.go diff --git a/go/src/alphamirror_test/main.go b/go/tests/alphamirror_test/main.go similarity index 100% rename from go/src/alphamirror_test/main.go rename to go/tests/alphamirror_test/main.go diff --git a/go/src/any_test/main.go b/go/tests/any_test/main.go similarity index 100% rename from go/src/any_test/main.go rename to go/tests/any_test/main.go diff --git a/go/src/appendrange_test/main.go b/go/tests/appendrange_test/main.go similarity index 100% rename from go/src/appendrange_test/main.go rename to go/tests/appendrange_test/main.go diff --git a/go/src/atoi_test/main.go b/go/tests/atoi_test/main.go similarity index 100% rename from go/src/atoi_test/main.go rename to go/tests/atoi_test/main.go diff --git a/go/src/balancedstring_test/balancedstring_correct/main.go b/go/tests/balancedstring_test/balancedstring_correct/main.go similarity index 100% rename from go/src/balancedstring_test/balancedstring_correct/main.go rename to go/tests/balancedstring_test/balancedstring_correct/main.go diff --git a/go/src/balancedstring_test/main.go b/go/tests/balancedstring_test/main.go similarity index 100% rename from go/src/balancedstring_test/main.go rename to go/tests/balancedstring_test/main.go diff --git a/go/src/basicatoi2_test/main.go b/go/tests/basicatoi2_test/main.go similarity index 100% rename from go/src/basicatoi2_test/main.go rename to go/tests/basicatoi2_test/main.go diff --git a/go/src/basicatoi_test/main.go b/go/tests/basicatoi_test/main.go similarity index 100% rename from go/src/basicatoi_test/main.go rename to go/tests/basicatoi_test/main.go diff --git a/go/src/basicjoin_test/main.go b/go/tests/basicjoin_test/main.go similarity index 100% rename from go/src/basicjoin_test/main.go rename to go/tests/basicjoin_test/main.go diff --git a/go/src/boolean_test/boolean_correct/main.go b/go/tests/boolean_test/boolean_correct/main.go similarity index 100% rename from go/src/boolean_test/boolean_correct/main.go rename to go/tests/boolean_test/boolean_correct/main.go diff --git a/go/src/boolean_test/main.go b/go/tests/boolean_test/main.go similarity index 100% rename from go/src/boolean_test/main.go rename to go/tests/boolean_test/main.go diff --git a/go/src/brackets_test/brackets_correct/main.go b/go/tests/brackets_test/brackets_correct/main.go similarity index 100% rename from go/src/brackets_test/brackets_correct/main.go rename to go/tests/brackets_test/brackets_correct/main.go diff --git a/go/src/brackets_test/main.go b/go/tests/brackets_test/main.go similarity index 100% rename from go/src/brackets_test/main.go rename to go/tests/brackets_test/main.go diff --git a/go/src/brainfuck_test/brainfuck_correct/main.go b/go/tests/brainfuck_test/brainfuck_correct/main.go similarity index 100% rename from go/src/brainfuck_test/brainfuck_correct/main.go rename to go/tests/brainfuck_test/brainfuck_correct/main.go diff --git a/go/src/brainfuck_test/main.go b/go/tests/brainfuck_test/main.go similarity index 100% rename from go/src/brainfuck_test/main.go rename to go/tests/brainfuck_test/main.go diff --git a/go/src/capitalize_test/main.go b/go/tests/capitalize_test/main.go similarity index 100% rename from go/src/capitalize_test/main.go rename to go/tests/capitalize_test/main.go diff --git a/go/src/chunk_test/main.go b/go/tests/chunk_test/main.go similarity index 100% rename from go/src/chunk_test/main.go rename to go/tests/chunk_test/main.go diff --git a/go/src/cleanstr_test/cleanstr_correct/main.go b/go/tests/cleanstr_test/cleanstr_correct/main.go similarity index 100% rename from go/src/cleanstr_test/cleanstr_correct/main.go rename to go/tests/cleanstr_test/cleanstr_correct/main.go diff --git a/go/src/cleanstr_test/main.go b/go/tests/cleanstr_test/main.go similarity index 100% rename from go/src/cleanstr_test/main.go rename to go/tests/cleanstr_test/main.go diff --git a/go/src/collatzcountdown_test/main.go b/go/tests/collatzcountdown_test/main.go similarity index 100% rename from go/src/collatzcountdown_test/main.go rename to go/tests/collatzcountdown_test/main.go diff --git a/go/src/comcheck_test/comcheck_correct/main.go b/go/tests/comcheck_test/comcheck_correct/main.go similarity index 100% rename from go/src/comcheck_test/comcheck_correct/main.go rename to go/tests/comcheck_test/comcheck_correct/main.go diff --git a/go/src/comcheck_test/main.go b/go/tests/comcheck_test/main.go similarity index 100% rename from go/src/comcheck_test/main.go rename to go/tests/comcheck_test/main.go diff --git a/go/src/compact_test/main.go b/go/tests/compact_test/main.go similarity index 100% rename from go/src/compact_test/main.go rename to go/tests/compact_test/main.go diff --git a/go/src/compare_test/main.go b/go/tests/compare_test/main.go similarity index 100% rename from go/src/compare_test/main.go rename to go/tests/compare_test/main.go diff --git a/go/src/concat_test/main.go b/go/tests/concat_test/main.go similarity index 100% rename from go/src/concat_test/main.go rename to go/tests/concat_test/main.go diff --git a/go/src/concatparams_test/main.go b/go/tests/concatparams_test/main.go similarity index 100% rename from go/src/concatparams_test/main.go rename to go/tests/concatparams_test/main.go diff --git a/go/src/costumeprofit_test/costumeprofit_correct/main.go b/go/tests/costumeprofit_test/costumeprofit_correct/main.go similarity index 100% rename from go/src/costumeprofit_test/costumeprofit_correct/main.go rename to go/tests/costumeprofit_test/costumeprofit_correct/main.go diff --git a/go/src/costumeprofit_test/main.go b/go/tests/costumeprofit_test/main.go similarity index 100% rename from go/src/costumeprofit_test/main.go rename to go/tests/costumeprofit_test/main.go diff --git a/go/src/countdown_test/countdown_correct/main.go b/go/tests/countdown_test/countdown_correct/main.go similarity index 100% rename from go/src/countdown_test/countdown_correct/main.go rename to go/tests/countdown_test/countdown_correct/main.go diff --git a/go/src/countdown_test/main.go b/go/tests/countdown_test/main.go similarity index 100% rename from go/src/countdown_test/main.go rename to go/tests/countdown_test/main.go diff --git a/go/src/countif_test/main.go b/go/tests/countif_test/main.go similarity index 100% rename from go/src/countif_test/main.go rename to go/tests/countif_test/main.go diff --git a/go/src/displaya_test/displaya_correct/main.go b/go/tests/displaya_test/displaya_correct/main.go similarity index 100% rename from go/src/displaya_test/displaya_correct/main.go rename to go/tests/displaya_test/displaya_correct/main.go diff --git a/go/src/displaya_test/main.go b/go/tests/displaya_test/main.go similarity index 100% rename from go/src/displaya_test/main.go rename to go/tests/displaya_test/main.go diff --git a/go/src/displayalpham_test/displayalpham_correct/main.go b/go/tests/displayalpham_test/displayalpham_correct/main.go similarity index 100% rename from go/src/displayalpham_test/displayalpham_correct/main.go rename to go/tests/displayalpham_test/displayalpham_correct/main.go diff --git a/go/src/displayalpham_test/main.go b/go/tests/displayalpham_test/main.go similarity index 100% rename from go/src/displayalpham_test/main.go rename to go/tests/displayalpham_test/main.go diff --git a/go/src/displayalrevm_test/displayalrevm_correct/main.go b/go/tests/displayalrevm_test/displayalrevm_correct/main.go similarity index 100% rename from go/src/displayalrevm_test/displayalrevm_correct/main.go rename to go/tests/displayalrevm_test/displayalrevm_correct/main.go diff --git a/go/src/displayalrevm_test/main.go b/go/tests/displayalrevm_test/main.go similarity index 100% rename from go/src/displayalrevm_test/main.go rename to go/tests/displayalrevm_test/main.go diff --git a/go/src/displayfirstparam_test/displayfirstparam_correct/main.go b/go/tests/displayfirstparam_test/displayfirstparam_correct/main.go similarity index 100% rename from go/src/displayfirstparam_test/displayfirstparam_correct/main.go rename to go/tests/displayfirstparam_test/displayfirstparam_correct/main.go diff --git a/go/src/displayfirstparam_test/main.go b/go/tests/displayfirstparam_test/main.go similarity index 100% rename from go/src/displayfirstparam_test/main.go rename to go/tests/displayfirstparam_test/main.go diff --git a/go/src/displaylastparam_test/displaylastparam_correct/main.go b/go/tests/displaylastparam_test/displaylastparam_correct/main.go similarity index 100% rename from go/src/displaylastparam_test/displaylastparam_correct/main.go rename to go/tests/displaylastparam_test/displaylastparam_correct/main.go diff --git a/go/src/displaylastparam_test/main.go b/go/tests/displaylastparam_test/main.go similarity index 100% rename from go/src/displaylastparam_test/main.go rename to go/tests/displaylastparam_test/main.go diff --git a/go/src/displayz_test/displayz_correct/main.go b/go/tests/displayz_test/displayz_correct/main.go similarity index 100% rename from go/src/displayz_test/displayz_correct/main.go rename to go/tests/displayz_test/displayz_correct/main.go diff --git a/go/src/displayz_test/main.go b/go/tests/displayz_test/main.go similarity index 100% rename from go/src/displayz_test/main.go rename to go/tests/displayz_test/main.go diff --git a/go/src/divmod_test/main.go b/go/tests/divmod_test/main.go similarity index 100% rename from go/src/divmod_test/main.go rename to go/tests/divmod_test/main.go diff --git a/go/src/doop_test/doop_correct/main.go b/go/tests/doop_test/doop_correct/main.go similarity index 100% rename from go/src/doop_test/doop_correct/main.go rename to go/tests/doop_test/doop_correct/main.go diff --git a/go/src/doop_test/main.go b/go/tests/doop_test/main.go similarity index 100% rename from go/src/doop_test/main.go rename to go/tests/doop_test/main.go diff --git a/go/src/doppelganger_test/main.go b/go/tests/doppelganger_test/main.go similarity index 100% rename from go/src/doppelganger_test/main.go rename to go/tests/doppelganger_test/main.go diff --git a/go/src/eightqueens_test/main.go b/go/tests/eightqueens_test/main.go similarity index 100% rename from go/src/eightqueens_test/main.go rename to go/tests/eightqueens_test/main.go diff --git a/go/src/enigma_test/main.go b/go/tests/enigma_test/main.go similarity index 100% rename from go/src/enigma_test/main.go rename to go/tests/enigma_test/main.go diff --git a/go/src/expandstr_test/expandstr_correct/main.go b/go/tests/expandstr_test/expandstr_correct/main.go similarity index 100% rename from go/src/expandstr_test/expandstr_correct/main.go rename to go/tests/expandstr_test/expandstr_correct/main.go diff --git a/go/src/expandstr_test/main.go b/go/tests/expandstr_test/main.go similarity index 100% rename from go/src/expandstr_test/main.go rename to go/tests/expandstr_test/main.go diff --git a/go/src/fib_test/main.go b/go/tests/fib_test/main.go similarity index 100% rename from go/src/fib_test/main.go rename to go/tests/fib_test/main.go diff --git a/go/src/fibonacci_test/main.go b/go/tests/fibonacci_test/main.go similarity index 100% rename from go/src/fibonacci_test/main.go rename to go/tests/fibonacci_test/main.go diff --git a/go/src/findnextprime_test/main.go b/go/tests/findnextprime_test/main.go similarity index 100% rename from go/src/findnextprime_test/main.go rename to go/tests/findnextprime_test/main.go diff --git a/go/src/findprevprime_test/main.go b/go/tests/findprevprime_test/main.go similarity index 100% rename from go/src/findprevprime_test/main.go rename to go/tests/findprevprime_test/main.go diff --git a/go/src/firstrune_test/main.go b/go/tests/firstrune_test/main.go similarity index 100% rename from go/src/firstrune_test/main.go rename to go/tests/firstrune_test/main.go diff --git a/go/src/firstword_test/firstword_correct/main.go b/go/tests/firstword_test/firstword_correct/main.go similarity index 100% rename from go/src/firstword_test/firstword_correct/main.go rename to go/tests/firstword_test/firstword_correct/main.go diff --git a/go/src/firstword_test/main.go b/go/tests/firstword_test/main.go similarity index 100% rename from go/src/firstword_test/main.go rename to go/tests/firstword_test/main.go diff --git a/go/src/fixthemain_test/fixthemain_correct/main.go b/go/tests/fixthemain_test/fixthemain_correct/main.go similarity index 100% rename from go/src/fixthemain_test/fixthemain_correct/main.go rename to go/tests/fixthemain_test/fixthemain_correct/main.go diff --git a/go/src/fixthemain_test/main.go b/go/tests/fixthemain_test/main.go similarity index 100% rename from go/src/fixthemain_test/main.go rename to go/tests/fixthemain_test/main.go diff --git a/go/src/flags_test/flags_correct/main.go b/go/tests/flags_test/flags_correct/main.go similarity index 100% rename from go/src/flags_test/flags_correct/main.go rename to go/tests/flags_test/flags_correct/main.go diff --git a/go/src/flags_test/main.go b/go/tests/flags_test/main.go similarity index 100% rename from go/src/flags_test/main.go rename to go/tests/flags_test/main.go diff --git a/go/src/foldint_test/main.go b/go/tests/foldint_test/main.go similarity index 100% rename from go/src/foldint_test/main.go rename to go/tests/foldint_test/main.go diff --git a/go/src/foreach_test/main.go b/go/tests/foreach_test/main.go similarity index 100% rename from go/src/foreach_test/main.go rename to go/tests/foreach_test/main.go diff --git a/go/src/fprime_test/fprime_correct/main.go b/go/tests/fprime_test/fprime_correct/main.go similarity index 100% rename from go/src/fprime_test/fprime_correct/main.go rename to go/tests/fprime_test/fprime_correct/main.go diff --git a/go/src/fprime_test/main.go b/go/tests/fprime_test/main.go similarity index 100% rename from go/src/fprime_test/main.go rename to go/tests/fprime_test/main.go diff --git a/go/src/game23_test/main.go b/go/tests/game23_test/main.go similarity index 100% rename from go/src/game23_test/main.go rename to go/tests/game23_test/main.go diff --git a/go/src/gcd_test/gcd_correct/main.go b/go/tests/gcd_test/gcd_correct/main.go similarity index 100% rename from go/src/gcd_test/gcd_correct/main.go rename to go/tests/gcd_test/gcd_correct/main.go diff --git a/go/src/gcd_test/main.go b/go/tests/gcd_test/main.go similarity index 100% rename from go/src/gcd_test/main.go rename to go/tests/gcd_test/main.go diff --git a/go/src/grouping_test/grouping_correct/main.go b/go/tests/grouping_test/grouping_correct/main.go similarity index 100% rename from go/src/grouping_test/grouping_correct/main.go rename to go/tests/grouping_test/grouping_correct/main.go diff --git a/go/src/grouping_test/main.go b/go/tests/grouping_test/main.go similarity index 100% rename from go/src/grouping_test/main.go rename to go/tests/grouping_test/main.go diff --git a/go/src/halfcontest_test/main.go b/go/tests/halfcontest_test/main.go similarity index 100% rename from go/src/halfcontest_test/main.go rename to go/tests/halfcontest_test/main.go diff --git a/go/src/hello_test/hello_correct/main.go b/go/tests/hello_test/hello_correct/main.go similarity index 100% rename from go/src/hello_test/hello_correct/main.go rename to go/tests/hello_test/hello_correct/main.go diff --git a/go/src/hello_test/main.go b/go/tests/hello_test/main.go similarity index 100% rename from go/src/hello_test/main.go rename to go/tests/hello_test/main.go diff --git a/go/src/hiddenp_test/hiddenp_correct/main.go b/go/tests/hiddenp_test/hiddenp_correct/main.go similarity index 100% rename from go/src/hiddenp_test/hiddenp_correct/main.go rename to go/tests/hiddenp_test/hiddenp_correct/main.go diff --git a/go/src/hiddenp_test/main.go b/go/tests/hiddenp_test/main.go similarity index 100% rename from go/src/hiddenp_test/main.go rename to go/tests/hiddenp_test/main.go diff --git a/go/src/index_test/main.go b/go/tests/index_test/main.go similarity index 100% rename from go/src/index_test/main.go rename to go/tests/index_test/main.go diff --git a/go/src/inter_test/inter_correct/main.go b/go/tests/inter_test/inter_correct/main.go similarity index 100% rename from go/src/inter_test/inter_correct/main.go rename to go/tests/inter_test/inter_correct/main.go diff --git a/go/src/inter_test/main.go b/go/tests/inter_test/main.go similarity index 100% rename from go/src/inter_test/main.go rename to go/tests/inter_test/main.go diff --git a/go/src/interestingnumber_test/main.go b/go/tests/interestingnumber_test/main.go similarity index 100% rename from go/src/interestingnumber_test/main.go rename to go/tests/interestingnumber_test/main.go diff --git a/go/src/isalpha_test/main.go b/go/tests/isalpha_test/main.go similarity index 100% rename from go/src/isalpha_test/main.go rename to go/tests/isalpha_test/main.go diff --git a/go/src/isanagram_test/main.go b/go/tests/isanagram_test/main.go similarity index 100% rename from go/src/isanagram_test/main.go rename to go/tests/isanagram_test/main.go diff --git a/go/src/islower_test/main.go b/go/tests/islower_test/main.go similarity index 100% rename from go/src/islower_test/main.go rename to go/tests/islower_test/main.go diff --git a/go/src/isnegative_test/main.go b/go/tests/isnegative_test/main.go similarity index 100% rename from go/src/isnegative_test/main.go rename to go/tests/isnegative_test/main.go diff --git a/go/src/isnumeric_test/main.go b/go/tests/isnumeric_test/main.go similarity index 100% rename from go/src/isnumeric_test/main.go rename to go/tests/isnumeric_test/main.go diff --git a/go/src/ispowerof2_test/ispowerof2_correct/main.go b/go/tests/ispowerof2_test/ispowerof2_correct/main.go similarity index 100% rename from go/src/ispowerof2_test/ispowerof2_correct/main.go rename to go/tests/ispowerof2_test/ispowerof2_correct/main.go diff --git a/go/src/ispowerof2_test/main.go b/go/tests/ispowerof2_test/main.go similarity index 100% rename from go/src/ispowerof2_test/main.go rename to go/tests/ispowerof2_test/main.go diff --git a/go/src/isprime_test/main.go b/go/tests/isprime_test/main.go similarity index 100% rename from go/src/isprime_test/main.go rename to go/tests/isprime_test/main.go diff --git a/go/src/isprintable_test/main.go b/go/tests/isprintable_test/main.go similarity index 100% rename from go/src/isprintable_test/main.go rename to go/tests/isprintable_test/main.go diff --git a/go/src/issorted_test/main.go b/go/tests/issorted_test/main.go similarity index 100% rename from go/src/issorted_test/main.go rename to go/tests/issorted_test/main.go diff --git a/go/src/isupper_test/main.go b/go/tests/isupper_test/main.go similarity index 100% rename from go/src/isupper_test/main.go rename to go/tests/isupper_test/main.go diff --git a/go/src/iterativefactorial_test/main.go b/go/tests/iterativefactorial_test/main.go similarity index 100% rename from go/src/iterativefactorial_test/main.go rename to go/tests/iterativefactorial_test/main.go diff --git a/go/src/iterativepower_test/main.go b/go/tests/iterativepower_test/main.go similarity index 100% rename from go/src/iterativepower_test/main.go rename to go/tests/iterativepower_test/main.go diff --git a/go/src/itoa_test/main.go b/go/tests/itoa_test/main.go similarity index 100% rename from go/src/itoa_test/main.go rename to go/tests/itoa_test/main.go diff --git a/go/src/itoabase_test/main.go b/go/tests/itoabase_test/main.go similarity index 100% rename from go/src/itoabase_test/main.go rename to go/tests/itoabase_test/main.go diff --git a/go/src/join_test/main.go b/go/tests/join_test/main.go similarity index 100% rename from go/src/join_test/main.go rename to go/tests/join_test/main.go diff --git a/go/src/lastrune_test/main.go b/go/tests/lastrune_test/main.go similarity index 100% rename from go/src/lastrune_test/main.go rename to go/tests/lastrune_test/main.go diff --git a/go/src/lastword_test/lastword_correct/main.go b/go/tests/lastword_test/lastword_correct/main.go similarity index 100% rename from go/src/lastword_test/lastword_correct/main.go rename to go/tests/lastword_test/lastword_correct/main.go diff --git a/go/src/lastword_test/main.go b/go/tests/lastword_test/main.go similarity index 100% rename from go/src/lastword_test/main.go rename to go/tests/lastword_test/main.go diff --git a/go/src/lcm_test/main.go b/go/tests/lcm_test/main.go similarity index 100% rename from go/src/lcm_test/main.go rename to go/tests/lcm_test/main.go diff --git a/go/src/lib/is/is.go b/go/tests/lib/is/is.go similarity index 100% rename from go/src/lib/is/is.go rename to go/tests/lib/is/is.go diff --git a/go/src/lib/lib.go b/go/tests/lib/lib.go similarity index 100% rename from go/src/lib/lib.go rename to go/tests/lib/lib.go diff --git a/go/src/makerange_test/main.go b/go/tests/makerange_test/main.go similarity index 100% rename from go/src/makerange_test/main.go rename to go/tests/makerange_test/main.go diff --git a/go/src/map_test/main.go b/go/tests/map_test/main.go similarity index 100% rename from go/src/map_test/main.go rename to go/tests/map_test/main.go diff --git a/go/src/max_test/main.go b/go/tests/max_test/main.go similarity index 100% rename from go/src/max_test/main.go rename to go/tests/max_test/main.go diff --git a/go/src/nauuo_test/main.go b/go/tests/nauuo_test/main.go similarity index 100% rename from go/src/nauuo_test/main.go rename to go/tests/nauuo_test/main.go diff --git a/go/src/nbrconvertalpha_test/main.go b/go/tests/nbrconvertalpha_test/main.go similarity index 100% rename from go/src/nbrconvertalpha_test/main.go rename to go/tests/nbrconvertalpha_test/main.go diff --git a/go/src/nbrconvertalpha_test/nbrconvertalpha_correct/main.go b/go/tests/nbrconvertalpha_test/nbrconvertalpha_correct/main.go similarity index 100% rename from go/src/nbrconvertalpha_test/nbrconvertalpha_correct/main.go rename to go/tests/nbrconvertalpha_test/nbrconvertalpha_correct/main.go diff --git a/go/src/nenokku_test/main.go b/go/tests/nenokku_test/main.go similarity index 100% rename from go/src/nenokku_test/main.go rename to go/tests/nenokku_test/main.go diff --git a/go/src/nenokku_test/nenokku_correct/main.go b/go/tests/nenokku_test/nenokku_correct/main.go similarity index 100% rename from go/src/nenokku_test/nenokku_correct/main.go rename to go/tests/nenokku_test/nenokku_correct/main.go diff --git a/go/src/nrune_test/main.go b/go/tests/nrune_test/main.go similarity index 100% rename from go/src/nrune_test/main.go rename to go/tests/nrune_test/main.go diff --git a/go/src/onlya_test/main.go b/go/tests/onlya_test/main.go similarity index 100% rename from go/src/onlya_test/main.go rename to go/tests/onlya_test/main.go diff --git a/go/src/onlya_test/onlya_correct/main.go b/go/tests/onlya_test/onlya_correct/main.go similarity index 100% rename from go/src/onlya_test/onlya_correct/main.go rename to go/tests/onlya_test/onlya_correct/main.go diff --git a/go/src/onlyz_test/main.go b/go/tests/onlyz_test/main.go similarity index 100% rename from go/src/onlyz_test/main.go rename to go/tests/onlyz_test/main.go diff --git a/go/src/onlyz_test/onlyz_correct/main.go b/go/tests/onlyz_test/onlyz_correct/main.go similarity index 100% rename from go/src/onlyz_test/onlyz_correct/main.go rename to go/tests/onlyz_test/onlyz_correct/main.go diff --git a/go/src/options_test/main.go b/go/tests/options_test/main.go similarity index 100% rename from go/src/options_test/main.go rename to go/tests/options_test/main.go diff --git a/go/src/options_test/options_correct/main.go b/go/tests/options_test/options_correct/main.go similarity index 100% rename from go/src/options_test/options_correct/main.go rename to go/tests/options_test/options_correct/main.go diff --git a/go/src/paramcount_test/main.go b/go/tests/paramcount_test/main.go similarity index 100% rename from go/src/paramcount_test/main.go rename to go/tests/paramcount_test/main.go diff --git a/go/src/paramcount_test/paramcount_correct/main.go b/go/tests/paramcount_test/paramcount_correct/main.go similarity index 100% rename from go/src/paramcount_test/paramcount_correct/main.go rename to go/tests/paramcount_test/paramcount_correct/main.go diff --git a/go/src/piglatin_test/main.go b/go/tests/piglatin_test/main.go similarity index 100% rename from go/src/piglatin_test/main.go rename to go/tests/piglatin_test/main.go diff --git a/go/src/piglatin_test/piglatin_correct/main.go b/go/tests/piglatin_test/piglatin_correct/main.go similarity index 100% rename from go/src/piglatin_test/piglatin_correct/main.go rename to go/tests/piglatin_test/piglatin_correct/main.go diff --git a/go/src/point_test/main.go b/go/tests/point_test/main.go similarity index 100% rename from go/src/point_test/main.go rename to go/tests/point_test/main.go diff --git a/go/src/point_test/point_correct/main.go b/go/tests/point_test/point_correct/main.go similarity index 100% rename from go/src/point_test/point_correct/main.go rename to go/tests/point_test/point_correct/main.go diff --git a/go/src/pointone_test/main.go b/go/tests/pointone_test/main.go similarity index 100% rename from go/src/pointone_test/main.go rename to go/tests/pointone_test/main.go diff --git a/go/src/printalphabet_test/main.go b/go/tests/printalphabet_test/main.go similarity index 100% rename from go/src/printalphabet_test/main.go rename to go/tests/printalphabet_test/main.go diff --git a/go/src/printalphabet_test/printalphabet_correct/main.go b/go/tests/printalphabet_test/printalphabet_correct/main.go similarity index 100% rename from go/src/printalphabet_test/printalphabet_correct/main.go rename to go/tests/printalphabet_test/printalphabet_correct/main.go diff --git a/go/src/printbits_test/main.go b/go/tests/printbits_test/main.go similarity index 100% rename from go/src/printbits_test/main.go rename to go/tests/printbits_test/main.go diff --git a/go/src/printbits_test/printbits_correct/main.go b/go/tests/printbits_test/printbits_correct/main.go similarity index 100% rename from go/src/printbits_test/printbits_correct/main.go rename to go/tests/printbits_test/printbits_correct/main.go diff --git a/go/src/printchessboard_test/main.go b/go/tests/printchessboard_test/main.go similarity index 100% rename from go/src/printchessboard_test/main.go rename to go/tests/printchessboard_test/main.go diff --git a/go/src/printchessboard_test/printchessboard_correct/main.go b/go/tests/printchessboard_test/printchessboard_correct/main.go similarity index 100% rename from go/src/printchessboard_test/printchessboard_correct/main.go rename to go/tests/printchessboard_test/printchessboard_correct/main.go diff --git a/go/src/printcomb2_test/main.go b/go/tests/printcomb2_test/main.go similarity index 100% rename from go/src/printcomb2_test/main.go rename to go/tests/printcomb2_test/main.go diff --git a/go/src/printcomb_test/main.go b/go/tests/printcomb_test/main.go similarity index 100% rename from go/src/printcomb_test/main.go rename to go/tests/printcomb_test/main.go diff --git a/go/src/printcombn_test/main.go b/go/tests/printcombn_test/main.go similarity index 100% rename from go/src/printcombn_test/main.go rename to go/tests/printcombn_test/main.go diff --git a/go/src/printdigits_test/main.go b/go/tests/printdigits_test/main.go similarity index 100% rename from go/src/printdigits_test/main.go rename to go/tests/printdigits_test/main.go diff --git a/go/src/printdigits_test/printdigits_correct/main.go b/go/tests/printdigits_test/printdigits_correct/main.go similarity index 100% rename from go/src/printdigits_test/printdigits_correct/main.go rename to go/tests/printdigits_test/printdigits_correct/main.go diff --git a/go/src/printhex_test/main.go b/go/tests/printhex_test/main.go similarity index 100% rename from go/src/printhex_test/main.go rename to go/tests/printhex_test/main.go diff --git a/go/src/printhex_test/printhex_correct/main.go b/go/tests/printhex_test/printhex_correct/main.go similarity index 100% rename from go/src/printhex_test/printhex_correct/main.go rename to go/tests/printhex_test/printhex_correct/main.go diff --git a/go/src/printmemory_test/main.go b/go/tests/printmemory_test/main.go similarity index 100% rename from go/src/printmemory_test/main.go rename to go/tests/printmemory_test/main.go diff --git a/go/src/printnbr_test/main.go b/go/tests/printnbr_test/main.go similarity index 100% rename from go/src/printnbr_test/main.go rename to go/tests/printnbr_test/main.go diff --git a/go/src/printnbrinorder_test/main.go b/go/tests/printnbrinorder_test/main.go similarity index 100% rename from go/src/printnbrinorder_test/main.go rename to go/tests/printnbrinorder_test/main.go diff --git a/go/src/printparams_test/main.go b/go/tests/printparams_test/main.go similarity index 100% rename from go/src/printparams_test/main.go rename to go/tests/printparams_test/main.go diff --git a/go/src/printparams_test/printparams_correct/main.go b/go/tests/printparams_test/printparams_correct/main.go similarity index 100% rename from go/src/printparams_test/printparams_correct/main.go rename to go/tests/printparams_test/printparams_correct/main.go diff --git a/go/src/printprogramname_test/main.go b/go/tests/printprogramname_test/main.go similarity index 100% rename from go/src/printprogramname_test/main.go rename to go/tests/printprogramname_test/main.go diff --git a/go/src/printprogramname_test/printprogramname_correct/main.go b/go/tests/printprogramname_test/printprogramname_correct/main.go similarity index 100% rename from go/src/printprogramname_test/printprogramname_correct/main.go rename to go/tests/printprogramname_test/printprogramname_correct/main.go diff --git a/go/src/printrevcomb_test/main.go b/go/tests/printrevcomb_test/main.go similarity index 100% rename from go/src/printrevcomb_test/main.go rename to go/tests/printrevcomb_test/main.go diff --git a/go/src/printrevcomb_test/printrevcomb_correct/main.go b/go/tests/printrevcomb_test/printrevcomb_correct/main.go similarity index 100% rename from go/src/printrevcomb_test/printrevcomb_correct/main.go rename to go/tests/printrevcomb_test/printrevcomb_correct/main.go diff --git a/go/src/printreversealphabet_test/main.go b/go/tests/printreversealphabet_test/main.go similarity index 100% rename from go/src/printreversealphabet_test/main.go rename to go/tests/printreversealphabet_test/main.go diff --git a/go/src/printreversealphabet_test/printreversealphabet_correct/main.go b/go/tests/printreversealphabet_test/printreversealphabet_correct/main.go similarity index 100% rename from go/src/printreversealphabet_test/printreversealphabet_correct/main.go rename to go/tests/printreversealphabet_test/printreversealphabet_correct/main.go diff --git a/go/src/printstr_test/main.go b/go/tests/printstr_test/main.go similarity index 100% rename from go/src/printstr_test/main.go rename to go/tests/printstr_test/main.go diff --git a/go/src/printwordstables_test/main.go b/go/tests/printwordstables_test/main.go similarity index 100% rename from go/src/printwordstables_test/main.go rename to go/tests/printwordstables_test/main.go diff --git a/go/src/priorprime_test/main.go b/go/tests/priorprime_test/main.go similarity index 100% rename from go/src/priorprime_test/main.go rename to go/tests/priorprime_test/main.go diff --git a/go/src/raid1a_test/main.go b/go/tests/raid1a_test/main.go similarity index 100% rename from go/src/raid1a_test/main.go rename to go/tests/raid1a_test/main.go diff --git a/go/src/raid1b_test/main.go b/go/tests/raid1b_test/main.go similarity index 100% rename from go/src/raid1b_test/main.go rename to go/tests/raid1b_test/main.go diff --git a/go/src/raid1c_test/main.go b/go/tests/raid1c_test/main.go similarity index 100% rename from go/src/raid1c_test/main.go rename to go/tests/raid1c_test/main.go diff --git a/go/src/raid1d_test/main.go b/go/tests/raid1d_test/main.go similarity index 100% rename from go/src/raid1d_test/main.go rename to go/tests/raid1d_test/main.go diff --git a/go/src/raid1e_test/main.go b/go/tests/raid1e_test/main.go similarity index 100% rename from go/src/raid1e_test/main.go rename to go/tests/raid1e_test/main.go diff --git a/go/src/raid2_test/main.go b/go/tests/raid2_test/main.go similarity index 100% rename from go/src/raid2_test/main.go rename to go/tests/raid2_test/main.go diff --git a/go/src/raid2_test/raid2_correct/main.go b/go/tests/raid2_test/raid2_correct/main.go similarity index 100% rename from go/src/raid2_test/raid2_correct/main.go rename to go/tests/raid2_test/raid2_correct/main.go diff --git a/go/src/range_test/main.go b/go/tests/range_test/main.go similarity index 100% rename from go/src/range_test/main.go rename to go/tests/range_test/main.go diff --git a/go/src/range_test/range_correct/main.go b/go/tests/range_test/range_correct/main.go similarity index 100% rename from go/src/range_test/range_correct/main.go rename to go/tests/range_test/range_correct/main.go diff --git a/go/src/rc/README.md b/go/tests/rc/README.md similarity index 100% rename from go/src/rc/README.md rename to go/tests/rc/README.md diff --git a/go/src/rc/rc.go b/go/tests/rc/rc.go similarity index 100% rename from go/src/rc/rc.go rename to go/tests/rc/rc.go diff --git a/go/src/reachablenumber_test/main.go b/go/tests/reachablenumber_test/main.go similarity index 100% rename from go/src/reachablenumber_test/main.go rename to go/tests/reachablenumber_test/main.go diff --git a/go/src/rectangle_test/main.go b/go/tests/rectangle_test/main.go similarity index 100% rename from go/src/rectangle_test/main.go rename to go/tests/rectangle_test/main.go diff --git a/go/src/rectangle_test/rectangle_correct/main.go b/go/tests/rectangle_test/rectangle_correct/main.go similarity index 100% rename from go/src/rectangle_test/rectangle_correct/main.go rename to go/tests/rectangle_test/rectangle_correct/main.go diff --git a/go/src/recursivefactorial_test/main.go b/go/tests/recursivefactorial_test/main.go similarity index 100% rename from go/src/recursivefactorial_test/main.go rename to go/tests/recursivefactorial_test/main.go diff --git a/go/src/recursivepower_test/main.go b/go/tests/recursivepower_test/main.go similarity index 100% rename from go/src/recursivepower_test/main.go rename to go/tests/recursivepower_test/main.go diff --git a/go/src/reduceint_test/main.go b/go/tests/reduceint_test/main.go similarity index 100% rename from go/src/reduceint_test/main.go rename to go/tests/reduceint_test/main.go diff --git a/go/src/repeatalpha_test/main.go b/go/tests/repeatalpha_test/main.go similarity index 100% rename from go/src/repeatalpha_test/main.go rename to go/tests/repeatalpha_test/main.go diff --git a/go/src/repeatalpha_test/repeatalpha_correct/main.go b/go/tests/repeatalpha_test/repeatalpha_correct/main.go similarity index 100% rename from go/src/repeatalpha_test/repeatalpha_correct/main.go rename to go/tests/repeatalpha_test/repeatalpha_correct/main.go diff --git a/go/src/reversebits_test/main.go b/go/tests/reversebits_test/main.go similarity index 100% rename from go/src/reversebits_test/main.go rename to go/tests/reversebits_test/main.go diff --git a/go/src/reverserange_test/main.go b/go/tests/reverserange_test/main.go similarity index 100% rename from go/src/reverserange_test/main.go rename to go/tests/reverserange_test/main.go diff --git a/go/src/reverserange_test/reverserange_correct/main.go b/go/tests/reverserange_test/reverserange_correct/main.go similarity index 100% rename from go/src/reverserange_test/reverserange_correct/main.go rename to go/tests/reverserange_test/reverserange_correct/main.go diff --git a/go/src/reversestrcap_test/main.go b/go/tests/reversestrcap_test/main.go similarity index 100% rename from go/src/reversestrcap_test/main.go rename to go/tests/reversestrcap_test/main.go diff --git a/go/src/reversestrcap_test/reversestrcap_correct/main.go b/go/tests/reversestrcap_test/reversestrcap_correct/main.go similarity index 100% rename from go/src/reversestrcap_test/reversestrcap_correct/main.go rename to go/tests/reversestrcap_test/reversestrcap_correct/main.go diff --git a/go/src/revivethreenums_test/main.go b/go/tests/revivethreenums_test/main.go similarity index 100% rename from go/src/revivethreenums_test/main.go rename to go/tests/revivethreenums_test/main.go diff --git a/go/src/revparams_test/main.go b/go/tests/revparams_test/main.go similarity index 100% rename from go/src/revparams_test/main.go rename to go/tests/revparams_test/main.go diff --git a/go/src/revparams_test/revparams_correct/main.go b/go/tests/revparams_test/revparams_correct/main.go similarity index 100% rename from go/src/revparams_test/revparams_correct/main.go rename to go/tests/revparams_test/revparams_correct/main.go diff --git a/go/src/revwstr_test/main.go b/go/tests/revwstr_test/main.go similarity index 100% rename from go/src/revwstr_test/main.go rename to go/tests/revwstr_test/main.go diff --git a/go/src/revwstr_test/revwstr_correct/main.go b/go/tests/revwstr_test/revwstr_correct/main.go similarity index 100% rename from go/src/revwstr_test/revwstr_correct/main.go rename to go/tests/revwstr_test/revwstr_correct/main.go diff --git a/go/src/robottoorigin_test/main.go b/go/tests/robottoorigin_test/main.go similarity index 100% rename from go/src/robottoorigin_test/main.go rename to go/tests/robottoorigin_test/main.go diff --git a/go/src/robottoorigin_test/robottoorigin_correct/main.go b/go/tests/robottoorigin_test/robottoorigin_correct/main.go similarity index 100% rename from go/src/robottoorigin_test/robottoorigin_correct/main.go rename to go/tests/robottoorigin_test/robottoorigin_correct/main.go diff --git a/go/src/romannumbers_test/main.go b/go/tests/romannumbers_test/main.go similarity index 100% rename from go/src/romannumbers_test/main.go rename to go/tests/romannumbers_test/main.go diff --git a/go/src/romannumbers_test/romannumbers_correct/main.go b/go/tests/romannumbers_test/romannumbers_correct/main.go similarity index 100% rename from go/src/romannumbers_test/romannumbers_correct/main.go rename to go/tests/romannumbers_test/romannumbers_correct/main.go diff --git a/go/src/rostring_test/main.go b/go/tests/rostring_test/main.go similarity index 100% rename from go/src/rostring_test/main.go rename to go/tests/rostring_test/main.go diff --git a/go/src/rostring_test/rostring_correct/main.go b/go/tests/rostring_test/rostring_correct/main.go similarity index 100% rename from go/src/rostring_test/rostring_correct/main.go rename to go/tests/rostring_test/rostring_correct/main.go diff --git a/go/src/rot13_test/main.go b/go/tests/rot13_test/main.go similarity index 100% rename from go/src/rot13_test/main.go rename to go/tests/rot13_test/main.go diff --git a/go/src/rot13_test/rot13_correct/main.go b/go/tests/rot13_test/rot13_correct/main.go similarity index 100% rename from go/src/rot13_test/rot13_correct/main.go rename to go/tests/rot13_test/rot13_correct/main.go diff --git a/go/src/rot14_test/main.go b/go/tests/rot14_test/main.go similarity index 100% rename from go/src/rot14_test/main.go rename to go/tests/rot14_test/main.go diff --git a/go/src/rotatevowels_test/main.go b/go/tests/rotatevowels_test/main.go similarity index 100% rename from go/src/rotatevowels_test/main.go rename to go/tests/rotatevowels_test/main.go diff --git a/go/src/rotatevowels_test/rotatevowels_correct/main.go b/go/tests/rotatevowels_test/rotatevowels_correct/main.go similarity index 100% rename from go/src/rotatevowels_test/rotatevowels_correct/main.go rename to go/tests/rotatevowels_test/rotatevowels_correct/main.go diff --git a/go/src/rpncalc_test/main.go b/go/tests/rpncalc_test/main.go similarity index 100% rename from go/src/rpncalc_test/main.go rename to go/tests/rpncalc_test/main.go diff --git a/go/src/rpncalc_test/rpncalc_correct/main.go b/go/tests/rpncalc_test/rpncalc_correct/main.go similarity index 100% rename from go/src/rpncalc_test/rpncalc_correct/main.go rename to go/tests/rpncalc_test/rpncalc_correct/main.go diff --git a/go/src/searchreplace_test/main.go b/go/tests/searchreplace_test/main.go similarity index 100% rename from go/src/searchreplace_test/main.go rename to go/tests/searchreplace_test/main.go diff --git a/go/src/searchreplace_test/searchreplace_correct/main.go b/go/tests/searchreplace_test/searchreplace_correct/main.go similarity index 100% rename from go/src/searchreplace_test/searchreplace_correct/main.go rename to go/tests/searchreplace_test/searchreplace_correct/main.go diff --git a/go/src/slice_test/main.go b/go/tests/slice_test/main.go similarity index 100% rename from go/src/slice_test/main.go rename to go/tests/slice_test/main.go diff --git a/go/src/sortintegertable_test/main.go b/go/tests/sortintegertable_test/main.go similarity index 100% rename from go/src/sortintegertable_test/main.go rename to go/tests/sortintegertable_test/main.go diff --git a/go/src/sortparams_test/main.go b/go/tests/sortparams_test/main.go similarity index 100% rename from go/src/sortparams_test/main.go rename to go/tests/sortparams_test/main.go diff --git a/go/src/sortparams_test/sortparams_correct/main.go b/go/tests/sortparams_test/sortparams_correct/main.go similarity index 100% rename from go/src/sortparams_test/sortparams_correct/main.go rename to go/tests/sortparams_test/sortparams_correct/main.go diff --git a/go/src/sortwordarr_test/main.go b/go/tests/sortwordarr_test/main.go similarity index 100% rename from go/src/sortwordarr_test/main.go rename to go/tests/sortwordarr_test/main.go diff --git a/go/src/split_test/main.go b/go/tests/split_test/main.go similarity index 100% rename from go/src/split_test/main.go rename to go/tests/split_test/main.go diff --git a/go/src/splitwhitespaces_test/main.go b/go/tests/splitwhitespaces_test/main.go similarity index 100% rename from go/src/splitwhitespaces_test/main.go rename to go/tests/splitwhitespaces_test/main.go diff --git a/go/src/sqrt_test/main.go b/go/tests/sqrt_test/main.go similarity index 100% rename from go/src/sqrt_test/main.go rename to go/tests/sqrt_test/main.go diff --git a/go/src/strlen_test/main.go b/go/tests/strlen_test/main.go similarity index 100% rename from go/src/strlen_test/main.go rename to go/tests/strlen_test/main.go diff --git a/go/src/strrev_test/main.go b/go/tests/strrev_test/main.go similarity index 100% rename from go/src/strrev_test/main.go rename to go/tests/strrev_test/main.go diff --git a/go/src/swap_test/main.go b/go/tests/swap_test/main.go similarity index 100% rename from go/src/swap_test/main.go rename to go/tests/swap_test/main.go diff --git a/go/src/swapbits_test/main.go b/go/tests/swapbits_test/main.go similarity index 100% rename from go/src/swapbits_test/main.go rename to go/tests/swapbits_test/main.go diff --git a/go/src/sweetproblem_test/main.go b/go/tests/sweetproblem_test/main.go similarity index 100% rename from go/src/sweetproblem_test/main.go rename to go/tests/sweetproblem_test/main.go diff --git a/go/src/switchcase_test/main.go b/go/tests/switchcase_test/main.go similarity index 100% rename from go/src/switchcase_test/main.go rename to go/tests/switchcase_test/main.go diff --git a/go/src/switchcase_test/switchcase_correct/main.go b/go/tests/switchcase_test/switchcase_correct/main.go similarity index 100% rename from go/src/switchcase_test/switchcase_correct/main.go rename to go/tests/switchcase_test/switchcase_correct/main.go diff --git a/go/src/tabmult_test/main.go b/go/tests/tabmult_test/main.go similarity index 100% rename from go/src/tabmult_test/main.go rename to go/tests/tabmult_test/main.go diff --git a/go/src/tabmult_test/tabmult_correct/main.go b/go/tests/tabmult_test/tabmult_correct/main.go similarity index 100% rename from go/src/tabmult_test/tabmult_correct/main.go rename to go/tests/tabmult_test/tabmult_correct/main.go diff --git a/go/src/tetrisoptimizer_test/main.go b/go/tests/tetrisoptimizer_test/main.go similarity index 100% rename from go/src/tetrisoptimizer_test/main.go rename to go/tests/tetrisoptimizer_test/main.go diff --git a/go/src/tetrisoptimizer_test/tetrisoptimizer_correct/board.go b/go/tests/tetrisoptimizer_test/tetrisoptimizer_correct/board.go similarity index 100% rename from go/src/tetrisoptimizer_test/tetrisoptimizer_correct/board.go rename to go/tests/tetrisoptimizer_test/tetrisoptimizer_correct/board.go diff --git a/go/src/tetrisoptimizer_test/tetrisoptimizer_correct/main.go b/go/tests/tetrisoptimizer_test/tetrisoptimizer_correct/main.go similarity index 100% rename from go/src/tetrisoptimizer_test/tetrisoptimizer_correct/main.go rename to go/tests/tetrisoptimizer_test/tetrisoptimizer_correct/main.go diff --git a/go/src/tetrisoptimizer_test/tetrisoptimizer_correct/samples/bad00.txt b/go/tests/tetrisoptimizer_test/tetrisoptimizer_correct/samples/bad00.txt similarity index 100% rename from go/src/tetrisoptimizer_test/tetrisoptimizer_correct/samples/bad00.txt rename to go/tests/tetrisoptimizer_test/tetrisoptimizer_correct/samples/bad00.txt diff --git a/go/src/tetrisoptimizer_test/tetrisoptimizer_correct/samples/bad01.txt b/go/tests/tetrisoptimizer_test/tetrisoptimizer_correct/samples/bad01.txt similarity index 100% rename from go/src/tetrisoptimizer_test/tetrisoptimizer_correct/samples/bad01.txt rename to go/tests/tetrisoptimizer_test/tetrisoptimizer_correct/samples/bad01.txt diff --git a/go/src/tetrisoptimizer_test/tetrisoptimizer_correct/samples/bad02.txt b/go/tests/tetrisoptimizer_test/tetrisoptimizer_correct/samples/bad02.txt similarity index 100% rename from go/src/tetrisoptimizer_test/tetrisoptimizer_correct/samples/bad02.txt rename to go/tests/tetrisoptimizer_test/tetrisoptimizer_correct/samples/bad02.txt diff --git a/go/src/tetrisoptimizer_test/tetrisoptimizer_correct/samples/bad03.txt b/go/tests/tetrisoptimizer_test/tetrisoptimizer_correct/samples/bad03.txt similarity index 100% rename from go/src/tetrisoptimizer_test/tetrisoptimizer_correct/samples/bad03.txt rename to go/tests/tetrisoptimizer_test/tetrisoptimizer_correct/samples/bad03.txt diff --git a/go/src/tetrisoptimizer_test/tetrisoptimizer_correct/samples/bad04.txt b/go/tests/tetrisoptimizer_test/tetrisoptimizer_correct/samples/bad04.txt similarity index 100% rename from go/src/tetrisoptimizer_test/tetrisoptimizer_correct/samples/bad04.txt rename to go/tests/tetrisoptimizer_test/tetrisoptimizer_correct/samples/bad04.txt diff --git a/go/src/tetrisoptimizer_test/tetrisoptimizer_correct/samples/badFormat.txt b/go/tests/tetrisoptimizer_test/tetrisoptimizer_correct/samples/badFormat.txt similarity index 100% rename from go/src/tetrisoptimizer_test/tetrisoptimizer_correct/samples/badFormat.txt rename to go/tests/tetrisoptimizer_test/tetrisoptimizer_correct/samples/badFormat.txt diff --git a/go/src/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_01-1-2-0.00.txt b/go/tests/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_01-1-2-0.00.txt similarity index 100% rename from go/src/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_01-1-2-0.00.txt rename to go/tests/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_01-1-2-0.00.txt diff --git a/go/src/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_02-1-4-0.00.txt b/go/tests/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_02-1-4-0.00.txt similarity index 100% rename from go/src/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_02-1-4-0.00.txt rename to go/tests/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_02-1-4-0.00.txt diff --git a/go/src/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_03-2-4-0.00.txt b/go/tests/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_03-2-4-0.00.txt similarity index 100% rename from go/src/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_03-2-4-0.00.txt rename to go/tests/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_03-2-4-0.00.txt diff --git a/go/src/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_04-6-6-0.00.txt b/go/tests/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_04-6-6-0.00.txt similarity index 100% rename from go/src/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_04-6-6-0.00.txt rename to go/tests/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_04-6-6-0.00.txt diff --git a/go/src/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_05-21-10-0.00.txt b/go/tests/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_05-21-10-0.00.txt similarity index 100% rename from go/src/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_05-21-10-0.00.txt rename to go/tests/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_05-21-10-0.00.txt diff --git a/go/src/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_06-22-10-0.00.txt b/go/tests/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_06-22-10-0.00.txt similarity index 100% rename from go/src/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_06-22-10-0.00.txt rename to go/tests/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_06-22-10-0.00.txt diff --git a/go/src/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_07-26-11-0.00.txt b/go/tests/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_07-26-11-0.00.txt similarity index 100% rename from go/src/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_07-26-11-0.00.txt rename to go/tests/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_07-26-11-0.00.txt diff --git a/go/src/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_08-24-10-0.03.txt b/go/tests/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_08-24-10-0.03.txt similarity index 100% rename from go/src/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_08-24-10-0.03.txt rename to go/tests/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_08-24-10-0.03.txt diff --git a/go/src/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_09-11-7-0.07.txt b/go/tests/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_09-11-7-0.07.txt similarity index 100% rename from go/src/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_09-11-7-0.07.txt rename to go/tests/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_09-11-7-0.07.txt diff --git a/go/src/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_10-12-7-0.52.txt b/go/tests/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_10-12-7-0.52.txt similarity index 100% rename from go/src/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_10-12-7-0.52.txt rename to go/tests/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_10-12-7-0.52.txt diff --git a/go/src/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_11-12-8-0.83.txt b/go/tests/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_11-12-8-0.83.txt similarity index 100% rename from go/src/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_11-12-8-0.83.txt rename to go/tests/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_11-12-8-0.83.txt diff --git a/go/src/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_12-19-9-3.40.txt b/go/tests/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_12-19-9-3.40.txt similarity index 100% rename from go/src/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_12-19-9-3.40.txt rename to go/tests/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_12-19-9-3.40.txt diff --git a/go/src/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_13-23-10-4.72.txt b/go/tests/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_13-23-10-4.72.txt similarity index 100% rename from go/src/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_13-23-10-4.72.txt rename to go/tests/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_13-23-10-4.72.txt diff --git a/go/src/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_14-15-8-7.34.txt b/go/tests/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_14-15-8-7.34.txt similarity index 100% rename from go/src/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_14-15-8-7.34.txt rename to go/tests/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_14-15-8-7.34.txt diff --git a/go/src/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_15-26-11-72.22.txt b/go/tests/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_15-26-11-72.22.txt similarity index 100% rename from go/src/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_15-26-11-72.22.txt rename to go/tests/tetrisoptimizer_test/tetrisoptimizer_correct/samples/good_15-26-11-72.22.txt diff --git a/go/src/tetrisoptimizer_test/tetrisoptimizer_correct/solver.go b/go/tests/tetrisoptimizer_test/tetrisoptimizer_correct/solver.go similarity index 100% rename from go/src/tetrisoptimizer_test/tetrisoptimizer_correct/solver.go rename to go/tests/tetrisoptimizer_test/tetrisoptimizer_correct/solver.go diff --git a/go/src/tetrisoptimizer_test/tetrisoptimizer_correct/tetrimino.go b/go/tests/tetrisoptimizer_test/tetrisoptimizer_correct/tetrimino.go similarity index 100% rename from go/src/tetrisoptimizer_test/tetrisoptimizer_correct/tetrimino.go rename to go/tests/tetrisoptimizer_test/tetrisoptimizer_correct/tetrimino.go diff --git a/go/src/tetrisoptimizer_test/tetrisoptimizer_correct/validation.go b/go/tests/tetrisoptimizer_test/tetrisoptimizer_correct/validation.go similarity index 100% rename from go/src/tetrisoptimizer_test/tetrisoptimizer_correct/validation.go rename to go/tests/tetrisoptimizer_test/tetrisoptimizer_correct/validation.go diff --git a/go/src/tolower_test/main.go b/go/tests/tolower_test/main.go similarity index 100% rename from go/src/tolower_test/main.go rename to go/tests/tolower_test/main.go diff --git a/go/src/toupper_test/main.go b/go/tests/toupper_test/main.go similarity index 100% rename from go/src/toupper_test/main.go rename to go/tests/toupper_test/main.go diff --git a/go/src/trimatoi_test/main.go b/go/tests/trimatoi_test/main.go similarity index 100% rename from go/src/trimatoi_test/main.go rename to go/tests/trimatoi_test/main.go diff --git a/go/src/twosum_test/main.go b/go/tests/twosum_test/main.go similarity index 100% rename from go/src/twosum_test/main.go rename to go/tests/twosum_test/main.go diff --git a/go/src/ultimatedivmod_test/main.go b/go/tests/ultimatedivmod_test/main.go similarity index 100% rename from go/src/ultimatedivmod_test/main.go rename to go/tests/ultimatedivmod_test/main.go diff --git a/go/src/ultimatepointone_test/main.go b/go/tests/ultimatepointone_test/main.go similarity index 100% rename from go/src/ultimatepointone_test/main.go rename to go/tests/ultimatepointone_test/main.go diff --git a/go/src/union_test/main.go b/go/tests/union_test/main.go similarity index 100% rename from go/src/union_test/main.go rename to go/tests/union_test/main.go diff --git a/go/src/union_test/union_correct/main.go b/go/tests/union_test/union_correct/main.go similarity index 100% rename from go/src/union_test/union_correct/main.go rename to go/tests/union_test/union_correct/main.go diff --git a/go/src/uniqueoccurences_test/main.go b/go/tests/uniqueoccurences_test/main.go similarity index 100% rename from go/src/uniqueoccurences_test/main.go rename to go/tests/uniqueoccurences_test/main.go diff --git a/go/src/uniqueoccurences_test/uniqueoccurences_correct/main.go b/go/tests/uniqueoccurences_test/uniqueoccurences_correct/main.go similarity index 100% rename from go/src/uniqueoccurences_test/uniqueoccurences_correct/main.go rename to go/tests/uniqueoccurences_test/uniqueoccurences_correct/main.go diff --git a/go/src/unmatch_test/main.go b/go/tests/unmatch_test/main.go similarity index 100% rename from go/src/unmatch_test/main.go rename to go/tests/unmatch_test/main.go diff --git a/go/src/volumechanger_test/main.go b/go/tests/volumechanger_test/main.go similarity index 100% rename from go/src/volumechanger_test/main.go rename to go/tests/volumechanger_test/main.go diff --git a/go/src/wdmatch_test/main.go b/go/tests/wdmatch_test/main.go similarity index 100% rename from go/src/wdmatch_test/main.go rename to go/tests/wdmatch_test/main.go diff --git a/go/src/wdmatch_test/wdmatch_correct/main.go b/go/tests/wdmatch_test/wdmatch_correct/main.go similarity index 100% rename from go/src/wdmatch_test/wdmatch_correct/main.go rename to go/tests/wdmatch_test/wdmatch_correct/main.go