Skip to content

Commit

Permalink
temporarily remove tests because I'm not sure if we need them
Browse files Browse the repository at this point in the history
  • Loading branch information
leocth committed Jun 25, 2022
1 parent 7d5f236 commit 0df7364
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions library/core/tests/atomic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,6 @@ fn bool_nand() {
assert_eq!(a.fetch_nand(true, SeqCst), false);
assert_eq!(a.load(SeqCst), true);
}
#[test]
fn bool_not() {
let a = AtomicBool::new(false);
assert_eq!(a.fetch_not(SeqCst), false);
assert_eq!(a.load(SeqCst), true);
assert_eq!(a.fetch_not(SeqCst), true);
assert_eq!(a.load(SeqCst), false);
assert_eq!(a.fetch_not(SeqCst), false);
assert_eq!(a.load(SeqCst), true);
assert_eq!(a.fetch_not(SeqCst), true);
assert_eq!(a.load(SeqCst), false);
}

#[test]
fn uint_and() {
Expand Down Expand Up @@ -170,8 +158,6 @@ fn atomic_access_bool() {
assert_eq!(*ATOMIC.get_mut(), true);
ATOMIC.fetch_xor(true, SeqCst);
assert_eq!(*ATOMIC.get_mut(), false);
ATOMIC.fetch_not(SeqCst);
assert_eq!(*ATOMIC.get_mut(), true);
}
}

Expand Down

0 comments on commit 0df7364

Please sign in to comment.