{"id":18671765,"url":"https://github.com/mli42/containers_test","last_synced_at":"2025-04-12T01:30:49.770Z","repository":{"id":37480583,"uuid":"329641913","full_name":"mli42/containers_test","owner":"mli42","description":"My tester for the 42-project ft_containers","archived":false,"fork":false,"pushed_at":"2022-10-04T13:18:20.000Z","size":3134,"stargazers_count":133,"open_issues_count":0,"forks_count":15,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-25T21:13:30.272Z","etag":null,"topics":["42","42cursus","42school","containers","cpp","cpp-containers","ft-containers","ft-containers-42","ft-containers-test","tester"],"latest_commit_sha":null,"homepage":"https://github.com/mli42/at42ft_containers","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mli42.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-01-14T14:37:23.000Z","updated_at":"2024-08-29T15:56:07.000Z","dependencies_parsed_at":"2023-01-19T05:16:15.370Z","dependency_job_id":null,"html_url":"https://github.com/mli42/containers_test","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mli42%2Fcontainers_test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mli42%2Fcontainers_test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mli42%2Fcontainers_test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mli42%2Fcontainers_test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mli42","download_url":"https://codeload.github.com/mli42/containers_test/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248504200,"owners_count":21115133,"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","42cursus","42school","containers","cpp","cpp-containers","ft-containers","ft-containers-42","ft-containers-test","tester"],"created_at":"2024-11-07T09:07:29.772Z","updated_at":"2025-04-12T01:30:48.813Z","avatar_url":"https://github.com/mli42.png","language":"C++","readme":"# containers_test\n\n\u003cp align=\"center\"\u003e\n\t\u003cimg src=\"./assets/demo.gif\" \u003e\n\u003c/p\u003e\n\n## Warning\n\nThis tester was made with the first version of ft_containers' subject \\\nThus it does not test iterator traits (yet?) \\\nThere aren't benchmark tests either.\n\nAlso, passing this tester does not mean the project was done correctly, please go further\n\n## Usage\n\nGo in your ft_containers' directory:\n\n```bash\ngit clone https://github.com/mli42/containers_test.git \u0026\u0026 cd ./containers_test/\n```\n\nExpected tree:\n\n```\n. [ft_container]\n├── \u003ccontainer\u003e.hpp\n├── [...]\n└── containers_test\n    └── [...]\n```\n\nIf your project does not fit the expected tree (e.g. has sub-directories and/or file names are capitalized or what) \\\nPlease edit the third line of each `./\u003ccontainer\u003e/common.hpp` (for filenames) \\\nOr the variable `include_path` in `fct.sh` (for special path)\n\nThen what? \\\nThere are a three executables! How do we use them?\n\n```bash\n./do.sh [container_to_test] [...]\n./cmp_one \u003cpath/to/test_file\u003e\n./one \u003cpath/to/test_file\u003e [namespace=ft]\n```\n\nExamples:\n```bash\n./do.sh # tests every containers\n./do.sh vector list # tests only vector \u0026\u0026 list\n\n./cmp_one srcs/list/size.cpp # prints the result comparison (ft/std) on this test file only\n\n./one srcs/list/rite.cpp # prints the output of this test file using ft namespace\n./one srcs/list/rite.cpp std # prints the output of this test file using the std\n```\n\nHow to read the output ?\n```\nThe [ ✅ / ❌ ] emojis shows if they behave the same, i.e if the STL and your implementation:\n- compile the same way,\n- return the same number,\n- print the same output.\n\nIf a diff occurs, a deepthought is created and logs are kept.\n\nThe [Y/N] shows if the STL compile (Y) or not (N), there are some test where you should not compile.\n```\n\n## Tested features\n- [x] vector\n- [x] list\n- [x] map\n- [x] stack\n- [x] queue\n- [x] deque\n- [x] multimap\n- [x] set\n- [x] multiset\n\n## Contributors\n\nPRs are welcomed! \\\nThank you!\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmli42%2Fcontainers_test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmli42%2Fcontainers_test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmli42%2Fcontainers_test/lists"}