Iros
 
Loading...
Searching...
No Matches
dius::test::TestCase Class Reference

#include <dius/test/test_case.h>

Public Member Functions

constexpr TestCase (di::TransparentStringView suite_name, di::TransparentStringView case_name, TestCaseFunction function)
 
constexpr auto suite_name () const -> di::TransparentStringView
 
constexpr auto case_name () const -> di::TransparentStringView
 
constexpr void execute () const
 

Friends

constexpr friend auto operator== (TestCase const &a, TestCase const &b) -> bool
 
constexpr friend auto operator<=> (TestCase const &a, TestCase const &b) -> di::strong_ordering
 

Constructor & Destructor Documentation

◆ TestCase()

dius::test::TestCase::TestCase ( di::TransparentStringView suite_name,
di::TransparentStringView case_name,
TestCaseFunction function )
inlineexplicitconstexpr

Member Function Documentation

◆ case_name()

auto dius::test::TestCase::case_name ( ) const -> di::TransparentStringView
inlineconstexpr

◆ execute()

void dius::test::TestCase::execute ( ) const
inlineconstexpr

◆ suite_name()

auto dius::test::TestCase::suite_name ( ) const -> di::TransparentStringView
inlineconstexpr

Friends And Related Symbol Documentation

◆ operator<=>

friend auto operator<=> ( TestCase const & a,
TestCase const & b ) -> di::strong_ordering
friend

◆ operator==

friend auto operator== ( TestCase const & a,
TestCase const & b ) -> bool
friend

The documentation for this class was generated from the following file: