static void Main() { Console.WriteLine("starting example"); BasicTests win = new BasicTests(); win.Run(30); }
static void Main() { Console.WriteLine("starting example"); BasicTests win = new BasicTests(); win.VSync = OpenTK.VSyncMode.Adaptive; win.Run(30); }
static void Main() { #if DEBUG TextWriterTraceListener listener = new TextWriterTraceListener("debug.log"); Debug.Listeners.Add(listener); #endif Console.WriteLine("starting example"); BasicTests win = new BasicTests(); win.VSync = OpenTK.VSyncMode.Adaptive; win.Run(30); #if DEBUG listener.Dispose(); #endif }
public void PropertyConstrains() { var cardsPi = typeof(CardSet <>).GetProperty("Cards", BindingFlags.NonPublic | BindingFlags.Instance); Assert.IsTrue(cardsPi.GetSetMethod(true).IsPrivate); Assert.IsTrue(cardsPi.GetGetMethod(true).IsPrivate); var typePi = BasicTests.GetProperty <Card, CardType>(c => c.Type); Assert.IsTrue(typePi.GetSetMethod(true).IsPrivate); var colorPi = BasicTests.GetProperty <Card, CardColor>(c => c.Color); Assert.IsTrue(colorPi.GetSetMethod(true).IsPrivate); var comparisonsPi = BasicTests.GetProperty <SortSummary, uint>(s => s.Comparisons); Assert.IsTrue(comparisonsPi.GetSetMethod(true).IsPrivate); Assert.AreEqual(typeof(uint), comparisonsPi.PropertyType); var swapsPi = BasicTests.GetProperty <SortSummary, uint>(s => s.Swaps); Assert.IsTrue(swapsPi.GetSetMethod(true).IsPrivate); Assert.AreEqual(typeof(uint), swapsPi.PropertyType); }
public void TestLambdaOnDemandOrleans() { BasicTests.TestLambda(AnalysisStrategyKind.ONDEMAND_ORLEANS); }
public void TestInterfaceMethodCallOnDemandOrleans() { BasicTests.TestInterfaceMethodCall(AnalysisStrategyKind.ONDEMAND_ORLEANS); }
public void TestPropertyCallOnDemandOrleans() { BasicTests.TestPropertyCall(AnalysisStrategyKind.ONDEMAND_ORLEANS); }
public void TestNamedParametersOnDemandAsync() { BasicTests.TestNamedParameters(AnalysisStrategyKind.ONDEMAND_ASYNC); }
public void TestRecursionOnDemandAsync() { BasicTests.TestRecursion(AnalysisStrategyKind.ONDEMAND_ASYNC); }
public void TestForLoopOnDemandOrleans() { BasicTests.TestForLoop(AnalysisStrategyKind.ONDEMAND_ORLEANS); }
public void TestRecursionOnDemandOrleans() { BasicTests.TestRecursion(AnalysisStrategyKind.ONDEMAND_ORLEANS); }
public void TestFieldLoadInCalleeOnDemandAsync() { BasicTests.TestFieldLoadInCallee(AnalysisStrategyKind.ONDEMAND_ASYNC); }
public void TestCallInterfaceDelegateOnDemandAsync() { BasicTests.TestCallInterfaceDelegate(AnalysisStrategyKind.ONDEMAND_ASYNC); }
public void TestClassesWithSameFieldNameOnDemandAsync() { BasicTests.TestClassesWithSameFieldName(AnalysisStrategyKind.ONDEMAND_ASYNC); }
public void TestFieldAccessOnDemandAsync() { BasicTests.TestFieldAccess(AnalysisStrategyKind.ONDEMAND_ASYNC); }
public void TestForLoopOnDemandAsync() { BasicTests.TestForLoop(AnalysisStrategyKind.ONDEMAND_ASYNC); }
public void TestVirtualCallViaSuperClassOnDemandAsync() { BasicTests.TestVirtualCallViaSuperClass(AnalysisStrategyKind.ONDEMAND_ASYNC); }
public void TestNamedParametersOnDemandOrleans() { BasicTests.TestNamedParameters(AnalysisStrategyKind.ONDEMAND_ORLEANS); }
public void TestCallInterfaceDelegateOnDemandOrleans() { BasicTests.TestCallInterfaceDelegate(AnalysisStrategyKind.ONDEMAND_ORLEANS); }
public void TestGenericMethodOnDemandOrleans() { BasicTests.TestGenericMethod(AnalysisStrategyKind.ONDEMAND_ORLEANS); }
public void TestUpdateMethodSimpleCallOnDemandOrleans() { BasicTests.TestUpdateMethodSimpleCall(AnalysisStrategyKind.ONDEMAND_ORLEANS); }
public void TestVirtualCallViaSuperClassOnDemandOrleans() { BasicTests.TestVirtualCallViaSuperClass(AnalysisStrategyKind.ONDEMAND_ORLEANS); }
public void TestUpdateMethodStarOnDemandAsync() { BasicTests.TestUpdateMethodStar(AnalysisStrategyKind.ONDEMAND_ASYNC); }
public void TestFieldAccessOnDemandOrleans() { BasicTests.TestFieldAccess(AnalysisStrategyKind.ONDEMAND_ORLEANS); }
public void TestGenericMethodOnDemandAsync() { BasicTests.TestGenericMethod(AnalysisStrategyKind.ONDEMAND_ASYNC); }
public void TestClassesWithSameFieldNameOnDemandOrleans() { BasicTests.TestClassesWithSameFieldName(AnalysisStrategyKind.ONDEMAND_ORLEANS); }
public void TestFieldLoadInCalleeOnDemandOrleans() { BasicTests.TestFieldLoadInCallee(AnalysisStrategyKind.ONDEMAND_ORLEANS); }
public void TestAddMethodSimpleCallOnDemandAsync() { BasicTests.TestAddMethodSimpleCall(AnalysisStrategyKind.ONDEMAND_ASYNC); }
public void TestArrowMethodBodyOnDemandOrleans() { BasicTests.TestArrowMethodBody(AnalysisStrategyKind.ONDEMAND_ORLEANS); }
public void TestAddMethodOverrideOnDemandAsync() { BasicTests.TestAddMethodOverride(AnalysisStrategyKind.ONDEMAND_ASYNC); }
static void Main () { Console.WriteLine ("starting example"); BasicTests win = new BasicTests (); win.VSync = OpenTK.VSyncMode.Adaptive; win.Run (30); }