Home
last modified time | relevance | path

Searched refs:Factorial (Results 1 – 10 of 10) sorted by relevance

/external/protobuf/gtest/samples/
Dsample1_unittest.cc82 EXPECT_EQ(1, Factorial(-5)); in TEST()
83 EXPECT_EQ(1, Factorial(-1)); in TEST()
84 EXPECT_TRUE(Factorial(-10) > 0); in TEST()
104 EXPECT_EQ(1, Factorial(0)); in TEST()
109 EXPECT_EQ(1, Factorial(1)); in TEST()
110 EXPECT_EQ(2, Factorial(2)); in TEST()
111 EXPECT_EQ(6, Factorial(3)); in TEST()
112 EXPECT_EQ(40320, Factorial(8)); in TEST()
Dsample5_unittest.cc100 TEST_F(IntegerFunctionTest, Factorial) { in TEST_F() argument
102 EXPECT_EQ(1, Factorial(-5)); in TEST_F()
103 EXPECT_EQ(1, Factorial(-1)); in TEST_F()
104 EXPECT_TRUE(Factorial(-10) > 0); in TEST_F()
107 EXPECT_EQ(1, Factorial(0)); in TEST_F()
110 EXPECT_EQ(1, Factorial(1)); in TEST_F()
111 EXPECT_EQ(2, Factorial(2)); in TEST_F()
112 EXPECT_EQ(6, Factorial(3)); in TEST_F()
113 EXPECT_EQ(40320, Factorial(8)); in TEST_F()
Dsample1.h38 int Factorial(int n);
Dsample1.cc37 int Factorial(int n) { in Factorial() function
/external/chromium_org/testing/gtest/samples/
Dsample1_unittest.cc82 EXPECT_EQ(1, Factorial(-5)); in TEST()
83 EXPECT_EQ(1, Factorial(-1)); in TEST()
84 EXPECT_GT(Factorial(-10), 0); in TEST()
104 EXPECT_EQ(1, Factorial(0)); in TEST()
109 EXPECT_EQ(1, Factorial(1)); in TEST()
110 EXPECT_EQ(2, Factorial(2)); in TEST()
111 EXPECT_EQ(6, Factorial(3)); in TEST()
112 EXPECT_EQ(40320, Factorial(8)); in TEST()
Dsample5_unittest.cc100 TEST_F(IntegerFunctionTest, Factorial) { in TEST_F() argument
102 EXPECT_EQ(1, Factorial(-5)); in TEST_F()
103 EXPECT_EQ(1, Factorial(-1)); in TEST_F()
104 EXPECT_GT(Factorial(-10), 0); in TEST_F()
107 EXPECT_EQ(1, Factorial(0)); in TEST_F()
110 EXPECT_EQ(1, Factorial(1)); in TEST_F()
111 EXPECT_EQ(2, Factorial(2)); in TEST_F()
112 EXPECT_EQ(6, Factorial(3)); in TEST_F()
113 EXPECT_EQ(40320, Factorial(8)); in TEST_F()
Dsample1.h38 int Factorial(int n);
Dsample1.cc37 int Factorial(int n) { in Factorial() function
/external/markdown/tests/misc/
Darabic.txt17 مثال لاستخراج المضروب Factorial :
Dbidi.txt41 مثال لاستخراج المضروب Factorial :