GDB (xrefs)
Loading...
Searching...
No Matches
Enumerations | Functions
operations_compare_1 Namespace Reference

Enumerations

enum  want_value { lt =0 , z =1 , gt =2 }
 

Functions

int test_value (int result, want_value expected)
 
static int test01 ()
 
static int main ()
 

Enumeration Type Documentation

◆ want_value

Enumerator
lt 
gt 

Definition at line 34 of file 1.cc.

Function Documentation

◆ main()

static int operations_compare_1::main ( )
static

Definition at line 125 of file 1.cc.

References test01().

Referenced by selftests::string_view::run_tests().

◆ test01()

static int operations_compare_1::test01 ( )
static

Definition at line 65 of file 1.cc.

References gt, lt, test_value(), and z.

Referenced by main().

◆ test_value()

int operations_compare_1::test_value ( int result,
want_value expected )

Definition at line 40 of file 1.cc.

References gt, lt, VERIFY, and z.

Referenced by test01().