mirror of
https://github.com/Anshorei/epd-waveshare.git
synced 2026-10-03 22:06:43 +00:00
remove another dublicate test case
This commit is contained in:
@@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user