Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes15kdownloads
test_f2cmap.py18 linesDownload Raw Back to tests
1import numpy as np
2
3from . import util
4
5
6class TestF2Cmap(util.F2PyTest):
7    sources = [
8        util.getpath("tests", "src", "f2cmap", "isoFortranEnvMap.f90"),
9        util.getpath("tests", "src", "f2cmap", ".f2py_f2cmap")
10    ]
11
12    # gh-15095
13    def test_gh15095(self):
14        inp = np.ones(3)
15        out = self.module.func1(inp)
16        exp_out = 3
17        assert out == exp_out
18 
codekingpro/portable-devtools · Team Ai