Ejemplo n.º 1
0
 def test_two_panel_table_with_index_and_tl(self):
     assert_same_or_generate_table(
         self.two_panel_table_from_dict_with_index_and_tl,
         "two_panel_table_with_index_and_tl")
     assert_same_or_generate_table(
         self.two_panel_table_from_lol_with_index_and_tl,
         "two_panel_table_with_index_and_tl")
Ejemplo n.º 2
0
 def test_table_from_dual_panel_dual_data_tables_with_tl_vertical_subset_column_match(
         self):
     assert_same_or_generate_table(
         self.
         table_from_dual_panel_dual_data_tables_with_tl_vertical_subset_column_match,
         "table_from_dual_panel_dual_data_tables_with_tl_vertical_subset_column_match"
     )
Ejemplo n.º 3
0
 def test_table_to_tabular_list(self):
     tabular_list = self.two_panel_table_from_lol_with_index.tex_obj(
         as_document=False, as_panel_tabular_list=True)
     assert len(tabular_list) == 2
     assert isinstance(tabular_list, list)
     assert_same_or_generate_table(tabular_list[0],
                                   "table_to_tabular_list_1")
     assert_same_or_generate_table(tabular_list[1],
                                   "table_to_tabular_list_2")
Ejemplo n.º 4
0
 def test_table_from_panel_with_index_and_tl(self):
     assert_same_or_generate_table(self.table_from_panel_with_index_and_tl,
                                   "table_from_panel_with_index_and_tl")
Ejemplo n.º 5
0
 def test_table_with_tl(self):
     assert_same_or_generate_table(self.table_with_tl, "table_with_tl")
Ejemplo n.º 6
0
 def test_table_to_tabular(self):
     tabular = self.two_panel_table_from_lol_with_index.tex_obj(
         as_document=False, as_single_tabular=True)
     assert_same_or_generate_table(tabular, "table_to_tabular")
Ejemplo n.º 7
0
 def test_table_with_position_str(self):
     assert_same_or_generate_table(self.table_with_position_str,
                                   "table_with_position_str")
Ejemplo n.º 8
0
 def test_two_panel_table_no_index(self):
     assert_same_or_generate_table(self.two_panel_table_from_dict_no_index,
                                   "two_panel_table_from_dict_no_index")
Ejemplo n.º 9
0
 def test_table_from_dual_panel_dual_data_tables_vertical(self):
     assert_same_or_generate_table(
         self.table_from_dual_panel_dual_data_tables_vertical,
         "table_from_dual_panel_dual_data_tables_vertical")
Ejemplo n.º 10
0
 def test_table_with_siunitx_aligns(self):
     assert_same_or_generate_table(self.table_with_siunitx_aligns,
                                   "table_with_siunitx_aligns")
Ejemplo n.º 11
0
 def test_table_with_short_caption(self):
     assert_same_or_generate_table(self.table_from_dict_with_short_caption,
                                   "table_from_dict_with_short_caption")
     assert_same_or_generate_table(self.table_from_lol_with_short_caption,
                                   "table_from_lol_with_short_caption")
Ejemplo n.º 12
0
 def test_two_panel_table_double_pad(self):
     assert_same_or_generate_table(
         self.two_panel_table_from_dict_double_pad,
         "two_panel_table_double_pad")
     assert_same_or_generate_table(self.two_panel_table_from_lol_double_pad,
                                   "two_panel_table_double_pad")
Ejemplo n.º 13
0
 def test_two_panel_table_with_index_and_name(self):
     assert_same_or_generate_table(
         self.two_panel_table_from_dict_with_index_and_name,
         "two_panel_table_from_dict_with_index_and_name")
Ejemplo n.º 14
0
 def test_two_panel_table_no_index_with_tl(self):
     assert_same_or_generate_table(
         self.two_panel_table_from_dict_no_index_with_tl,
         "two_panel_table_from_dict_no_index_with_tl")
Ejemplo n.º 15
0
 def test_table_from_panel_with_index_all_headers_and_no_columns(self):
     assert_same_or_generate_table(
         self.table_from_panel_with_index_all_headers_and_no_columns,
         "table_from_panel_with_index_all_headers_and_no_columns")
Ejemplo n.º 16
0
 def test_table_from_dual_panel_dual_data_tables_no_columns_horizontal(
         self):
     assert_same_or_generate_table(
         self.table_from_dual_panel_dual_data_tables_no_columns_horizontal,
         "table_from_dual_panel_dual_data_tables_no_columns_horizontal")
Ejemplo n.º 17
0
 def test_table_with_dcolumn_aligns(self):
     assert_same_or_generate_table(self.table_with_dcolumn_aligns,
                                   "table_with_dcolumn_aligns")
Ejemplo n.º 18
0
 def test_table_with_spacing_adjust_aligns(self):
     assert_same_or_generate_table(self.table_with_spacing_adjust_aligns,
                                   "table_with_spacing_adjust_aligns")
Ejemplo n.º 19
0
 def test_table(self):
     assert_same_or_generate_table(self.table, "table")