コード例 #1
0
        public void Clone_Test()
        {
            PDFPoint target   = new PDFPoint(10, 20);
            PDFPoint expected = new PDFPoint(10, 20);
            PDFPoint actual;

            actual = target.Clone();
            Assert.AreEqual(expected, actual);
        }
コード例 #2
0
        public void Clone_Test1()
        {
            ICloneable target   = new PDFPoint(10, 20);
            object     expected = new PDFPoint(10, 20);
            object     actual;

            actual = target.Clone();
            Assert.AreEqual(expected, actual);
        }