Number of paths

De Software testing
Ir para: navegação, pesquisa

Example 0

The block below executes doSomethingWith() one billion times (1000 x 1000 x 1000).

for (i =1; i <=1000; i ++)
	for (j =1; j <=1000; j ++)
		for ( k =1; k <=1000; k++)
			doSomethingWith(i, j, k);