Skip to content

Commit 0df7364

Browse files
author
leocth
committed
temporarily remove tests because I'm not sure if we need them
1 parent 7d5f236 commit 0df7364

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

library/core/tests/atomic.rs

-14
Original file line numberDiff line numberDiff line change
@@ -30,18 +30,6 @@ fn bool_nand() {
3030
assert_eq!(a.fetch_nand(true, SeqCst), false);
3131
assert_eq!(a.load(SeqCst), true);
3232
}
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-
}
4533

4634
#[test]
4735
fn uint_and() {
@@ -170,8 +158,6 @@ fn atomic_access_bool() {
170158
assert_eq!(*ATOMIC.get_mut(), true);
171159
ATOMIC.fetch_xor(true, SeqCst);
172160
assert_eq!(*ATOMIC.get_mut(), false);
173-
ATOMIC.fetch_not(SeqCst);
174-
assert_eq!(*ATOMIC.get_mut(), true);
175161
}
176162
}
177163

0 commit comments

Comments
 (0)