>>> from solargen import solargen_extract >>> sg1L = solargen_extract('solargen_data.txt') >>> sg1L_corr = [ ... ['gA', 3.5, 2.5, 4.0, 7.0, 3.2, 4.0], ... ['gA', 3.0, 3.3, 4.4, 2.0, 7.0, 3.0, 4.0, 5.0], ... ['gB', 2.3, 3.5], ... ['gB', 2.7, 3.8], ... ['gB', 3.3, 3.9], ... ['gC', 3.6, 4.0, 7.0, 4.5, 3.0], ... ['gC', 2.4, 3.0, 4.1], ... ['gC', 3.3, 4.0, 3.9, 3.2], ... ['gB', 4.1, 4.1, 4], ... ['gB', 2.9, 2.0, 4.3], ... ] >>> if sg1L == sg1L_corr: ... True ... else: ... print(sg1L) ... print(sg1L_corr) True