Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ test_alignment_center_odd
Function
test_alignment_center_odd
atomic-cli/src/output/table.rs:647–650 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
645
646
#[test]
647
fn test_alignment_center_odd() {
648
let aligned = Alignment::Center.apply(
"test"
, 11);
649
assert_eq!(aligned,
" test "
);
650
}
651
652
#[test]
653
fn test_alignment_no_padding_needed() {
Callers
nothing calls this directly
Calls
1
apply
Method · 0.80
Tested by
no test coverage detected