MATLAB Answers

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

4 views (last 30 days)
vinothkannan K
vinothkannan K on 10 Dec 2013
Answered: Arunkumar M on 11 Nov 2018
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?

Answers (1)

Arunkumar M
Arunkumar M on 11 Nov 2018
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

Communities

More Answers in the  Power Electronics Control

Community Treasure Hunt

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

Start Hunting!