Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR の目的
CMemory::AppendRawData
のテストを追加する事で不具合が検出されやすいようにします。カテゴリ
PR の背景
#1638 で不具合の修正が行われたので、今後同様の不具合が入る事を防止する為にテストを追加しました。
PR のメリット
今後
CMemory::AppendRawData
の実装が再度変更された際に同様の不具合が入る事を防ぎやすくなるのではないかと思います。PR のデメリット (トレードオフとかあれば)
テストの実行時間が少し増えます。
仕様・動作説明
テスト追加なので本体の動作には影響はありません。
PR の影響範囲
テスト追加なので本体の動作には影響はありません。
テスト内容
CMemory, AppendRawData
を実行して緑のPassed
になる事を確認しました。CMemory, AppendRawData
を実行すると赤のFailed
になる事を確認しました。関連 issue, PR
#1638