mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
seq: add the unit test even if they are failing for now (#6236)
* seq: add the unit test even if they are failing for now * improve test Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com> --------- Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
This commit is contained in:
parent
2c67775cef
commit
d63bc4a4e1
1 changed files with 27 additions and 0 deletions
|
@ -758,6 +758,33 @@ fn test_format_option() {
|
||||||
.stdout_only("0.00\n0.10\n0.20\n0.30\n0.40\n0.50\n");
|
.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!()
|
||||||
|
.args(&["1", "0x1p-1", "2"])
|
||||||
|
.succeeds()
|
||||||
|
.stdout_only("1\n1.5\n2\n");
|
||||||
|
}
|
||||||
|
|
||||||
|
#[test]
|
||||||
|
#[ignore = "Need issue #6234 to be fixed"]
|
||||||
|
fn test_undefined() {
|
||||||
|
new_ucmd!()
|
||||||
|
.args(&["1e-9223372036854775808"])
|
||||||
|
.succeeds()
|
||||||
|
.no_output();
|
||||||
|
}
|
||||||
|
|
||||||
|
#[test]
|
||||||
|
#[ignore = "Need issue #6235 to be fixed"]
|
||||||
|
fn test_invalid_float_point_fail_properly() {
|
||||||
|
new_ucmd!()
|
||||||
|
.args(&["66000e000000000000000000000000000000000000000000000000000009223372036854775807"])
|
||||||
|
.fails()
|
||||||
|
.stdout_only(""); // might need to be updated
|
||||||
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_invalid_zero_increment_value() {
|
fn test_invalid_zero_increment_value() {
|
||||||
new_ucmd!()
|
new_ucmd!()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue