Update copyright notices
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
// (c) 2023 John A. Breaux
|
||||
// This code is licensed under MIT license (see LICENSE for details)
|
||||
// When compiled, the resulting binary is licensed under version 3 of the GNU General Public License (see chip8-test-suite/LICENSE for details)
|
||||
|
||||
//! These are a series of interpreter tests using Timendus's incredible test suite
|
||||
|
||||
pub use chirp::*;
|
||||
|
||||
@@ -3,6 +3,7 @@ use chirp::*;
|
||||
use std::{collections::hash_map::DefaultHasher, hash::Hash};
|
||||
|
||||
#[test]
|
||||
#[allow(clippy::redundant_clone)]
|
||||
fn chip8() {
|
||||
let ch8 = Chip8::default(); // Default
|
||||
let ch82 = ch8.clone(); // Clone
|
||||
@@ -125,6 +126,7 @@ mod cpu {
|
||||
use super::*;
|
||||
//#[derive(Clone, Debug, Default, PartialEq, Eq, PartialOrd, Ord, Hash)]
|
||||
#[test]
|
||||
#[allow(clippy::redundant_clone)]
|
||||
fn clone() {
|
||||
let cf1 = Flags {
|
||||
debug: false,
|
||||
@@ -259,6 +261,7 @@ mod quirks {
|
||||
dma_inc: true,
|
||||
stupid_jumps: false,
|
||||
};
|
||||
#[allow(clippy::clone_on_copy)]
|
||||
let q2 = q1.clone();
|
||||
assert_eq!(q1, q2);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user