This is a simple UNITEST to test the implementation of the the various container types of the C++ standard template library

ft_container UNITest.

This is a simple UNITEST to test the implementation of the the various container types of the C++ standard template library that we implement as school project. these containers are coded in C++98, so any new feature of the containers IS NOT implemented, but every old feature is present.

Test environment :

The tests we built and run directly on macOS Mojave(10.14), Big sur(11.6) and also on Ubuntu gcc5/6/7.

Test Content :

How to use :

$ git clone https://github.com/mamoussa405/ft_containers.git
$ cd ft_containers/tests
Add the path of the container you want to test to the appropriate tester (vector/map ...)

alt text

make vetor/map ...

NOTES :

  • The test is taking a little bit of time to compare outputs and timing (time complexity of each method).
  • The test tests all the methods, iterators, reverse iterator so please just bare with it till it is done.
  • If you get a TLE please run the test again, if you still get TLE more than 3 times in a row then it's time to optimize.

Observations :

forthebadge forthebadge

This is very intensive test for the c++ containers [vector, stack, map, set].
MADE BY:
moboustt
mamoussa

Owner
Mohamed AMOUSSAOUI
I'm currently a student at 1337_Bg, C++ dev.
Mohamed AMOUSSAOUI
Similar Resources

Well I'd like to test myself how good I am before making something massive :"

Pratice-Cpp Well I'd like to test myself how good I am before making something massive :" Before I upload something special, that I'll release in my

May 6, 2022

Ideas, thoughts, and notes on a typeclass/interface based polymorphism pattern for standard C

Polymorphism through Typeclasses / Interface / Traits Ideas, thoughts, and notes on an action based polymorphism pattern for good ol' C. Originally us

Nov 24, 2022

This is a C/C++ simulation project which illustrates the framing of standard ethernet protocol

This is a C/C++ simulation project which illustrates the framing of standard ethernet protocol. It creates server and client processes on the same machine and through IPC, it sends the data from the client to the server in a simplex communication.

Oct 14, 2022

Love template metaprogramming

Metal Metal is a single-header C++11 library designed to make you love template metaprogramming. Overview #include metal.hpp // First we need some

Dec 3, 2022

A custom,multifunctional class template for arrays which supports lambda functions for removing and selecting

C++ Array Template Class This is an implementation of a template class for storing data in any type.It includes user-friendly interface with lots of h

Dec 8, 2021

LRU implementation exercises

LRU implementation exercises

LRU implementation exercises

Jul 3, 2022

Implementation using C in programming lab class when being Teacher Assistant.

C Programming Lab Implementation using C in programming lab class when being Teacher Assistant. The problems are here Problems and Description Week2 w

Aug 16, 2022

Implementation of kcp protocol based on c++11

Implementation of kcp protocol based on c++11

๐ŸŒŸ kcp-cpp A C++11 header-only kcp library,It has been heavily optimized to support native heartbeat packets and multithreading There are a lot of ins

Oct 25, 2022

Imu_initialization - Implementation of "An Analytical Solution to the IMU Initialization Problem for Visual-Inertial Systems"

An Analytical Solution to the IMU Initialization Problem for Visual-Inertial Systems Implementation of "An Analytical Solution to the IMU Initializati

Nov 23, 2022
C++ intrusive container templates. Abstract node links, no use of new/delete.

C-plus-plus-intrusive-container-templates C++ intrusive container templates. Abstract node links, no use of new/delete (AVL tree, singly-linked list,

Nov 7, 2022
Fast C++ container combining the best features of std::vector and std::deque

veque The double-ended vector A very fast C++17 container combining the best features of std::vector and std::deque "In Most Cases, Prefer Using deque

Nov 26, 2022
Jinja2 C++ (and for C++) almost full-conformance template engine implementation

Jinja2ะก++ C++ implementation of the Jinja2 Python template engine. This library brings support of powerful Jinja2 template features into the C++ world

Nov 9, 2022
C++ standard library reference

Information This is source package for Cppreference C++ standard library reference documentation available at http://en.cppreference.com. If there is

Nov 23, 2022
C++ Type Traits for Smart Pointers that are not included in the standard library, containing inheritance detection and member detection.
C++ Type Traits for Smart Pointers that are not included in the standard library, containing inheritance detection and member detection.

Smart Pointer Type Trait ?? A simple, header-only cpp library implementing smart pointer type traits. You can easily compile your code diffrently depe

Sep 14, 2022
About Write a program to create a circular doubly linked list and perform insertions and deletions of various cases

Write a program to create a circular doubly linked list and perform insertions and deletions of various cases Circular Doubly Linked List Circular Dou

Aug 28, 2021
A place where you can learn and practise various Problems and algorithms
A place where you can learn and practise various Problems and algorithms

Problem-Solving Problem solving is an art of solving some real time challenges. And this is a place to get started, you can find many problems to solv

Apr 22, 2022
Programming-Basics - This Repository Contains source codes of various programming languages. Please Contribute to make this Useful.
Programming-Basics - This Repository Contains source codes of various programming languages. Please Contribute to make this Useful.

Programming-Basics About โ“ Want To Start your Open-Source Journey Without Facing Difficulties?,If Yes, Then You Are at The Right Place! ?? Don't Know

Oct 22, 2022
Determine programatically C from C++ as well as various versions

determine_c_or_cpp Determine programatically C from C++ as well as various versions In C the comma operator forces an array-to-pointer conversion whil

Nov 18, 2022
This the contains the test examples and validator tool for the ISPD2021 Wafer-Scale Physics Modeling contest.
This the contains the test examples and validator tool for the  ISPD2021 Wafer-Scale Physics Modeling contest.

This readme documents information regarding the validator/scorer which will be used for the 2021 ISPD Contest problem: Wafer-Scale Physics Modelling

Aug 22, 2022