ChampSim
044-extract.cc File Reference
#include <catch.hpp>
#include "util/algorithm.h"
#include <vector>
Include dependency graph for 044-extract.cc:

Functions

 TEST_CASE ("extract_if() does nothing on an empty list")
 
 TEST_CASE ("extract_if() can move an none of a list")
 
 TEST_CASE ("extract_if() can move an entire list")
 
 TEST_CASE ("extract_if() can split a mixed list")
 

Function Documentation

◆ TEST_CASE() [1/4]

TEST_CASE ( "extract_if() can move an entire list"  )

◆ TEST_CASE() [2/4]

TEST_CASE ( "extract_if() can move an none of a list"  )

◆ TEST_CASE() [3/4]

TEST_CASE ( "extract_if() can split a mixed list"  )

◆ TEST_CASE() [4/4]

TEST_CASE ( "extract_if() does nothing on an empty list"  )