openMSX
Classes | Functions
view_test.cc File Reference
#include "catch.hpp"
#include "view.hh"
#include "hash_map.hh"
#include "ranges.hh"
#include "stl.hh"
#include "xrange.hh"
#include <algorithm>
#include <list>
#include <map>
#include <string>
#include <tuple>
#include <vector>
Include dependency graph for view_test.cc:

Go to the source code of this file.

Classes

struct  F
 

Functions

 TEST_CASE ("view::drop random-access-range")
 
 TEST_CASE ("view::drop non-random-access-range")
 
 TEST_CASE ("view::drop capture")
 
 TEST_CASE ("view::drop_back random-access-range")
 
 TEST_CASE ("view::drop_back non-random-access-range")
 
 TEST_CASE ("view::reverse")
 
 TEST_CASE ("view::transform")
 
 TEST_CASE ("view::keys, view::values")
 
 TEST_CASE ("view::filter")
 

Function Documentation

◆ TEST_CASE() [1/9]

TEST_CASE ( "view::drop capture"  )

Definition at line 66 of file view_test.cc.

◆ TEST_CASE() [2/9]

TEST_CASE ( "view::drop non-random-access-range"  )

Definition at line 46 of file view_test.cc.

References CHECK(), view::drop(), and to_vector().

◆ TEST_CASE() [3/9]

TEST_CASE ( "view::drop random-access-range"  )

Definition at line 23 of file view_test.cc.

References CHECK(), view::drop(), and to_vector().

◆ TEST_CASE() [4/9]

TEST_CASE ( "view::drop_back non-random-access-range"  )

Definition at line 106 of file view_test.cc.

References CHECK(), view::drop_back(), and to_vector().

◆ TEST_CASE() [5/9]

TEST_CASE ( "view::drop_back random-access-range"  )

Definition at line 83 of file view_test.cc.

References CHECK(), view::drop_back(), and to_vector().

◆ TEST_CASE() [6/9]

TEST_CASE ( "view::filter"  )

Definition at line 246 of file view_test.cc.

◆ TEST_CASE() [7/9]

TEST_CASE ( "view::keys   ,
view::values  
)

Definition at line 209 of file view_test.cc.

◆ TEST_CASE() [8/9]

TEST_CASE ( "view::reverse"  )

Definition at line 127 of file view_test.cc.

References CHECK(), and view::reverse().

◆ TEST_CASE() [9/9]

TEST_CASE ( "view::transform"  )

Definition at line 145 of file view_test.cc.

References CHECK(), to_vector(), ranges::transform(), and openmsx::x.