Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

seq: add the unit test even if they are failing for now #6236

Merged
merged 2 commits into from
Apr 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions tests/by-util/test_seq.rs
Original file line number Diff line number Diff line change
Expand Up @@ -758,6 +758,33 @@
.stdout_only("0.00\n0.10\n0.20\n0.30\n0.40\n0.50\n");
}

#[test]
#[ignore = "Need issue #6233 to be fixed"]
fn test_auto_precision() {
new_ucmd!()

Check warning on line 764 in tests/by-util/test_seq.rs

View check run for this annotation

Codecov / codecov/patch

tests/by-util/test_seq.rs#L763-L764

Added lines #L763 - L764 were not covered by tests
.args(&["1", "0x1p-1", "2"])
.succeeds()
.stdout_only("1\n1.5\n2\n");
}

Check warning on line 768 in tests/by-util/test_seq.rs

View check run for this annotation

Codecov / codecov/patch

tests/by-util/test_seq.rs#L767-L768

Added lines #L767 - L768 were not covered by tests

#[test]
#[ignore = "Need issue #6234 to be fixed"]
fn test_undefined() {
new_ucmd!()

Check warning on line 773 in tests/by-util/test_seq.rs

View check run for this annotation

Codecov / codecov/patch

tests/by-util/test_seq.rs#L772-L773

Added lines #L772 - L773 were not covered by tests
.args(&["1e-9223372036854775808"])
.succeeds()
.no_output();
}

Check warning on line 777 in tests/by-util/test_seq.rs

View check run for this annotation

Codecov / codecov/patch

tests/by-util/test_seq.rs#L776-L777

Added lines #L776 - L777 were not covered by tests

#[test]
#[ignore = "Need issue #6235 to be fixed"]
fn test_invalid_float_point_fail_properly() {
new_ucmd!()

Check warning on line 782 in tests/by-util/test_seq.rs

View check run for this annotation

Codecov / codecov/patch

tests/by-util/test_seq.rs#L781-L782

Added lines #L781 - L782 were not covered by tests
.args(&["66000e000000000000000000000000000000000000000000000000000009223372036854775807"])
.fails()
.stdout_only(""); // might need to be updated
}

Check warning on line 786 in tests/by-util/test_seq.rs

View check run for this annotation

Codecov / codecov/patch

tests/by-util/test_seq.rs#L785-L786

Added lines #L785 - L786 were not covered by tests

#[test]
fn test_invalid_zero_increment_value() {
new_ucmd!()
Expand Down
Loading