1
0

First commit

This commit is contained in:
2024-07-30 11:01:26 +00:00
commit ae059d7b8b
51 changed files with 5065 additions and 0 deletions

26
tests/AVRTest.php Normal file
View File

@ -0,0 +1,26 @@
<?php
declare(strict_types=1);
namespace SimAVRPHP\Tests;
use SimAVRPHP\AVR;
use Psr\Log\NullLogger;
use PHPUnit\Framework\TestCase;
use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(AVR::class)]
class AVRTest extends TestCase
{
public function testStepNOP(): void
{
$avr = new AVR(new NullLogger);
$avr->setMemory("\00\00\00\00");
$avr->step();
}
}