Skip to content

Commit beee684

Browse files
committed
forgot to add corresponding test
1 parent d695829 commit beee684

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# This Source Code Form is subject to the terms of the Mozilla Public
2+
# License, v. 2.0. If a copy of the MPL was not distributed with this
3+
# file, You can obtain one at https://mozilla.org/MPL/2.0/.
4+
from __future__ import annotations
5+
6+
import numpy as np
7+
import pytest
8+
9+
from sisl import AtomCategory
10+
11+
pytestmark = [pytest.mark.geom, pytest.mark.category, pytest.mark.geom_category]
12+
13+
14+
def test_geom_category_direct():
15+
# Check that categories can be built indistinctively using the kw builder
16+
# or directly calling them.
17+
AtomCategory.kw(odd={})
18+
AtomCategory.kw(fx=(2, None))

0 commit comments

Comments
 (0)