<commit_before>import WrightTools as wt
from WrightTools.datasets import LabRAM


def test_import():
    d = wt.data.from_LabRAM(LabRAM.raman_linescan)
    d.print_tree()
    d.close()


if __name__ == "__main__":
    test_import()
<commit_msg>more tests<commit_after>import WrightTools as wt
from WrightTools.datasets import LabRAM

def test_spectral_units():
    d = wt.data.from_LabRAM(LabRAM.spectrum_nm)
    assert d.wm.units == "nm"
    d.close()
    d = wt.data.from_LabRAM(LabRAM.spectrum_wn)
    assert d.wm.units == "wn"
    d.close()

def test_import_1D():
    d = wt.data.from_LabRAM(LabRAM.spectrum_nm)
    d.close()

def test_import_2D():
    d = wt.data.from_LabRAM(LabRAM.raman_linescan)
    d.close()

def test_import_2D_survey():
    d = wt.data.from_LabRAM(LabRAM.survey_nm)
    d.close()

def test_import_3D():
    d = wt.data.from_LabRAM(LabRAM.map_nm)   
    d.close() 


if __name__ == "__main__":
    test_spectral_units()
    test_import_1D()
    test_import_2D()
    test_import_2D_survey()
    test_import_3D()

{'fraction_non_alphanumeric': 0.12138728323699421, 'fraction_numerical': 0.007707129094412331, 'mean_word_length': 3.6591928251121075, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4007480', 'n_tokens_mistral': 452, 'n_tokens_neox': 407, 'n_words': 69}