Skip to content

Commit

Permalink
Remove find-by-slot tests (ordinals#567)
Browse files Browse the repository at this point in the history
  • Loading branch information
casey authored Sep 27, 2022
1 parent e1e25f8 commit 17bd13c
Showing 1 changed file with 0 additions and 71 deletions.
71 changes: 0 additions & 71 deletions tests/find.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,6 @@ fn first_satoshi() {
.run();
}

#[test]
#[ignore]
fn first_satoshi_slot() {
SlowTest::new()
.command("find 0 --slot")
.expected_stdout("0x0x0x0\n")
.blocks(1)
.run();
}

#[test]
fn second_satoshi() {
SlowTest::new()
Expand All @@ -26,16 +16,6 @@ fn second_satoshi() {
.run();
}

#[test]
#[ignore]
fn second_satoshi_slot() {
SlowTest::new()
.command("find 1 --slot")
.expected_stdout("0x0x0x1\n")
.blocks(1)
.run()
}

#[test]
fn first_satoshi_of_second_block() {
SlowTest::new()
Expand All @@ -45,17 +25,6 @@ fn first_satoshi_of_second_block() {
.run();
}

#[test]
#[ignore]
fn first_satoshi_of_second_block_slot() {
SlowTest::new()
.command("find 5000000000 --slot")
.expected_stdout("1x0x0x0\n")
.blocks(1)
.blocks(1)
.run();
}

#[test]
fn first_satoshi_spent_in_second_block() {
SlowTest::new()
Expand All @@ -72,46 +41,6 @@ fn first_satoshi_spent_in_second_block() {
.run();
}

#[test]
#[ignore]
fn first_satoshi_spent_in_second_block_slot() {
SlowTest::new()
.command("find 0 --slot")
.expected_stdout("1x1x0x0\n")
.blocks(1)
.blocks(1)
.transaction(TransactionOptions {
slots: &[(0, 0, 0)],
output_count: 1,
fee: 0,
recipient: None,
})
.run();
}

#[test]
#[ignore]
fn mining_and_spending_transaction_in_same_block() {
SlowTest::new()
.command("find 0 --slot")
.blocks(1)
.blocks(1)
.transaction(TransactionOptions {
slots: &[(0, 0, 0)],
output_count: 1,
fee: 0,
recipient: None,
})
.transaction(TransactionOptions {
slots: &[(1, 1, 0)],
output_count: 1,
fee: 0,
recipient: None,
})
.expected_stdout("1x2x0x0\n")
.run();
}

#[test]
fn unmined_satoshi_in_second_block() {
SlowTest::new()
Expand Down

0 comments on commit 17bd13c

Please sign in to comment.