Gitiles
Code Review
Sign In
gerrit.openbmc.org
/
openbmc
/
phosphor-host-ipmid
/
3b76e3756edf54ece1b4059d193b65bb2769d22e
/
.
/
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
}