Home
last modified time | relevance | path

Searched refs:IsPrime (Results 1 - 5 of 5) sorted by relevance

/test/testfwk/developer_test/examples/detector/test/unittest/common/
H A Ddetector_prime_test.cpp57 EXPECT_FALSE(IsPrime(6)); in HWTEST_F()
68 EXPECT_TRUE(IsPrime(3)) << "This is the test information."; in HWTEST_F()
80 EXPECT_FALSE(IsPrime(0)); in HWTEST_F()
92 EXPECT_FALSE(IsPrime(-5)); in HWTEST_F()
103 EXPECT_FALSE(IsPrime(-100)); in HWTEST_F()
114 EXPECT_FALSE(IsPrime(INT_MIN)); in HWTEST_F()
H A Ddetector_depend_test.cpp58 EXPECT_TRUE(IsPrime(7)); in HWTEST_F()
61 EXPECT_TRUE(IsPrime(3)); in HWTEST_F()
/test/testfwk/developer_test/examples/detector/include/
H A Ddetector.h20 bool IsPrime(int n);
/test/testfwk/developer_test/examples/detector/src/
H A Ddetector.cpp30 bool IsPrime(int n) in IsPrime() function
/test/xts/acts/sample_lite/hcpptest_posix/src/
H A DIsPrimeParamTest.cpp45 TEST_P(IsPrimeParamTest, IsPrime) in TEST_P()

Completed in 2 milliseconds