Beispiel #1
0
        public void SurfaceArea_1()
        {
            var solution = new _0892_SurfaceAreaOf3DShapes();
            var result   = solution.SurfaceArea(new int[][] {
                new int[] { 2 },
            });

            Assert.AreEqual(10, result);
        }
Beispiel #2
0
        public void SurfaceArea_2()
        {
            var solution = new _0892_SurfaceAreaOf3DShapes();
            var result   = solution.SurfaceArea(new int[][] {
                new int[] { 1, 2 },
                new int[] { 3, 4 },
            });

            Assert.AreEqual(34, result);
        }