Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
language:debugging [2023/04/09 23:20] – [Log Messages] rajitlanguage:debugging [2025/05/18 19:49] (current) – [Assertions] rajit
Line 23: Line 23:
 bool b; bool b;
  
-{ a !== b : "a and b are connected connected!" };  // this will pass+{ a !== b : "a and b are connected!" };  // this will pass
 a = b; a = b;
 { a === b : "a and b are not connected!" }; // this will pass { a === b : "a and b are not connected!" }; // this will pass
-{ a !== b : "a and b are connected connected!" };  // this will fail+{ a !== b : "a and b are connected!" };  // this will fail
 </code> </code>