Beispiel #1
0
        public void CompareToTest()
        {
            try
            {
                POS sp1 = new POS(1, 0, 0, 3, 0);
                POS sp2 = new POS(1, 0, 0, 2, 0);

                Assert.Equals(1, sp1.CompareTo(sp2));
            }
            catch (SecurityException e)
            {
                Console.WriteLine("Security Exception:\n\n{0}", e.Message);
            }
        }