{"id":18123158,"url":"https://github.com/gemartin99/push-swap-tester","last_synced_at":"2025-04-06T10:13:28.154Z","repository":{"id":60921203,"uuid":"546373622","full_name":"gemartin99/Push-Swap-Tester","owner":"gemartin99","description":"Push_swap tester and bonus tester + GUI pro checker","archived":false,"fork":false,"pushed_at":"2024-12-09T02:37:46.000Z","size":235,"stargazers_count":99,"open_issues_count":0,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-30T09:07:31.612Z","etag":null,"topics":["42","42born2code","42cursus","42projects","42school","42tester","educational","pushswap","pushswap-42","pushswap-tester","tester"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gemartin99.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-06T01:29:20.000Z","updated_at":"2025-03-24T02:39:15.000Z","dependencies_parsed_at":"2024-08-20T17:39:28.608Z","dependency_job_id":"c9d8bdcc-c359-452f-b43d-fc2f940b72a7","html_url":"https://github.com/gemartin99/Push-Swap-Tester","commit_stats":{"total_commits":68,"total_committers":3,"mean_commits":"22.666666666666668","dds":0.08823529411764708,"last_synced_commit":"1b3ddd08a080709296fad576e409267f575f0d11"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gemartin99%2FPush-Swap-Tester","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gemartin99%2FPush-Swap-Tester/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gemartin99%2FPush-Swap-Tester/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gemartin99%2FPush-Swap-Tester/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gemartin99","download_url":"https://codeload.github.com/gemartin99/Push-Swap-Tester/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247464222,"owners_count":20942970,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["42","42born2code","42cursus","42projects","42school","42tester","educational","pushswap","pushswap-42","pushswap-tester","tester"],"created_at":"2024-11-01T07:08:20.249Z","updated_at":"2025-04-06T10:13:28.136Z","avatar_url":"https://github.com/gemartin99.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🔢 Push_swap Tester\n\n## This tester contains:\n\n### 🔹 Error handling.\n\n### 🔹 All the cases between 2 and 5 numbers. Check sorting and less movements than the mandatory.\n\n### 🔹 Infinit test of 100 numbers and 500, and prints the moves that your algorithm does.\n\n### 🔹 A test for each case between 1 and 500.\n\n### 🔹 Test if the arguments is already sorted.\n\n### 🔹 Show this min, max and average of all tests.\n\n### 🔹 Check memory leaks.\n\n### 🔹 Check for the bonus.\n\n## How to use\n\nThe push_swap_test.sh or push_swap_test_linux.sh file and the checker_mac or checker_linux should be in the same directory where is the push_swap program. Once the terminal is open and we are in the project directory we executed this command:\n\nIf you don't have MacOS, instead of running push_swap_test.sh, execute push_swap_test_linux.sh\n\n```bash push_swap_test.sh``` \n\nWe also can add two arguments that will be the times that we executed the 100 and 500 tests. If you don't put arguments, it will execute 200 for each test by default.\n\n```bash push_swap_test.sh 250 250```. \n\n\u003cimg width=\"540\" alt=\"Screen Shot 2022-10-09 at 11 06 42 PM\" src=\"https://user-images.githubusercontent.com/66915274/194779534-cf66c958-46a4-4c6f-bf2f-587af4ad8f8e.png\"\u003e\n\nIf you would like to execute the bonus. If you don't put arguments, it will execute 200 for each test by default. \n\n```bash push_swap_test.sh -b```.\n\nAnd if you want to define the quantity for 100 and 500 tests:\n\n```bash push_swap_test.sh -b 100 100```\n\n\u003cimg width=\"448\" alt=\"Screen Shot 2022-10-10 at 3 12 48 AM\" src=\"https://user-images.githubusercontent.com/66915274/194788176-19454b9d-61b7-4921-b440-1073c3d22c50.png\"\u003e\n\n### ❗️ You can check the sended arguments that makes your program fail with the traces.txt file ❗️\n\n# 👀 Pushswap visualizer \n\nUseful tool to visualise your algorithm graphically. Program created by ![ailopez-o](https://github.com/ailopez-o).\n\n[VISUALIZER REPO](https://github.com/ailopez-o/42Barcelona-PushSwap-ProChecker)\n\nIf you want to run it, type the following command. The number represents the number of arguments push_swap will receive.\n\n```bash push_swap_test.sh -v 500```\n\n\u003cimg width=\"597\" alt=\"Screen Shot 2023-01-13 at 5 23 58 PM\" src=\"https://user-images.githubusercontent.com/66915274/212369245-54455057-43d9-42c5-a916-a825ff505813.png\"\u003e\n\nIf you want to run the viewer with specific arguments use the following command followed by the desired arguments in double quotes.\n\n```bash push_swap_test.sh -v2 \"1 4 2 3 5\"```\n\n## Controls 🕹\n\n|KEY|ACTION|\n|---|---|\n|`I`| Step by Step instructions|\n|`S`| Run all the instructions|\n|`P`| Pause |\n|`1`| exec 'sa'|\n|`2`| exec 'sb'|\n|`3`| exec 'ra'|\n|`4`| exec 'rb'|\n|`5`| exec 'rra'|\n|`6`| exec 'rrb'|\n|`7`| exec 'pa'|\n|`8`| exec 'pb'|\n|`ESC ❌`|Close|\n\nExtra acknowledgements for [@nunom4chado](https://github.com/nunom4chado) releasing the first version of the tester for Linux.\n\n# Author ✍🏼\n\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/gemartin99/\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/66915274?v=4\" width=\"100px;\" alt=\"100px\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003egemartin\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://profile.intra.42.fr/users/gemartin\" title=\"Intra 42\"\u003e\u003cimg src=\"https://img.shields.io/badge/Barcelona-FFFFFF?style=plastic\u0026logo=42\u0026logoColor=000000\" alt=\"Intra 42\"/\u003e\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n# I hope you liked and helped! 😁\n\n# Maybe it would interest you!\n\n### - To check my progression in 42 common core ↙️\n\n[HERE](https://github.com/gemartin99/42cursus)\n\n### - My 42 intra profile ↙️\n[HERE](https://profile.intra.42.fr/users/gemartin)\n\n# Contact 📥\n\n### Contact with me if you fine some errors! That will help future students! 😁\n\n◦ Email: gemartin@student.42barcelona.com\n\n◦ Linkedin: https://www.linkedin.com/in/gemartin99/\n\n# Ailopez Contact 📬\n\n### Contact him if you find any errors in the display! It may help future students! 😁\n\n◦ Email: ailopez-@student.42barcelona.com\n\n◦ Linkedin: https://www.linkedin.com/in/aitor-lopez-de-audicana-70125b38/\n\n◦ Github: https://github.com/ailopez-o\n\n◦ His 42 intra profile: https://profile.intra.42.fr/users/ailopez-\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgemartin99%2Fpush-swap-tester","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgemartin99%2Fpush-swap-tester","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgemartin99%2Fpush-swap-tester/lists"}