kblib 0.2.3
General utilities library for modern C++
io.cpp File Reference
#include "kblib/io.h"
#include "catch.hpp"
#include "kblib/hash.h"
#include <deque>
#include <iostream>
#include <sstream>
#include <vector>
Include dependency graph for io.cpp:

Go to the source code of this file.

Functions

 TEST_CASE ("get_line")
 
 TEST_CASE ("wide get_line")
 
 TEST_CASE ("nl")
 
 TEST_CASE ("nl(wchar_t)")
 
 TEST_CASE ("expect(good)")
 
 TEST_CASE ("expect(fail)")
 
 TEST_CASE ("expect(wchar_t, good)")
 
 TEST_CASE ("expect(wchar_t, fail)")
 
 TEST_CASE ("expect(widening, good)")
 
 TEST_CASE ("expect(widening, fail)")
 
 TEST_CASE ("get_file_contents")
 
 TEST_CASE ("tee_stream")
 

Function Documentation

◆ TEST_CASE() [1/12]

TEST_CASE ( "expect(fail)"  )

Definition at line 82 of file io.cpp.

◆ TEST_CASE() [2/12]

TEST_CASE ( "expect(good)"  )

Definition at line 70 of file io.cpp.

◆ TEST_CASE() [3/12]

TEST_CASE ( "expect(wchar_t, fail)"  )

Definition at line 114 of file io.cpp.

◆ TEST_CASE() [4/12]

TEST_CASE ( "expect(wchar_t, good)"  )

Definition at line 102 of file io.cpp.

◆ TEST_CASE() [5/12]

TEST_CASE ( "expect(widening, fail)"  )

Definition at line 146 of file io.cpp.

◆ TEST_CASE() [6/12]

TEST_CASE ( "expect(widening, good)"  )

Definition at line 134 of file io.cpp.

◆ TEST_CASE() [7/12]

TEST_CASE ( "get_file_contents"  )

Definition at line 300 of file io.cpp.

◆ TEST_CASE() [8/12]

TEST_CASE ( "get_line"  )

Definition at line 11 of file io.cpp.

◆ TEST_CASE() [9/12]

TEST_CASE ( "nl"  )

Definition at line 30 of file io.cpp.

◆ TEST_CASE() [10/12]

TEST_CASE ( "nl(wchar_t)"  )

Definition at line 50 of file io.cpp.

◆ TEST_CASE() [11/12]

TEST_CASE ( "tee_stream"  )

Definition at line 325 of file io.cpp.

◆ TEST_CASE() [12/12]

TEST_CASE ( "wide get_line"  )

Definition at line 20 of file io.cpp.