예제 #1
0
 public void InstanceIsNullable()
 {
     this.value.Instance = MI_Instance.NewDirectPtr();
     Assert.NotNull(this.value.Instance);
     this.value.Instance = null;
     Assert.Null(this.value.Instance);
 }
예제 #2
0
 public void DirectInstanceTableAccessesThrowWhenNotInitialized()
 {
     Xunit.Assert.Throws <InvalidOperationException>(() => MI_Instance.NewDirectPtr().Delete());
 }