-
When I get a StackOverflowException while running a visual studio test - for example, calling:
void repeat()
{
repeat();
}
It will crash Visual Studio and close it. I am currently using Visual Studio 2005.
2008-06-06 13:54:49 UTC in csUnit - unit testing for .NET
-
I've been surrounding a lot of my tests with
try
{
...
}
catch (Exception e)
{
Assert.Fail(e.Message + " " + e.StackTrace);
}
So that I can get a stack trace for the exception in the tree view. It would be convenient if the exception automatically had a stack trace with it.
2008-06-06 13:50:33 UTC in csUnit - unit testing for .NET
-
Also, castling out of check also seems possible.
2008-03-11 03:16:48 UTC in JChessBoard
-
World Chess Federation rules disallow castling over check. I was able to do so on the queen's side.
http://www.fide.com/official/handbook.asp?level=EE101
See rule 3.8.a.ii.2.a: Castling is prevented temporarily
if the square on which the king stands, or the square which it must cross, or the square which it is to occupy, is attacked by one or more of the opponent`s pieces.
I attached...
2008-03-11 03:11:24 UTC in JChessBoard