Added I/O demo system

CLean up of unused components and functions
This commit is contained in:
Jan-Peter von Hunnius 2025-09-29 21:42:37 +02:00
parent 77ede95bce
commit 7d06837608
20 changed files with 714 additions and 1924 deletions

View file

@ -7,7 +7,6 @@
use rusty_emu::component::Component;
use rusty_emu::components::common::intel_400x::*;
use rusty_emu::components::memory::intel_4001::Intel4001;
use rusty_emu::pin::PinValue;
use std::time::Duration;
#[cfg(test)]
@ -88,9 +87,6 @@ mod intel_4001_integration_tests {
assert_eq!(rom.get_address_latch_time(), Some(test_time));
}
#[test]
fn test_common_functionality_with_real_component() {
let mut rom = Intel4001::new_with_access_time("ROM_4001".to_string(), 1);
@ -202,7 +198,6 @@ mod intel_4001_integration_tests {
assert_eq!(rom2.get_timing_state(), TimingState::Idle);
}
#[test]
fn test_performance_characteristics() {
// Test that the common functionality maintains expected performance characteristics
@ -282,7 +277,6 @@ mod intel_4001_integration_tests {
assert_eq!(base_for_reset.get_name(), "ROM_4001");
}
#[test]
fn test_cross_component_compatibility() {
// Test that components using the same traits are compatible
@ -337,7 +331,6 @@ mod cross_component_integration_tests {
assert_eq!(rom2.get_timing_state(), TimingState::AddressPhase);
}
#[test]
fn test_timing_consistency_across_components() {
// Test that timing behavior is consistent across different components