From f594a3fd7cd6c5b7b41d4a11776dec5d78afaa18 Mon Sep 17 00:00:00 2001 From: Thoumi Ngonga Brice Date: Wed, 8 Feb 2023 17:24:59 +0100 Subject: [PATCH] Add Uni Test AIGridGUI --- src/test/java/AIGridGUITest.java | 14 ++++++++++++++ .../BattleShip/BShip$NewGameListener.class | Bin 0 -> 1448 bytes target/classes/PingPong/CollisionChecker.class | Bin 0 -> 1269 bytes target/classes/PingPong/GamePanel$AL.class | Bin 0 -> 731 bytes target/classes/classpath.index | Bin 0 -> 230 bytes target/test-classes/AIGridGUITest.class | Bin 0 -> 536 bytes target/test-classes/classpath.index | Bin 0 -> 96 bytes 7 files changed, 14 insertions(+) create mode 100644 src/test/java/AIGridGUITest.java create mode 100644 target/classes/BattleShip/BShip$NewGameListener.class create mode 100644 target/classes/PingPong/CollisionChecker.class create mode 100644 target/classes/PingPong/GamePanel$AL.class create mode 100644 target/classes/classpath.index create mode 100644 target/test-classes/AIGridGUITest.class create mode 100644 target/test-classes/classpath.index diff --git a/src/test/java/AIGridGUITest.java b/src/test/java/AIGridGUITest.java new file mode 100644 index 0000000..88d7aba --- /dev/null +++ b/src/test/java/AIGridGUITest.java @@ -0,0 +1,14 @@ +import BattleShip.AIGridGUI; +import org.junit.jupiter.api.Test; + + +public class AIGridGUITest { + + AIGridGUI aiGridGUI = new AIGridGUI(10, 10); + + @Test + public void testMoveUpForValidInput() { + + } + +} diff --git a/target/classes/BattleShip/BShip$NewGameListener.class b/target/classes/BattleShip/BShip$NewGameListener.class new file mode 100644 index 0000000000000000000000000000000000000000..30306bad3527117da4e09f298abf8bd9f6003bad GIT binary patch literal 1448 zcmaJ>TTc@~7(LS#mM$YyZsG+ML@hNu@k#U`(`fE=1a$$mkis|VXdrKP}xz> zne$xfs$5O)ZjL?JyHag{p(9#tIKNs?3+v(7hhB!pfQ$^LY*Cie4D7Cn12||P&C!Pp z!;a7;T}#eWo$PQ~S)O}Y&l!?4QWd?5UnW^?>Asq-h@+tchd2)72!TtU@TZH`3j%lE z``fPx=~nVeI^hRLIgWwECwy-qAW3;G_XNjDoixgxU2)t%=T38+!C3-|it@;q|8V9w z>E5(a>!15xZ?yJw)Y`Bc=?qBAs5ea;Y%W-? zoUAw{>E9A1n=&m0uPp34!ngE#C7ICe%FwfkYh!2Uh*E^sPf7og=R5ka_Cz{i)9Hk2 zm|)no-Y%O#KvyjG~$8uYzSh!}t_pF40&|7~noG)7Vi% z;R?oRMfi}7x&q_K*SOd%#6#3_W)W-=TWXplYlY0HaEcj0PR3h A00000 literal 0 HcmV?d00001 diff --git a/target/classes/PingPong/CollisionChecker.class b/target/classes/PingPong/CollisionChecker.class new file mode 100644 index 0000000000000000000000000000000000000000..2d52a613ecb4efd8fcd3887a0b3928600b61caa4 GIT binary patch literal 1269 zcma)6TTc@~7(LS#mM*2VrGQv3cy9rz`dTrB#tTWc1PCgL57X|@4lFxl*`j|&6Q6w5 z7d1Zk1N>3OZ+53;F~zva&TYT%ob#QT*DOtK0o1AmwTOR zv$ZeU0mJA+>B-;`L$X}iu`!0U1v`UrWEk?N;p<)?I>KidlU}gH-JS?D)@@`lX(5+E z9)&X*Yf8C-dkofz4sY%;%#?R4jZ;h$QL|CRw1t@rW^sX`5JvE~L3NW9l2(_vY@!wZ zF)bW3%$6gRGcmQwu7!&Xa~sm@Y$z(Ru3T3hOXbzOqJ5ynr|QZfu*rt>#EafxOZeNo zrQr(=)#mOF_obej#Z=Ih#8zsYi&!Hqj&!zFuif2NM@@fC1%Wzz>~sjTW>kiD8~dI(=qMc-np~f^A@+jEjPfuu{!#g>c;)#%-lncI0vw~dUrHzF z(%INjJ-;oUNL}Le-@Cr7j}xw8j;?}!M!@uCpteM_D)mgSE_?&~LW2Y@QL8`e(96_j z%=ikf(u`rAz@lWKZx^kV7Qe#!fUNG8==}&Q^$DrucT9Yy&&e316++HOX^0>R0M~IN zq$%MhjS{#;d80@clB-(ZZQL=GPYq>yk%*=YL0q#PBS;Sj(kP=65~Q&}qXdl?v1CA- z)N6Bcx`6lRi_eDGGg0gSJBPcWcrAGZiSbpfczIyb8>6`RAMWI1;)?@ow!`!^J_MUU*{^9lxz$WSiXvpZuns|X6VcPM6b0-YW8++nHIwFvM zwPh1>$u}>qejrTQql%`1JPJAt6E9&BD&NJGXo#OlLte=sX&lPymMgl6j2QIE3%q2D zkg2U57f{5wj*^K9lnLcgG$G#=uItN_kA#V#x04>S@f45p7JXWa=lmA!{DN>NlVpjIIB{WN%qf%OSXk3?n{sj5dRJ{xPry d1{U6+%HRy%vR1=8tfq4jwbY)k$B$_Z^avYYmlXg2 literal 0 HcmV?d00001 diff --git a/target/classes/classpath.index b/target/classes/classpath.index new file mode 100644 index 0000000000000000000000000000000000000000..674a749cb72a387a028a406035bc08a3d7e87b28 GIT binary patch literal 230 zcmb1OU}0cjU<6_qP-1^jv#RyHMPZbpSdA5L!wg;Cl{2Dqr^Dps_OE*2ciWLW1SY_6 zQ3uXs$e+N#5ac0v1R=t}a7GlF$H4HH)1eU}qET@t0mKsZx^kL<;mTtMhVs+y fDH&lhtAl~TuXAE{(mMu*m2VjsrmZMB$iM&q&L%e( literal 0 HcmV?d00001 diff --git a/target/test-classes/AIGridGUITest.class b/target/test-classes/AIGridGUITest.class new file mode 100644 index 0000000000000000000000000000000000000000..09e5c68b0f3557886d7a56f338a496d3f31e369f GIT binary patch literal 536 zcmZuuT}uK%6g{(=o13PYS(Y!osX_Y#`Tz}-1uIBf=yB9RN7mhCo%Mh95JEvepdS_8 z*(4Eqn8Uqy?m73)nXm8nPXITlSul_?kXso@ zZ@4CQ8Om+0lqdRA8QLwU8_99^*|A{4(kgolJ9WotxLM?}Z=#Sx5eE$Uzt(|RkZzXC zHI<>#`%m(UA$=E&1w)}Heen>_hawvAp+}WcFBoyp<&o6+x|mi|xzOEPqe$jh(a8H? zDW1bl5V_owW5*9;+M@at`%2D*D;JW4TD~7Bu4LeoPOTS26MGiZ^9e(#L}c?&+IoKy zwfaFEjYLN#`)rN8)HdRr3^2%MMu#jQG$