Gitiles
Code Review
Sign In
gerrit.openbmc.org
/
openbmc
/
phosphor-host-ipmid
/
ebc886fc52d3f109e4c3b4ee74a510c65557eebe
/
.
/
test
/
sample_unittest.cpp
blob: 2a272791033c3deb66f59b886087b5a45de907d4 [
file
] [
log
] [
blame
]
Matthew Barth
00b1e5b
2016-09-09 12:15:46 -0500
[
diff
] [
blame
]
1
#include
"sample.h"
2
#include
<gtest/gtest.h>
3
4
TEST
(
FactorialTest
,
Zero
)
{
5
EXPECT_EQ
(
1
,
Factorial
(
0
));
6
}