public void BasicTest() { const int peerCount = 4; const int reviewerCount = 2; var bc = new BingoChecker(reviewerCount); b.random = new Random(1); b.Init(peerCount); b.ReviewNum = reviewerCount; var m = b.GetMatrix(); Assert.IsTrue(bc.IsValid(m)); }
public void CheckingWithTrueInDiagonal_ReturnsInvalid() { correctSingleReviewMatrix[1, 1] = true; Assert.IsFalse(bc.IsValid(correctSingleReviewMatrix)); }