Beispiel #1
0
        public void IsPerfectSquare_1()
        {
            var solution = new _0367_ValidPerfectSquare();
            var result   = solution.IsPerfectSquare(16);

            Assert.IsTrue(result);
        }
Beispiel #2
0
        public void IsPerfectSquare_2()
        {
            var solution = new _0367_ValidPerfectSquare();
            var result   = solution.IsPerfectSquare(14);

            Assert.IsFalse(result);
        }