public async Task Zero_Sized_Type() { var sut = new BITFIELD( "hello", new BITFIELD.INCRBY(Signed(1), Zero, -9, Overflow.Fail) ); var result = await connection.ExecuteAsync(sut).ConfigureAwait(false); }
public async Task Return_Zero_On_Set_When_Key_Does_Not_Exists() { var key = fixture.NewKey(); var command = new BITFIELD( key, new BITFIELD.SET(Unsigned(32), Zero, 2_000_000_000) ); var result = await fixture.ExecuteAsync(command).ConfigureAwait(false); result.Should().Equal(0L); }