+1
0
-1

How can we create a negative test case in Vector Cast?

Hi,

I would like to create a negative test case in vector cast.

when I try to give out of range value to test the unit under test?

I wasn't able to give any value of...

Posting in: 

3 Answers:

+1
0
-1

Hello RN_10,

I assume for the data type in question there are values that can be set outside the data type range.

E.g

enum blah { A, B, C, D ];

enum blah a = 4; /*Out...

+1
0
-1

I wasn't able to give input as 256 for unsigned char variable, it give me red color warning and it doesn't show anynothing in the execution reports? can I get some more information on...

+1
0
-1

If you right click and select properties on the unsigned char it will give the range which should be 0-255. Very rarely you will see 0-65535 if your target has 16 bit bytes.

An unsigned...