JetBrains / JetBrains/CMake-Tutorial-sample
assertEquals from assert_macro.h actually is assertTrue
- 主要言語
- C++
- スター
- 40
- フォーク
- 13
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
assertEquals would need two have two parameters, not just one.
// misnomer:
assertEquals( (0+0) == 0 )
// should be:
assertTrue( (0+0) == 0 )
// assertEquals I would expect to call
// providing both the expected value and the actual value:
assertEquals( 0, (0+0) )
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
Start with assert_macro.h and search for assertEquals usages in the sample project. Check whether the macro is intended to represent a one-argument boolean assertion or a two-argument equality assertion, then inspect any affected examples or tests. Done means the assertion names and parameter behavior match their documented meanings.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- cpp
- 領域
- testing-qa
- issue の種類
- バグ
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 42/100