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