How to achieve 100% Mc/Dc coverage for model having Temporal logic 'tick'?
조회 수: 6(최근 30일)
표시 이전 댓글
Hi,
Am testing Model for MC/DC coverage, That model is having temporal logic 'tick', Temporal event tick is never false, so I cant able achieve 100% MC/DC. Pls guide me in this?
댓글 수: 0
답변(1개)
Arunkumar M
2018년 11월 11일
for example you have use temporal logic in condition say after(10,tick), then one test case should test this condition and pass 10 ticks and other test case should terminate before completion of 10 ticks. In this case, you would have achieved once TRUE and FALSE for this temporal logic condition, which should give you 100% coverage
댓글 수: 0
커뮤니티
더 많은 답변 보기: Power Electronics Community
참고 항목
범주
Find more on Generate Tests in Help Center and File Exchange
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!