add edgecase game

This commit is contained in:
kai
2025-06-14 13:33:51 +02:00
parent 298200c445
commit 4a2d6fb17a

View File

@@ -45,4 +45,13 @@ TEST(test_reproduction) {
check(end(1, 1), 1);
}
TEST(test_survive_edge) {
Matrix start = Matrix::zeros(10);
start(0, 0) = 1;
start(9, 0) = 1;
start(0, 9) = 1;
Matrix end = init_step(start);
check(end(0, 0), 1);
}
int main() { return 0; }