Add part one of day 3

This commit is contained in:
2021-12-06 23:37:37 +01:00
parent ddfa50a6af
commit 848495b886
6 changed files with 1180 additions and 0 deletions

24
tests/Day3Test.php Normal file
View File

@ -0,0 +1,24 @@
<?php
namespace Tests;
use AdventOfCode21\Day3;
/**
* @internal
*/
class Day3Test extends AbstractTestCase
{
public static int $part1ExampleResult = 198;
public static int $part1Result = 3309596;
public static string $part2ExampleResult = 'n/a';
public static string $part2Result = 'n/a';
public function setupDay(): Day3
{
return new class() extends Day3 {
use ReturnTestableResults;
};
}
}