开发者

a problem with NUnit environment

I have a problem: if i run this test in NUnit ,it works

Board  board = new Board("ab", 12, 120,BoardType.OEM, BoardSide.DoubleSide);
Assert.NotNull(board);

but when i want to开发者_C百科 add another Assert statement as

Assert.AreEqual(board.SNR, "ab"); 

it runs, and the NUnit window is immediately closed. Why does it close automaticaly?


Stackoverflow? (no pun intended)

Seriously, have you tried to trace into board.SNR?
A stackoverflow might explain the closing of your NUnit window.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜