フィルターのクリア

Truth Table Test Coverage Results Unclear

16 ビュー (過去 30 日間)
Cody
Cody 2024 年 7 月 15 日 18:23
編集済み: Walter Roberson 2024 年 7 月 16 日 19:47
I have tested a 3-input truth table with all permutations of inputs (000 001 010 100 011 110 101 111) and not received condition coverage. It is unclear to me what the red letters mean in my coverage report. I have looked at this link and haven't gotten much clarity. https://www.mathworks.com/help/slcoverage/ug/coverage-for-truth-tables.html
Here are the table results below. What is the meaning of the red letters in parenthesis? For action 2, it says (ok), meaning I clearly tested TTF, but, then it gives a red T in that column.
Thank you,
Cody

回答 (1 件)

Walter Roberson
Walter Roberson 2024 年 7 月 15 日 19:50
移動済み: Walter Roberson 2024 年 7 月 15 日 19:50
My interpretation would be that the T or F in normal font is the expected solution for the situation. Then if the expected solution is encounted in practice, the green (ok) is inserted. If, however, the expected solution is not encounted in practice, it inserts the actual result in red.
So
F
(T)
would be interpreted as "F was expected here, but T was found instead"
  1 件のコメント
Cody
Cody 2024 年 7 月 16 日 15:16
This would be my usual thought, yes, but I have covered the expected scenarios too. Otherwise how would the action take place without fulfilling all the conditions?

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeResults, Reporting, and Test File Management についてさらに検索

製品


リリース

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by