#include "config.h"
#include <unistd.h>
#include <iostream>
#include <fstream>
#include <cassert>
#include "asserts.h"
#include "error.h"
#include "estring.h"
#include "table.h"
Go to the source code of this file.
Classes | |
class | check_output |
Defines | |
#define | ERR_OUT(s) |
Functions | |
void | test1 (void) |
void | test2 (void) |
void | test3 (void) |
void | test4 (void) |
int | main (int argc, char const *argv[]) |
Variables | |
check_output | check |
#define ERR_OUT | ( | s | ) |
Definition at line 17 of file test-table.cc.
int main | ( | int | argc, | |
char const * | argv[] | |||
) |
Definition at line 635 of file test-table.cc.
References err_unknown, test1(), test2(), test3(), and test4().
void test1 | ( | void | ) |
Definition at line 87 of file test-table.cc.
References check_output::close(), check_output::get_line(), table_cell_base::npos, check_output::open(), check_output::remove(), table_cell_base::write(), table_cell_base::x, and table_cell_base::y.
void test2 | ( | void | ) |
Definition at line 111 of file test-table.cc.
References table_cell_estring::assign(), check_output::close(), check_output::get_line(), table_cell_estring::height(), check_output::open(), check_output::remove(), check_output::str(), table_cell_estring::width(), and table_cell_estring::write().
void test3 | ( | void | ) |
Definition at line 149 of file test-table.cc.
References table::assign(), check_output::close(), table::col_height(), table::col_width(), check_output::get_line(), table::height(), table::insert_col(), table::insert_row(), table::ncols(), table::nrows(), check_output::open(), check_output::remove(), table::resize(), table::row_height(), table::row_width(), check_output::str(), and table::width().
void test4 | ( | void | ) |
Definition at line 410 of file test-table.cc.
References estring::align(), check_output::close(), check_output::get_line(), check_output::open(), check_output::remove(), estring::right, check_output::str(), table_endl(), and table_skip().
Definition at line 85 of file test-table.cc.