From fda040980fb0498dd2c5013f191aaa84bc4bdcb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20LAVERGNE?= Date: Fri, 12 Apr 2024 19:19:57 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9E=95=20=20Ajout=20des=20tests=20unitaires?= =?UTF-8?q?=20pour=20la=20classe=20Cell?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/Trek-12/Tests/CellTest.cs | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 source/Trek-12/Tests/CellTest.cs diff --git a/source/Trek-12/Tests/CellTest.cs b/source/Trek-12/Tests/CellTest.cs new file mode 100644 index 0000000..3056193 --- /dev/null +++ b/source/Trek-12/Tests/CellTest.cs @@ -0,0 +1,13 @@ +namespace Tests; +using Models; + +public class CellTest +{ + [Fact] + public void CellConstructorTest() + { + Cell cell = new Cell(0, 0); + Assert.Equal(0, cell.X); + Assert.Equal(0,cell.Y); + } +} \ No newline at end of file