ft: add first basic test

This commit is contained in:
2025-05-25 21:20:12 +09:00
parent 35207d23f0
commit 8ea91d80b8
4 changed files with 41 additions and 8 deletions

View File

@@ -6,7 +6,7 @@ use crate::{
};
use core::fmt;
#[derive(Debug, Clone)]
#[derive(Debug, Clone, Eq, PartialEq)]
#[allow(dead_code)]
/// A single 'line' of executable ASM is called an Instruction, which
/// contains the `Mnemonic` that will be executed, alongside its starting offset
@@ -46,7 +46,7 @@ impl fmt::Display for Instruction {
}
}
#[derive(Debug, Clone)]
#[derive(Debug, Clone, PartialEq, Eq)]
#[allow(dead_code, non_camel_case_types)]
/// All possible mnemonic variantions.
/// These are sorted by type and are not in hex-encoding order.