openMSX
Functions
ranges_test.cc File Reference
#include "catch.hpp"
#include "ranges.hh"
#include "stl.hh"
#include "view.hh"
#include <array>
#include <span>
#include <string>
#include <vector>
Include dependency graph for ranges_test.cc:

Go to the source code of this file.

Functions

 TEST_CASE ("ranges::copy")
 
 TEST_CASE ("ranges::equal")
 
 TEST_CASE ("ranges::all_equal")
 
 TEST_CASE ("binary_find")
 
 TEST_CASE ("subspan")
 

Function Documentation

◆ TEST_CASE() [1/5]

TEST_CASE ( "binary_find"  )

Definition at line 164 of file ranges_test.cc.

References binary_find(), and CHECK().

◆ TEST_CASE() [2/5]

TEST_CASE ( "ranges::all_equal"  )

Definition at line 139 of file ranges_test.cc.

References ranges::all_equal(), CHECK(), and g.

◆ TEST_CASE() [3/5]

TEST_CASE ( "ranges::copy"  )

Definition at line 10 of file ranges_test.cc.

References CHECK(), ranges::copy(), subspan(), and to_vector().

◆ TEST_CASE() [4/5]

TEST_CASE ( "ranges::equal"  )

Definition at line 57 of file ranges_test.cc.

References CHECK(), ranges::equal(), view::filter(), and v4.

◆ TEST_CASE() [5/5]

TEST_CASE ( "subspan"  )

Definition at line 222 of file ranges_test.cc.

References begin(), CHECK(), end(), and subspan().