Format fill.rs, which the last release left past the width limit
This commit is contained in:
@@ -745,8 +745,16 @@ mod tests {
|
|||||||
tile: 64,
|
tile: 64,
|
||||||
seen: Vec::new(),
|
seen: Vec::new(),
|
||||||
};
|
};
|
||||||
let tiles = fill_border(&mut rgb, 300, 40, &known, &mut model, test_params(0), &mut |_, _| {})
|
let tiles = fill_border(
|
||||||
.unwrap();
|
&mut rgb,
|
||||||
|
300,
|
||||||
|
40,
|
||||||
|
&known,
|
||||||
|
&mut model,
|
||||||
|
test_params(0),
|
||||||
|
&mut |_, _| {},
|
||||||
|
)
|
||||||
|
.unwrap();
|
||||||
assert!(tiles > 0, "no tile fitted a picture shorter than the tile");
|
assert!(tiles > 0, "no tile fitted a picture shorter than the tile");
|
||||||
for i in 0..300 * 40 {
|
for i in 0..300 * 40 {
|
||||||
if !known[i] {
|
if !known[i] {
|
||||||
|
|||||||
Reference in New Issue
Block a user