Guest User

Untitled

a guest
Dec 11th, 2017
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. TC did not instrument my test conditional but i added new one which it did. CTC instruments both.
  2. Original one which TC did not instrument:
  3. static int conditionalTest(int x)
  4. {
  5. int i = 5;
  6. x ? i*=50 : i*=25;
  7. return i;
  8. }
  9.  
  10. New one what TC instrumented:
  11. static int conditionalTest2(bool b)
  12. {
  13. int r = b ? 0:1;
  14. return r;
  15. }
Add Comment
Please, Sign In to add comment