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

Overview

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

You might also like...
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

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.

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

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

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

LRU implementation exercises
LRU implementation exercises

LRU implementation exercises

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

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

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

Owner
Mohamed AMOUSSAOUI
I'm currently a student at 1337_Bg, C++ dev.
Mohamed AMOUSSAOUI
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,

Walt Karas 10 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

null 102 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

Jinja2C++ project 385 Dec 17, 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

Povilas Kanapickas 358 Dec 17, 2022
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

Woon2 12 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

MH Miyazi 3 Aug 28, 2021
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

Google DSC, GVP Chapter 10 Apr 22, 2022
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

Mr. Ånand 67 Dec 8, 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

Shafik Yaghmour 190 Dec 7, 2022
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

Cerebras 16 Aug 22, 2022