remove another dublicate test case
parent
a522375695
commit
b7275198e1
|
|
@ -133,12 +133,6 @@ mod tests {
|
||||||
use embedded_graphics::coord::Coord;
|
use embedded_graphics::coord::Coord;
|
||||||
use embedded_graphics::primitives::Line;
|
use embedded_graphics::primitives::Line;
|
||||||
|
|
||||||
#[test]
|
|
||||||
fn from_u8() {
|
|
||||||
assert_eq!(Color::Black, Color::from(0u8));
|
|
||||||
assert_eq!(Color::White, Color::from(1u8));
|
|
||||||
}
|
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn rotation_overflow() {
|
fn rotation_overflow() {
|
||||||
use epd4in2::constants::{WIDTH, HEIGHT};
|
use epd4in2::constants::{WIDTH, HEIGHT};
|
||||||
|
|
@ -165,8 +159,6 @@ mod tests {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// test buffer length
|
// test buffer length
|
||||||
#[test]
|
#[test]
|
||||||
fn graphics_4in2_size() {
|
fn graphics_4in2_size() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue