Esempio n. 1
0
        public void ExceptionOnInvalidTimerTypeTest()
        {
            PSharpRuntime runtime = PSharpRuntime.Create();

            Exception ex = Assert.Throws <AssertionFailureException>(() => runtime.SetTimerMachineType(typeof(NonMachineSubClass)));
        }