openMSX
Functions
narrow_test.cc File Reference
#include "catch.hpp"
#include "narrow.hh"
#include <cstdint>
#include <type_traits>
Include dependency graph for narrow_test.cc:

Go to the source code of this file.

Functions

template<typename From , typename To >
bool test_narrow (From from, To expected)
 
 TEST_CASE ("narrow")
 

Function Documentation

◆ TEST_CASE()

TEST_CASE ( "narrow"  )

Definition at line 17 of file narrow_test.cc.

References test_narrow().

◆ test_narrow()

template<typename From , typename To >
bool test_narrow ( From  from,
To  expected 
)

Definition at line 7 of file narrow_test.cc.

References CHECK().

Referenced by TEST_CASE().