From 02a5b1e1bf5c55853e6afcb9c1303a9509115485 Mon Sep 17 00:00:00 2001 From: zovjsra <58198508+Zovjsra@users.noreply.github.com> Date: Mon, 12 Dec 2022 13:52:32 +0800 Subject: [PATCH] change readme --- Readme.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Readme.md b/Readme.md index 3869b23..c4fc291 100644 --- a/Readme.md +++ b/Readme.md @@ -55,9 +55,9 @@ which gcov `ASSERT_LE(val1,val2)` | `EXPECT_LE(val1,val2)` | val1 <= val2 `ASSERT_GT(val1,val2)` | `EXPECT_GT(val1,val2)` | val1 > val2 `ASSERT_GE(val1,val2)` | `EXPECT_GE(val1,val2)` | val1 >= val2 -`ASSERT_STREQ(expected_str,actual_str)` | `EXPECT_STREQ(expected_str,actual_str)` | 檢查字串是否相等 +`ASSERT_STREQ(str1,str2)` | `EXPECT_STREQ(str1,str2)` | 檢查字串是否相等 `ASSERT_STRNE(str1,str2)` | `EXPECT_STRNE(str1,str2)` | 檢查字串是否不相等 -`ASSERT_STRCASEEQ(expected_str,actual_str)` |`EXPECT_STRCASEEQ(expected_str,actual_str)` | 檢查字串是否相等(不分大小寫) +`ASSERT_STRCASEEQ(str1,str2)` |`EXPECT_STRCASEEQ(expected_str,actual_str)` | 檢查字串是否相等(不分大小寫) `ASSERT_STRCASENE(str1,str2)` | `EXPECT_STRCASENE(str1,str2)` | 檢查字串是否不相等(不分大小寫) ### Linux 環境下安裝 cmake (以 ubuntu 為例)