Update copyright notices

This commit is contained in:
2023-04-23 11:58:57 -05:00
parent 3839e90b15
commit 92dc899510
14 changed files with 32 additions and 10 deletions

View File

@@ -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::*;

View File

@@ -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);
}