Searched refs:Factorial (Results 1 – 10 of 10) sorted by relevance
/external/protobuf/gtest/samples/ |
D | sample1_unittest.cc | 82 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()
|
D | sample5_unittest.cc | 100 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()
|
D | sample1.h | 38 int Factorial(int n);
|
D | sample1.cc | 37 int Factorial(int n) { in Factorial() function
|
/external/google-breakpad/src/testing/gtest/samples/ |
D | sample1_unittest.cc | 82 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()
|
D | sample5_unittest.cc | 100 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()
|
D | sample1.h | 38 int Factorial(int n);
|
D | sample1.cc | 37 int Factorial(int n) { in Factorial() function
|
/external/markdown/tests/misc/ |
D | arabic.txt | 17 مثال لاستخراج المضروب Factorial :
|
D | bidi.txt | 41 مثال لاستخراج المضروب Factorial :
|