Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
mat_latex_path_test.cc File Reference

Unit tests for mat_latex.H and mat_path.H. More...

#include <gtest/gtest.h>
#include <sstream>
#include <vector>
#include <mat_latex.H>
Include dependency graph for mat_latex_path_test.cc:

Go to the source code of this file.

Classes

class  SimpleMatrix
 
class  MatLatexTest
 
struct  TestRowFormatter
 
struct  TestColFormatter
 
struct  TestEntryFormatter
 
class  MatLatexEdgeCaseTest
 
class  DefaultFormatterTest
 
class  CustomFormatterTest
 
struct  BoldRowFormatter
 
struct  ItalicColFormatter
 
struct  InfinityFormatter
 

Functions

 TEST_F (MatLatexTest, BasicOutput)
 
 TEST_F (MatLatexTest, ContainsColumnHeaders)
 
 TEST_F (MatLatexTest, ContainsRowHeaders)
 
 TEST_F (MatLatexTest, ContainsMatrixEntries)
 
 TEST_F (MatLatexTest, PrefixAndSuffix)
 
 TEST_F (MatLatexTest, SingleRowMatrix)
 
 TEST_F (MatLatexTest, SingleColumnMatrix)
 
 TEST_F (MatLatexTest, DefaultFormatters)
 
 TEST_F (MatLatexTest, EmptyPrefix)
 
 TEST_F (MatLatexTest, TabularStructure)
 
 TEST_F (MatLatexEdgeCaseTest, LargeMatrix)
 
 TEST_F (MatLatexEdgeCaseTest, NonSquareMatrix)
 
 TEST_F (MatLatexEdgeCaseTest, SingleCell)
 
 TEST_F (MatLatexEdgeCaseTest, NegativeValues)
 
 TEST_F (DefaultFormatterTest, DefaultRowFormatter)
 
 TEST_F (DefaultFormatterTest, DefaultColFormatter)
 
 TEST_F (DefaultFormatterTest, DefaultEntryFormatter)
 
 TEST_F (DefaultFormatterTest, DefaultEntryFormatterNegative)
 
 TEST_F (CustomFormatterTest, BoldRowHeaders)
 
 TEST_F (CustomFormatterTest, ItalicColHeaders)
 
 TEST_F (CustomFormatterTest, InfinityValues)
 
int main (int argc, char **argv)
 

Detailed Description

Unit tests for mat_latex.H and mat_path.H.

Definition in file mat_latex_path_test.cc.

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 480 of file mat_latex_path_test.cc.

References Aleph::maps().

◆ TEST_F() [1/21]

TEST_F ( CustomFormatterTest  ,
BoldRowHeaders   
)

Definition at line 426 of file mat_latex_path_test.cc.

References Aleph::maps().

◆ TEST_F() [2/21]

TEST_F ( CustomFormatterTest  ,
InfinityValues   
)

Definition at line 458 of file mat_latex_path_test.cc.

References Aleph::maps().

◆ TEST_F() [3/21]

TEST_F ( CustomFormatterTest  ,
ItalicColHeaders   
)

Definition at line 444 of file mat_latex_path_test.cc.

References Aleph::maps().

◆ TEST_F() [4/21]

TEST_F ( DefaultFormatterTest  ,
DefaultColFormatter   
)

Definition at line 363 of file mat_latex_path_test.cc.

References Aleph::maps().

◆ TEST_F() [5/21]

TEST_F ( DefaultFormatterTest  ,
DefaultEntryFormatter   
)

Definition at line 373 of file mat_latex_path_test.cc.

References Aleph::maps().

◆ TEST_F() [6/21]

TEST_F ( DefaultFormatterTest  ,
DefaultEntryFormatterNegative   
)

Definition at line 383 of file mat_latex_path_test.cc.

References Aleph::maps().

◆ TEST_F() [7/21]

TEST_F ( DefaultFormatterTest  ,
DefaultRowFormatter   
)

Definition at line 353 of file mat_latex_path_test.cc.

References Aleph::maps().

◆ TEST_F() [8/21]

TEST_F ( MatLatexEdgeCaseTest  ,
LargeMatrix   
)

Definition at line 276 of file mat_latex_path_test.cc.

References Aleph::maps(), and Aleph::mat_to_latex_simple().

◆ TEST_F() [9/21]

TEST_F ( MatLatexEdgeCaseTest  ,
NegativeValues   
)

Definition at line 329 of file mat_latex_path_test.cc.

References Aleph::maps(), and Aleph::mat_to_latex_simple().

◆ TEST_F() [10/21]

TEST_F ( MatLatexEdgeCaseTest  ,
NonSquareMatrix   
)

◆ TEST_F() [11/21]

TEST_F ( MatLatexEdgeCaseTest  ,
SingleCell   
)

Definition at line 315 of file mat_latex_path_test.cc.

References Aleph::maps(), and Aleph::mat_to_latex_simple().

◆ TEST_F() [12/21]

TEST_F ( MatLatexTest  ,
BasicOutput   
)

Definition at line 115 of file mat_latex_path_test.cc.

References Aleph::maps().

◆ TEST_F() [13/21]

TEST_F ( MatLatexTest  ,
ContainsColumnHeaders   
)

Definition at line 130 of file mat_latex_path_test.cc.

References Aleph::maps().

◆ TEST_F() [14/21]

TEST_F ( MatLatexTest  ,
ContainsMatrixEntries   
)

Definition at line 158 of file mat_latex_path_test.cc.

References Aleph::maps().

◆ TEST_F() [15/21]

TEST_F ( MatLatexTest  ,
ContainsRowHeaders   
)

Definition at line 144 of file mat_latex_path_test.cc.

References Aleph::maps().

◆ TEST_F() [16/21]

TEST_F ( MatLatexTest  ,
DefaultFormatters   
)

Definition at line 225 of file mat_latex_path_test.cc.

References Aleph::maps(), and Aleph::mat_to_latex_simple().

◆ TEST_F() [17/21]

TEST_F ( MatLatexTest  ,
EmptyPrefix   
)

Definition at line 238 of file mat_latex_path_test.cc.

References Aleph::maps().

◆ TEST_F() [18/21]

TEST_F ( MatLatexTest  ,
PrefixAndSuffix   
)

Definition at line 173 of file mat_latex_path_test.cc.

References Aleph::maps().

◆ TEST_F() [19/21]

TEST_F ( MatLatexTest  ,
SingleColumnMatrix   
)

Definition at line 207 of file mat_latex_path_test.cc.

References Aleph::maps().

◆ TEST_F() [20/21]

TEST_F ( MatLatexTest  ,
SingleRowMatrix   
)

Definition at line 189 of file mat_latex_path_test.cc.

References Aleph::maps().

◆ TEST_F() [21/21]

TEST_F ( MatLatexTest  ,
TabularStructure   
)

Definition at line 250 of file mat_latex_path_test.cc.

References Aleph::maps().