提交 f2ed528a 编写于 作者: O openharmony_ci 提交者: Gitee

!343 graphic_math_test中添加一个测试用例

Merge pull request !343 from lianwenjie007/master
......@@ -36,4 +36,17 @@ void MathTest::TearDownTestCase()
{
return;
}
/**
* @tc.number SUB_GRAPHIC_MATH_FASTATAN2_0200
* @tc.name test math fast-atan2 api
* @tc.desc [C- SOFTWARE -0200]
*/
HWTEST_F(MathTest, Graphic_Math_Test_FastAtan2_0100, Function | MediumTest | Level0)
{
EXPECT_EQ(FastAtan2(0, 1), 0);
EXPECT_EQ(FastAtan2(1, 0), 90);
EXPECT_EQ(FastAtan2(0, -1), 180);
EXPECT_EQ(FastAtan2(-1, 0), 270);
}
}
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册