# -*- coding: utf-8 -*-
# Authors: <NAME> <<EMAIL>>
#
# License: BSD (3-clause)
import os

from mne.channels import DigMontage
from ..io.montage import read_xyz


dir_path = os.path.dirname(os.path.realpath(__file__))
data_path = os.path.join(dir_path, "data")


def test_read_xyz():
    """Test read_xyz."""
    file_path = os.path.join(data_path, "EGI257.GenevaAverage13.10-10.xyz")
    montage = read_xyz(file_path)
    if not isinstance(montage, DigMontage):
        raise AssertionError()

# -*- coding: utf-8 -*-
# Authors: <NAME> <<EMAIL>>
#
# License: BSD (3-clause)
import os

from mne.channels import DigMontage
from ..io.montage import read_xyz


dir_path = os.path.dirname(os.path.realpath(__file__))
data_path = os.path.join(dir_path, "data")


def test_read_xyz():
    """Test read_xyz."""
    file_path = os.path.join(data_path, "EGI257.GenevaAverage13.10-10.xyz")
    montage = read_xyz(file_path)
    if not isinstance(montage, DigMontage):
        raise AssertionError()

# -*- coding: utf-8 -*- # Authors: <NAME> <<EMAIL>> # # License: BSD (3-clause) Test read_xyz.