Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
test_value_attrspec.py16 linesDownload Raw Back to tests
1import pytest
2
3from . import util
4
5
6class TestValueAttr(util.F2PyTest):
7    sources = [util.getpath("tests", "src", "value_attrspec", "gh21665.f90")]
8
9    # gh-21665
10    @pytest.mark.slow
11    def test_gh21665(self):
12        inp = 2
13        out = self.module.fortfuncs.square(inp)
14        exp_out = 4
15        assert out == exp_out
16 
codekingpro/portable-devtools · Team Ai