Linux websever 5.15.0-153-generic #163-Ubuntu SMP Thu Aug 7 16:37:18 UTC 2025 x86_64
Apache/2.4.52 (Ubuntu)
: 192.168.3.70 | : 192.168.1.99
Cant Read [ /etc/named.conf ]
8.1.2-1ubuntu2.23
urlab
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
lib /
python3 /
dist-packages /
numpy /
f2py /
tests /
[ HOME SHELL ]
Name
Size
Permission
Action
__pycache__
[ DIR ]
drwxr-xr-x
src
[ DIR ]
drwxr-xr-x
__init__.py
0
B
-rw-r--r--
test_abstract_interface.py
1.77
KB
-rw-r--r--
test_array_from_pyobj.py
22.28
KB
-rw-r--r--
test_assumed_shape.py
1.53
KB
-rw-r--r--
test_block_docstring.py
627
B
-rw-r--r--
test_callback.py
8
KB
-rw-r--r--
test_common.py
802
B
-rw-r--r--
test_compile_function.py
4.21
KB
-rw-r--r--
test_crackfortran.py
3.96
KB
-rw-r--r--
test_kind.py
1012
B
-rw-r--r--
test_mixed.py
911
B
-rw-r--r--
test_module_doc.py
950
B
-rw-r--r--
test_parameter.py
3.82
KB
-rw-r--r--
test_quoted_character.py
927
B
-rw-r--r--
test_regression.py
1.77
KB
-rw-r--r--
test_return_character.py
3.83
KB
-rw-r--r--
test_return_complex.py
4.51
KB
-rw-r--r--
test_return_integer.py
4.47
KB
-rw-r--r--
test_return_logical.py
4.73
KB
-rw-r--r--
test_return_real.py
5.28
KB
-rw-r--r--
test_semicolon_split.py
1.48
KB
-rw-r--r--
test_size.py
1.26
KB
-rw-r--r--
test_string.py
610
B
-rw-r--r--
util.py
9.36
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : test_size.py
import os import pytest from numpy.testing import assert_equal from . import util def _path(*a): return os.path.join(*((os.path.dirname(__file__),) + a)) class TestSizeSumExample(util.F2PyTest): sources = [_path('src', 'size', 'foo.f90')] @pytest.mark.slow def test_all(self): r = self.module.foo([[]]) assert_equal(r, [0], repr(r)) r = self.module.foo([[1, 2]]) assert_equal(r, [3], repr(r)) r = self.module.foo([[1, 2], [3, 4]]) assert_equal(r, [3, 7], repr(r)) r = self.module.foo([[1, 2], [3, 4], [5, 6]]) assert_equal(r, [3, 7, 11], repr(r)) @pytest.mark.slow def test_transpose(self): r = self.module.trans([[]]) assert_equal(r.T, [[]], repr(r)) r = self.module.trans([[1, 2]]) assert_equal(r, [[1], [2]], repr(r)) r = self.module.trans([[1, 2, 3], [4, 5, 6]]) assert_equal(r, [[1, 4], [2, 5], [3, 6]], repr(r)) @pytest.mark.slow def test_flatten(self): r = self.module.flatten([[]]) assert_equal(r, [], repr(r)) r = self.module.flatten([[1, 2]]) assert_equal(r, [1, 2], repr(r)) r = self.module.flatten([[1, 2, 3], [4, 5, 6]]) assert_equal(r, [1, 2, 3, 4, 5, 6], repr(r))
Close