Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
autopybind11
autopybind11
Commits
27e9d70c
Commit
27e9d70c
authored
Jun 03, 2021
by
John Parent
Browse files
Remove impossible test case
parent
39758e6a
Pipeline
#231702
passed with stages
in 14 minutes and 36 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Tests/stl_containers/input_wrap.yml
View file @
27e9d70c
...
...
@@ -14,9 +14,6 @@ stl:
stl_bind
:
True
"
Int2Double"
:
type
:
[
"
int"
,
"
double"
]
"
VectoVec"
:
type
:
[
std
::
vector<std
::
string>
,
std
::
vector<int>
]
stl_bind
:
True
files
:
stl_container.h
:
classes
:
...
...
Tests/stl_containers/stl_containers.py
View file @
27e9d70c
...
...
@@ -8,7 +8,6 @@ from stl_container import (
VectorDouble
,
Int2String
,
Int2Double
,
VectoVec
,
)
...
...
@@ -51,11 +50,6 @@ class TestStlBinders(unittest.TestCase):
i2d
[
1
]
=
2.2
self
.
assertEqual
(
i2d
[
1
],
2.2
)
def
test_VectoVec
(
self
):
v2v
=
VectoVec
()
v2v
[[
1
,
2
,
3
]]
=
[
3
,
2
,
1
]
self
.
assertEqual
(
v2v
[[
1
,
2
,
3
]],
[
3
,
2
,
1
])
if
__name__
==
"__main__"
:
unittest
.
main
()
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment