Draw the control flowchart for the Printprimes () method:
c) for Printprimes (), look for a test case to have the test path of the response access the while statement start to the edge of the For statement t3= (n=0) (or n=1)
D
Node Overrides:
TR={0,1,2,3,4,5,6,7,8,9,10,11,12,13}
Edge Overlay:
tr={(0,1), (2,3),
(3,4), (4,5), (4,6), (5,6), (6,3), (3,7), (7,8), (7,9), (8,9), (9,1), (1,10), (10,11), (10,13), (11,12) and (12,10)}
Main path Overrides:
tr={
[4,5,6,3,7,9,1,10,13]
[4,5,6,3,7,8,9,1,10,13]
[4,5,6,3,7,9,1,10,11,12]
[4,5,6,3,7,8,9,1,10,11,12]
[2,3,7,8,9,1,10,11,12]
[2,3,7,8,9,1,10,13]
[4,5,6,3,7,8,9,1,2]
[7,8,9,1,2,3,4,5,6]
[2,3,7,9,1,10,11,12]
[4,5,6,3,7,9,1,2]
[7,8,9,1,2,3,4,6]
[7,9,1,2,3,4,5,6]
[0,1,2,3,4,5,6]
[0,1,2,3,7,8,9]
[7,9,1,2,3,4,6]
[0,1,10,13]
[0,1,10,11,12]
[11,12,10,13]
[2,3,7,8,9,1,2]*
[3,7,8,9,1,2,3]*
[7,8,9,1,2,3,7]*
[8,9,1,2,3,7,8]*
[9,1,2,3,7,8,9]*
[1,2,3,7,8,9,1]*
[3,7,9,1,2,3]*
[7,9,1,2,3,7]*
[9,1,2,3,7,9]*
[3,4,5,6,3]*
[4,5,6,3,4]*
[5,6,3,4,5]*
[6,3,4,5,6]*
[3,4,6,3]*
[4,6,3,4]*
[6,3,4,6]*
[10,11,12,10]*
[11,12,10,11]*
[12,10,11,12]*
}
Software Test Third Job