public void NextWeightedIndTest2() { int[] weights = { 0, 100 }; for (int attempt = 1; attempt <= 100; attempt++) { int ind = GameRandom.NextWeightedInd(weights); Assert.AreEqual(1, ind); } }