- iterator_traits
- reverse_iterator
- enable_if
- lexicographical_compare
- equal
- pair
- vector
- map
- stack
Containers can be tested by performing a simple make
command at the root of the repository.
That command will generate two binaries named std
and ft
. In these two binaries are compiled the tests that can be found
under the ./test
directory, the exact same tests being compiled with the original implementation from the STL and with
the home-made ones.
My castorno testing framework is used to produce an elegant output and record execution times.
Relevant execution time differences between the two binaries can be reported by simply executing the compare_execution_time.sh
script, which
will highlight these differences.
N/A
is displayed if for a given test, the execution time difference is below 1 ms. ./compare_execution_time.sh | grep -iv 'n/a'
can be performed if these
lines are not wanted.
I essentially used mli's tester that covers a lot more than my own tests (definitely something I should fix).