예제 #1
0
        public void TestLessThan()
        {
            // Define variables and constants
            const int FIVE = 5;
            const int FOUR = 4;

            // Set up context


            // Execute
            Assure.LessThan(FOUR, FIVE);
            try {
                Assure.LessThan(FIVE, FOUR);
                Assert.Fail();
            }
            catch (AssuranceFailedException) {
            }

            // Assert outcome
        }