Beispiel #1
0
        public static void test_optional_constructor()
        {
            string a   = "LFE";
            double b   = 3.14;
            var    obj = new Dummy.Child(null, a, b);

            Test.Assert(!obj.GetIfaceWasSet());
        }
Beispiel #2
0
        public static void test_optional_constructor()
        {
            string a = "LFE";
            double b = 3.14;

#if EFL_BETA
            int beta = 2241;
            var obj  = new Dummy.Child(null, a, b, obligatoryBetaCtor: beta);
            Test.Assert(!obj.OptionalBetaCtorWasCalled);
#else
            var obj = new Dummy.Child(null, a, b);
#endif
            Test.Assert(!obj.GetIfaceWasSet());
        }