How to achieve 100% Mc/Dc coverage for model having Temporal logic 'tick'?

2 次查看(过去 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?

回答(1 个)

Arunkumar M
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

社区

更多回答在  Power Electronics Control

类别

Help CenterFile Exchange 中查找有关 Verification, Validation, and Test 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by