|
|
|
|
@ -133,12 +133,6 @@ mod tests {
|
|
|
|
|
use embedded_graphics::coord::Coord; |
|
|
|
|
use embedded_graphics::primitives::Line; |
|
|
|
|
|
|
|
|
|
#[test] |
|
|
|
|
fn from_u8() { |
|
|
|
|
assert_eq!(Color::Black, Color::from(0u8)); |
|
|
|
|
assert_eq!(Color::White, Color::from(1u8)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
#[test] |
|
|
|
|
fn rotation_overflow() { |
|
|
|
|
use epd4in2::constants::{WIDTH, HEIGHT}; |
|
|
|
|
@ -165,8 +159,6 @@ mod tests {
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// test buffer length
|
|
|
|
|
#[test] |
|
|
|
|
fn graphics_4in2_size() { |
|
|
|
|
|