Sign in
pigweed
/
third_party
/
github
/
pybind
/
pybind11_bazel
/
283e7d187bafba68d9961d37e32be100d43914cb
/
.
/
examples
/
basic
/
basic_test.py
blob: 0a1f15ada4da2b556ca5c654ce178427729bcc94 [
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
()