Implement iced_test::run entrypoint for ice testing
This commit is contained in:
parent
e136e14b7c
commit
6a6a2ac8c5
6 changed files with 149 additions and 22 deletions
|
|
@ -5,7 +5,7 @@ use crate::instruction;
|
|||
|
||||
#[derive(Debug, Clone, PartialEq)]
|
||||
pub struct Ice {
|
||||
pub viewport: Size<u32>,
|
||||
pub viewport: Size,
|
||||
pub mode: emulator::Mode,
|
||||
pub preset: Option<String>,
|
||||
pub instructions: Vec<Instruction>,
|
||||
|
|
@ -110,8 +110,8 @@ impl std::fmt::Display for Ice {
|
|||
writeln!(
|
||||
f,
|
||||
"viewport: {width}x{height}",
|
||||
width = self.viewport.width,
|
||||
height = self.viewport.height
|
||||
width = self.viewport.width as u32, // TODO
|
||||
height = self.viewport.height as u32, // TODO
|
||||
)?;
|
||||
|
||||
writeln!(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue