示例#1
0
        public virtual void TestLabel()
        {
            FixtureBasedTestSuite suite  = new _FixtureBasedTestSuite_142();
            IEnumerable           labels = Iterators.Map(suite, new _IFunction4_154());

            Iterator4Assert.AreEqual(new object[] { TestLabel("testFoo", 0, 0), TestLabel("testFoo"
                                                                                          , 1, 0), TestLabel("testFoo", 0, 1), TestLabel("testFoo", 1, 1), TestLabel("testBar"
                                                                                                                                                                     , 0, 0), TestLabel("testBar", 1, 0), TestLabel("testBar", 0, 1), TestLabel("testBar"
                                                                                                                                                                                                                                                , 1, 1) }, labels.GetEnumerator());
        }
 public virtual void TestLabel()
 {
     FixtureBasedTestSuite suite = new _FixtureBasedTestSuite_142();
     var labels = Iterators.Map(suite, new _IFunction4_154());
     Iterator4Assert.AreEqual(new object[]
     {
         TestLabel("testFoo", 0, 0), TestLabel("testFoo"
             , 1, 0),
         TestLabel("testFoo", 0, 1), TestLabel("testFoo", 1, 1), TestLabel("testBar"
             , 0, 0),
         TestLabel("testBar", 1, 0), TestLabel("testBar", 0, 1), TestLabel("testBar"
             , 1, 1)
     }, labels.GetEnumerator());
 }