Skip to content

In this project we had to recode some containers (Stack, Vector, Map) from the STL library - c++98

Notifications You must be signed in to change notification settings

mtellal/ft_containers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to use

open tester.sh

  • modify include="../include/" # path for containers (default in include/ from repo) var
  • or modify ( -I <your_header_folder> ) flags="-Wall -Wextra -Werror -std=c++98"

Commands

  • all containers : ./tester.sh executes tests for all containers (vector-map)
  • specific container : ./tester.sh <container> - example: ./tester.sh vector
  • one file : ./tester.sh <file> - example: ./tester.sh src/vector/assign.cpp

About the tester

The tester tests: ( THE MOST PART OF TESTS CAME FROM https://github.com/mli42/containers_test )

  • compilation with flags="-Wall -Wextra -Werror -std=c++98" flags. Compilations errors are in output/err.
  • time execution from your container and std::
  • diff your container output and std:: output. Diff can be found in diff/ (and output in output/(ft || std)<file_test>.output)
  • leaks check with allocs > frees and errors (ERROR SUMMARY). Errors are in output/ folder.

tester

Random docs

About

In this project we had to recode some containers (Stack, Vector, Map) from the STL library - c++98

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published