# Path: mordred/_atomic_property.py
# def getter(short, **attrs):
#     def proc(f):
# def get_gasteiger_charge(atom):
#     def __init__(self, data=None):
#     def load(cls, name, conv=float):
#         def read(v):
#     def __getitem__(self, i):
#     def map(self, f):
# def GetElementSymbol(i):
#     def GetAtomicNumber(symbol):
#     def GetAtomicNumber(symbol):
# def get_valence_electrons(atom):
# def get_sigma_electrons(atom):
# def get_intrinsic_state(atom):
# def get_core_count(atom):
# def get_eta_epsilon(atom):
# def get_eta_beta_sigma(atom):
# def get_eta_nonsigma_contribute(bond):
# def get_eta_beta_delta(atom):
# def get_other_atom(bond, atom):
# def get_eta_beta_non_sigma(atom):
# def get_eta_gamma(atom):
# def get_atomic_number(a):
# def get_mass(a):
# def get_vdw_volume(a):
# def get_sanderson_en(a):
# def get_pauling_en(a):
# def get_allred_rocow_en(a):
# def get_polarizability(a):
# def get_ionization_potential(a):
# def get_mc_gowan_volume(a):
# def get_properties(charge=False, valence=False):
#     def __str__(self):
#     def get_long(self):
#     def as_argument(self):
#     def parameters(self):
#     def __new__(cls, explicit_hydrogens, prop):
#     def __init__(self, explicit_hydrogens, prop):
#     def calculate(self):
#     def carbon(self):
# class PeriodicTable(object):
# class AtomicProperty(Descriptor):
#     N = atom.GetAtomicNum()
#     Z = atom.GetAtomicNum() - atom.GetFormalCharge()
#     Z = atom.GetAtomicNum()
#     PN = period[Z]


from rdkit import Chem
from numpy.testing import assert_almost_equal
from mordred import _atomic_property
        "-Br": 0.26,  # noqa: S001
        "-I": 0.16,
    }
    for test in make_cases(results, _atomic_property.get_valence_electrons, 2):
        yield test


def test_IntrinsicState():
    results = {
        ">C<": 1.25,
        ">CH-": 1.3333,
        "-CH2-": 1.5,  # noqa: S001
        "=C<": 1.6666,
        "-CH3": 2.0,  # noqa: S001
        "=CH-": 2.0,
        ">N-": 2.0,
        "#C-": 2.5,  # noqa: S001
        "-NH-": 2.5,
        "=CH2": 3.0,
        "=N-": 3.0,
        "-O-": 3.5,  # noqa: S001
        "#CH": 4.0,  # noqa: S001
        "-NH2": 4.0,
        "=NH": 5.0,
        "#N": 6.0,  # noqa: S001
        "-OH": 6.0,
        "=O": 7.0,
        "-F": 8.0,  # noqa: S001
    }


# Path: mordred/_atomic_property.py
# def getter(short, **attrs):
#     def proc(f):
# def get_gasteiger_charge(atom):
#     def __init__(self, data=None):
#     def load(cls, name, conv=float):
#         def read(v):
#     def __getitem__(self, i):
#     def map(self, f):
# def GetElementSymbol(i):
#     def GetAtomicNumber(symbol):
#     def GetAtomicNumber(symbol):
# def get_valence_electrons(atom):
# def get_sigma_electrons(atom):
# def get_intrinsic_state(atom):
# def get_core_count(atom):
# def get_eta_epsilon(atom):
# def get_eta_beta_sigma(atom):
# def get_eta_nonsigma_contribute(bond):
# def get_eta_beta_delta(atom):
# def get_other_atom(bond, atom):
# def get_eta_beta_non_sigma(atom):
# def get_eta_gamma(atom):
# def get_atomic_number(a):
# def get_mass(a):
# def get_vdw_volume(a):
# def get_sanderson_en(a):
# def get_pauling_en(a):
# def get_allred_rocow_en(a):
# def get_polarizability(a):
# def get_ionization_potential(a):
# def get_mc_gowan_volume(a):
# def get_properties(charge=False, valence=False):
#     def __str__(self):
#     def get_long(self):
#     def as_argument(self):
#     def parameters(self):
#     def __new__(cls, explicit_hydrogens, prop):
#     def __init__(self, explicit_hydrogens, prop):
#     def calculate(self):
#     def carbon(self):
# class PeriodicTable(object):
# class AtomicProperty(Descriptor):
#     N = atom.GetAtomicNum()
#     Z = atom.GetAtomicNum() - atom.GetFormalCharge()
#     Z = atom.GetAtomicNum()
#     PN = period[Z]


# Path: mordred/tests/test_atomic_property.py
from rdkit import Chem
from numpy.testing import assert_almost_equal
from mordred import _atomic_property

        "-Br": 0.26,  # noqa: S001
        "-I": 0.16,
    }
    for test in make_cases(results, _atomic_property.get_valence_electrons, 2):
        yield test


def test_IntrinsicState():
    results = {
        ">C<": 1.25,
        ">CH-": 1.3333,
        "-CH2-": 1.5,  # noqa: S001
        "=C<": 1.6666,
        "-CH3": 2.0,  # noqa: S001
        "=CH-": 2.0,
        ">N-": 2.0,
        "#C-": 2.5,  # noqa: S001
        "-NH-": 2.5,
        "=CH2": 3.0,
        "=N-": 3.0,
        "-O-": 3.5,  # noqa: S001
        "#CH": 4.0,  # noqa: S001
        "-NH2": 4.0,
        "=NH": 5.0,
        "#N": 6.0,  # noqa: S001
        "-OH": 6.0,
        "=O": 7.0,
        "-F": 8.0,  # noqa: S001
    }


    for test in make_cases(results, _atomic_property.get_intrinsic_state, 3):