Sign in
pigweed
/
third_party
/
github
/
pybind
/
pybind11_bazel
/
ae323ded014f3a5a1c6ab87e269bdea54f2c1866
/
.
/
examples
/
basic
/
basic_test.py
blob: ec66521f1bcdbde80280c07e389d593587a7275a [
file
] [
log
] [
blame
]
import
unittest
import
sys
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__"
:
print
(
sys
.
version
)
unittest
.
main
()