File tree Expand file tree Collapse file tree 1 file changed +5
-11
lines changed
tests/Valkey.Glide.IntegrationTests Expand file tree Collapse file tree 1 file changed +5
-11
lines changed Original file line number Diff line number Diff line change @@ -18,17 +18,11 @@ public async Task GetBit_ReturnsCorrectBitValue(BaseClient client)
1818 await client . StringSetAsync ( key , "A" ) ;
1919
2020 // Test bit positions in 'A' (01000001)
21- bool bit0 = await client . StringGetBitAsync ( key , 0 ) ; // Should be false (0)
22- bool bit1 = await client . StringGetBitAsync ( key , 1 ) ; // Should be true (1)
23- bool bit2 = await client . StringGetBitAsync ( key , 2 ) ; // Should be false (0)
24- bool bit6 = await client . StringGetBitAsync ( key , 6 ) ; // Should be false (0)
25- bool bit7 = await client . StringGetBitAsync ( key , 7 ) ; // Should be true (1)
26-
27- Assert . False ( bit0 ) ;
28- Assert . True ( bit1 ) ;
29- Assert . False ( bit2 ) ;
30- Assert . False ( bit6 ) ;
31- Assert . True ( bit7 ) ;
21+ Assert . False ( await client . StringGetBitAsync ( key , 0 ) ) ;
22+ Assert . True ( await client . StringGetBitAsync ( key , 1 ) ) ;
23+ Assert . False ( await client . StringGetBitAsync ( key , 2 ) ) ;
24+ Assert . False ( await client . StringGetBitAsync ( key , 6 ) ) ;
25+ Assert . True ( await client . StringGetBitAsync ( key , 7 ) ) ;
3226 }
3327
3428 [ Theory ( DisableDiscoveryEnumeration = true ) ]
You can’t perform that action at this time.
0 commit comments