File tree 1 file changed +0
-14
lines changed
1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -30,18 +30,6 @@ fn bool_nand() {
30
30
assert_eq ! ( a. fetch_nand( true , SeqCst ) , false ) ;
31
31
assert_eq ! ( a. load( SeqCst ) , true ) ;
32
32
}
33
- #[ test]
34
- fn bool_not ( ) {
35
- let a = AtomicBool :: new ( false ) ;
36
- assert_eq ! ( a. fetch_not( SeqCst ) , false ) ;
37
- assert_eq ! ( a. load( SeqCst ) , true ) ;
38
- assert_eq ! ( a. fetch_not( SeqCst ) , true ) ;
39
- assert_eq ! ( a. load( SeqCst ) , false ) ;
40
- assert_eq ! ( a. fetch_not( SeqCst ) , false ) ;
41
- assert_eq ! ( a. load( SeqCst ) , true ) ;
42
- assert_eq ! ( a. fetch_not( SeqCst ) , true ) ;
43
- assert_eq ! ( a. load( SeqCst ) , false ) ;
44
- }
45
33
46
34
#[ test]
47
35
fn uint_and ( ) {
@@ -170,8 +158,6 @@ fn atomic_access_bool() {
170
158
assert_eq ! ( * ATOMIC . get_mut( ) , true ) ;
171
159
ATOMIC . fetch_xor ( true , SeqCst ) ;
172
160
assert_eq ! ( * ATOMIC . get_mut( ) , false ) ;
173
- ATOMIC . fetch_not ( SeqCst ) ;
174
- assert_eq ! ( * ATOMIC . get_mut( ) , true ) ;
175
161
}
176
162
}
177
163
You can’t perform that action at this time.
0 commit comments