kblib 0.2.3
General utilities library for modern C++
algorithm.cpp File Reference
#include "kblib/algorithm.h"
#include "catch.hpp"
#include <iostream>
#include <set>
#include <string>
#include <vector>
Include dependency graph for algorithm.cpp:

Go to the source code of this file.

Functions

 TEST_CASE ("erase")
 
 TEST_CASE ("find family")
 
 TEST_CASE ("find_in")
 
 TEST_CASE ("search_replace")
 
 TEST_CASE ("get_max family")
 
 TEST_CASE ("general algorithms")
 
 TEST_CASE ("assorted algorithms")
 
 TEST_CASE ("zip")
 

Function Documentation

◆ TEST_CASE() [1/8]

TEST_CASE ( "assorted algorithms"  )

Definition at line 227 of file algorithm.cpp.

◆ TEST_CASE() [2/8]

TEST_CASE ( "erase"  )

Definition at line 9 of file algorithm.cpp.

◆ TEST_CASE() [3/8]

TEST_CASE ( "find family"  )

Definition at line 26 of file algorithm.cpp.

◆ TEST_CASE() [4/8]

TEST_CASE ( "find_in"  )

Definition at line 67 of file algorithm.cpp.

◆ TEST_CASE() [5/8]

TEST_CASE ( "general algorithms"  )

TODO(killerbee13): tests for other algorithms

Definition at line 223 of file algorithm.cpp.

◆ TEST_CASE() [6/8]

TEST_CASE ( "get_max family"  )

TODO(killerbee13): tests for get_max_*

Definition at line 191 of file algorithm.cpp.

◆ TEST_CASE() [7/8]

TEST_CASE ( "search_replace"  )

Definition at line 95 of file algorithm.cpp.

◆ TEST_CASE() [8/8]

TEST_CASE ( "zip"  )

Definition at line 272 of file algorithm.cpp.