public void SwapNull() { // Arrange var builder = new Decimal128Array.Builder(new Decimal128Type(24, 8)); // Act builder.Append(123.456M); builder.AppendNull(); builder.Swap(0, 1); // Assert var array = builder.Build(); Assert.Null(array.GetValue(0)); Assert.Equal(123.456M, array.GetValue(1)); }