Example #1
0
        public void IsEvenOTest()
        {
            var actual = Int64Ex.IsEven(0);

            actual.Should()
            .Be(true);
        }
Example #2
0
        public void IsEvenTest()
        {
            var value = RandomValueEx.GetRandomInt32();

            var expected = value % 2 == 0;
            var actual   = Int64Ex.IsEven(value);

            actual.Should()
            .Be(expected);
        }