Sign in
pigweed
/
third_party
/
github
/
pybind
/
pybind11_bazel
/
d85a646a002f1008e6c2429ba350e577d45ed61a
/
.
/
examples
/
basic
/
basic_test.py
blob: 62197343659a27ba7a00553038167170f45c4271 [
file
] [
log
] [
blame
]
import
unittest
import
basic
class
TestBasic
(
unittest
.
TestCase
):
def
test_add
(
self
):
self
.
assertEqual
(
basic
.
add
(
1
,
2
),
3
)
self
.
assertEqual
(
basic
.
add
(
2
,
2
),
4
)
if
__name__
==
"__main__"
:
unittest
.
main
()