File: test_basis_sets_base.py

package info (click to toggle)
python-symfc 1.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,972 kB
  • sloc: python: 10,795; makefile: 12
file content (15 lines) | stat: -rw-r--r-- 406 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
"""Tests of FCBasisSetBase."""

from __future__ import annotations

import numpy as np
import pytest

from symfc.basis_sets import FCBasisSetBase
from symfc.utils.utils import SymfcAtoms


def test_base_fc_basis_set(ph_nacl_222: tuple[SymfcAtoms, np.ndarray, np.ndarray]):
    """Test that FCBasisSet can not be instantiate."""
    with pytest.raises(TypeError):
        _ = FCBasisSetBase(ph_nacl_222[0])