public void New_ShouldCreateANewInstanceOfGVariantType() { // Prepare string typeString = "ai"; // Execute var gVariantTypeArrayInt = new GVariantType(typeString); // Verify Assert.True(gVariantTypeArrayInt.GVariantTypePtr != IntPtr.Zero); }
public void IsOfType_ShouldLookForEqualTypeSuccessfully(string key, string expectedType) { // Prepare var gVariantType = new GVariantType(expectedType); var gVariant = _gSettings.GetValue(key); // Execute var result = gVariant.IsOfType(gVariantType); // Verify Assert.True(result); }