PDA

View Full Version : with steam wihat does precondition assertion failed mean?



Beanie McChimp
21-11-03, 15:28
with steam wihat does precondition assertion failed mean?

Archeus
21-11-03, 15:35
I don't use Steam but if I was to take a guess.

the precondition assertion would be kind of test where you would always know the input data would be within a certain range. So an assert is done to test it before continuing (like Unit Testing). Eg.

/*
* @pre a!=null
*/
myMethod (object a) {
}

If a was null then it would throw up the error*


* Note this code in no way represents anything. Kind of a mangled JTest DBC command if anything.