public virtual void NextInt32Negate() { Initialize(); var list = CsvReader.ReadNextInt32(CreateRandomItem()); int Re = 0; int Ry = 0; Console.WriteLine("サンプル数:{0}回", list.Count); Console.WriteLine("0 < X > int.MaxValue かどうかを検証します"); for (int i = 0; i < list.Count; i++) { Re = list[i]; Ry = m_Random.NextInt32(); Console.Write("{0} : ", i); Console.WriteLine("{0}", Ry); Assert.IsTrue(Re == Ry); Assert.IsTrue(Ry >= 0 && Ry <= int.MaxValue); Assert.IsTrue(Re >= 0 && Re <= int.MaxValue); } }