From 311f5ffc31d63b8e34fe226fcd68c231e17b399c Mon Sep 17 00:00:00 2001 From: Ali Elnour Date: Sun, 12 Nov 2023 02:46:02 -0600 Subject: [PATCH 1/7] test framework set up. run with 'gradle test'. TODOs in Stock.java --- app/bin/main/stock/App.class | Bin 644 -> 627 bytes app/bin/main/stock/controller/Algorithm.class | Bin 378 -> 0 bytes app/bin/main/stock/model/EventLog.class | Bin 273 -> 0 bytes app/bin/main/stock/model/Market.class | Bin 2027 -> 2073 bytes app/bin/main/stock/model/Stock.class | Bin 1206 -> 1195 bytes app/bin/main/stock/model/User.class | Bin 394 -> 1390 bytes .../test/stock/market/simulator/AppTest.class | Bin 598 -> 1178 bytes app/src/main/java/stock/model/User.java | 6 ++++-- .../java/stock/market/simulator/AppTest.java | 9 +++++++++ 9 files changed, 13 insertions(+), 2 deletions(-) delete mode 100644 app/bin/main/stock/controller/Algorithm.class delete mode 100644 app/bin/main/stock/model/EventLog.class diff --git a/app/bin/main/stock/App.class b/app/bin/main/stock/App.class index da815204b50bb585752533899c1c39bfccf31291..bed5ed8e91344b4c5da96f4d4f36bfc260f344d0 100644 GIT binary patch delta 249 zcmZo+{mjC3>ff$?3=9nR46+lsZq&0gh%z$pXC;;;>gOcprR%#E73CLkFo-iUl!fLM zr55Msl%=L9BPq>$Kl28sPZ9uor>kYoeP=rVAFMHqlQX)sF$0B+1duK)l5 delta 269 zcmey&(!$Dh>ff$?3=9nR4C)iPZq#!!h%$(?Gl(%V2xKLeCFP%Y?Gfb zS}}4=mS>XpvS(lhTF1a3xQRhzHv?njb_S_!4AR>eWH$l@nHac$Bo~loVBld8VBlro W2D88#7?c@QfILP9RUpa4pauYp-#7yR diff --git a/app/bin/main/stock/controller/Algorithm.class b/app/bin/main/stock/controller/Algorithm.class deleted file mode 100644 index 8fdbaa585f0806b638b23757a6a671dfe682e56a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 378 zcmZ`#%TB{E5F9rlp=n4;c}a*1H|T+U00;y~oFb3_RpRKRR_o%#lI!%pIG{=(@d11k zVjUjh!oikzW@mQR?;kI30M4)zqQkH|x4L}HN?lu{l@ca9R}*cdomL@yhW?B%c&2zg z$!?07C@q6;cs*tq#kHR49P`Wy7^RL&Xp^8Z($MA4mYOewCU^GSY} zJ96Q%Pg6bm4MvAXw=d?B64IsWf>_7(hf74mSHurXB+p2n2-?xfWR@JW@D!+@~( POM?w;QpK>C?cp%q)0@6HYak#_#|`iU#XBN_y9f%v4@h5 zW@cwryEEs@@dRLkZi0Z&+d5nPh>cz9QcU-{a?-96M1<~I?Ug81wGtosS{IJccr%r8 zV?y}yx*$aFe3c@^LmM#~giM-B&v%<#*Iz0xHQ`CxLX`_u8?XP&$bFkFp)c=cj|l0f z-PMJj8ULa4Uux+4;2E6G{lQE=l`&x@ZW@RO2Q+`#2#_-RHTa;#*uKp%bB7h-kugAa E1x^S!f&c&j diff --git a/app/bin/main/stock/model/Market.class b/app/bin/main/stock/model/Market.class index fd612799086703582a94ebbcd26c6de5ed306c5f..1929534f2b546f460ed7d0d095091fb6ee604b12 100644 GIT binary patch delta 445 zcmZ{fJ5K^Z6ot?1;x5@h#Ks3;6crUV5h@Fb8bw4CM3nV`FIZ(o9xepXmd0P;R$7=? z*=jVHXkxE_#KPa8c!9>o=FFTs_d6%^)p=!;K7L-_0L&u)AUSwZs#J?d`J^H9;hKn5 zhMt^yuKEh9p7F)2<*c5WKg$-+0TCjyl z26MI8j$|Z!)i_m{K&tqU0Myk9s#N<`9V@G?^k*>p3$Zw575lu%qrDv4NVYLJm# z)^)8MEU1-=RuPe5a2tM;n-`INbajYa?HU|R^y!ILL=(@5MfmAE*u77XZM}8aZF8y1 z8M(iXwXF+|IfdKCr(DOzJrO)cNbL|vT`*$^Rt&>IQy1Mm7=@c&yzO*yW8}|(D4GaM3n1g*8laEue=(Dw^0L|vNz delta 400 zcmZXQ&n^Q|6vn?ZGo2Yt!=wwUO8l!Xv0#3JikZzLUD_m_wuTbK0Q@ z7uOIW@g70tN1PD8peo3chn)>}1mv*E WcRN>mj22p|qtr?h4seJgbpHS-Q%kP^ diff --git a/app/bin/main/stock/model/Stock.class b/app/bin/main/stock/model/Stock.class index 0fefa2e73c89a81f0fc734bb0952d01f6c434bb5..ec9735f7f38a80b5bda1a821a2f85cbdb9c816d4 100644 GIT binary patch delta 241 zcmXYqK~BP85QX3LZz+Ebn6MxLc61@BNY%Db3W23@>s`13D_ppkW8gv)bfJj{aO(xU z2MOU7x|w}%rV3bCnn&L$VvHB&Pml_d7*RzT);&iEsPK|E1H>kS8$J{`c-hJ+^R+4 v2Riy}Mzm90Rd&o?p7)|12Cw>OLQjxktb3Ci!9>SyL6VcK+`^wS>Yz9R@xLDQ delta 258 zcmXX#M)=+Kb%ZgSb+@VWueo@dvpBFu-kx?abh^!J_!DU9F8hEhrfLja@(hCW6dXJ*L zYD@T2eANR#$4EAMKzV|wl0)tyz7`zN*~^di88SsIzdB~ci)6YbOZ$;*LiXKGoEhyF F(tqheA#wl! diff --git a/app/bin/main/stock/model/User.class b/app/bin/main/stock/model/User.class index c25a36bfd9f14fbd16d9bfcef5deff5d24985b55..bf707a0ac4fa3a75b70f668b427429e3f3734227 100644 GIT binary patch literal 1390 zcmaiyZEw<06vzLUrw&>fFvQI<1#w#H96Dosq1j$ANtTf91xjLkV=33!t%IcxOZ*Ui z6^#kR#20=5Ka}y@QW*7L(q*_M zal55J61RD}4fRLzLlIC{u!1bHodtGE?T8-ISGwg z9yR+Sg{B|}nIuCVj>tOPvi$imRMb$%v#E+AGOlTybDLo;CV*jO;C&7dx!%~b4c;-u zaI<1&yJ87Yry7#9Fli*jsOT>thT>c5-M3VrZx!4iE0cmAjlKo)T4Wj7wDtqV?|#@C zeKY=H3T66NW&yZ~3V95-uuk8wc!G_u5pf|_ycsL5M#be=@g3ZqXHLwj(k7^Vi)3Dp z72iW65bx8B5~Rs!jVU&+o6h;CRhr|LPpHhIg2u&A?)!sb*p6paqpTXS>PuJ;=BxvH zNl}-iHNH$yi^4?m?FE=LFHD*j_7G~&WIKS#+Pevwn;)iVMu94=ZgT-B&w(-l#hx%c y`X6u@1Kc6t<0ZfyikNNBbN|_Bqps_kt=--Ng3W7U*bTPz$#TStC5Wef?!CV`eZ9Z{ delta 63 zcmaFI)y2$p>ff$?3=9nR43ZPMN`-}^eXuQvI4c7K6N3Z*p$rlr diff --git a/app/bin/test/stock/market/simulator/AppTest.class b/app/bin/test/stock/market/simulator/AppTest.class index eb1ac3777e6044b6b11408337aaf5d2ed324dbee..04549312add0c2bf100389c1c337512bedfaef2c 100644 GIT binary patch literal 1178 zcmaJ>%Wl(95Ir|>n@8O|+!uXN0--c%p{Bec1(FsDl|qn6h*UP!ZDJ*E9XqmbD)Av~ zSh0dN3ur|p)`)LHh`Ej-RG@A=zB6~uoH;Z0_n%+B0(gi=5ri1#J>fL=^$vIU4WWBx zr)P2DxO%DEtr?z(Kw(Jj@dK_~+-~X5clV5jU>IIAZBsm82w-}~h z^lV{vjJoNWgjlj|M{r>}HUXx}j@#1rdc;weZ4@HV7-Ib@)LI;A#G;sBm?7MZ*LHeV zGt=e=MuulvK?!+jO2rvWGmNwhF(^Hr%a;e5RE0}~3USQhYy@*ueNepQd4?-g%;Oxx zDEChlM^t*2#ju$B7v(QcU+aR@H_@;t_odw=IjJ4u6DUT#kT`L_u^l;*2re?D1376Z zmR^+uj^YvnD@Bo`*>&68?QmuN8xThp%W`Iy8Sq z&tg@@HC!h`{Z4Cck0!6=UiDLMs<`zhMZE4(N)~ri+{Ha&C2`EAzfoH#6 zAYA$)Ku;#Om!1(i>0}w%p`}AaKhjHx)Pf%dRE*HO+P^?{luk4ziiVI3Zl%adpbGgy zWVK_Yw-1T1Hop8BlSh~tpeB3@2}CJ7jg*f*+0P2lqf|ZPlV!N@-#VXsFHk#1c3WG} z78Najh@~Tn*LN){$}i$z5Mg9U3(YG^EzZv= zOHENo&d)8#%t3!obYH u2y{NzZU(_fA>r)|qWgh7CI&7b$p)6;X5a?0c_6BQG%t|H$RGh$B?$oCH9+A2 diff --git a/app/src/main/java/stock/model/User.java b/app/src/main/java/stock/model/User.java index 0996430..3b70d9c 100644 --- a/app/src/main/java/stock/model/User.java +++ b/app/src/main/java/stock/model/User.java @@ -45,10 +45,12 @@ public void decreaseStress(int value){ } public void sellStock(Stock ticker){ - stocks.remove(ticker); + // TODO: commented out temporarily to facilitate testing + // stocks.remove(ticker); } public void buyStock(Stock ticker){ - stocks.add(ticker); + // TODO: commented out temporarily to facilitate testing + // stocks.add(ticker); } } diff --git a/app/src/test/java/stock/market/simulator/AppTest.java b/app/src/test/java/stock/market/simulator/AppTest.java index 4ff29f7..dae920f 100644 --- a/app/src/test/java/stock/market/simulator/AppTest.java +++ b/app/src/test/java/stock/market/simulator/AppTest.java @@ -5,6 +5,7 @@ import org.junit.Test; import stock.App; +import stock.model.Stock; import static org.junit.Assert.*; @@ -13,4 +14,12 @@ public class AppTest { App classUnderTest = new App(); assertNotNull("app should have a greeting", classUnderTest.getGreeting()); } + + @Test public void stock_init() { + Stock test_stock = new Stock("A", "pharma", 1, 100); + assertTrue(test_stock.get_name() == "A"); + assertTrue(test_stock.get_type() == "pharma"); + assertTrue(test_stock.get_id() == 1); + assertTrue(test_stock.get_price() == 100); + } } From 0f6e2be833ac5ee852a3f901cbe1825f6cc797fa Mon Sep 17 00:00:00 2001 From: Ali Elnour Date: Mon, 27 Nov 2023 20:44:57 -0600 Subject: [PATCH 2/7] updated gitignore --- .gitignore | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index ff92460..4ec837c 100644 --- a/.gitignore +++ b/.gitignore @@ -5,4 +5,5 @@ build # Ignore class files -.class \ No newline at end of file +.class +*.class \ No newline at end of file From 374ae35578cc42d915bc101876599ffb0d00a646 Mon Sep 17 00:00:00 2001 From: Ali Elnour Date: Mon, 27 Nov 2023 20:47:09 -0600 Subject: [PATCH 3/7] used double star wildcard to target all class instances --- .gitignore | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 4ec837c..e4d37c0 100644 --- a/.gitignore +++ b/.gitignore @@ -5,5 +5,4 @@ build # Ignore class files -.class -*.class \ No newline at end of file +**.class \ No newline at end of file From c50a847039744b0c72de8d85c3aac7e640e637ca Mon Sep 17 00:00:00 2001 From: Ali Elnour Date: Mon, 27 Nov 2023 20:49:22 -0600 Subject: [PATCH 4/7] added bin subdir to gitignore --- .gitignore | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index e4d37c0..e105331 100644 --- a/.gitignore +++ b/.gitignore @@ -5,4 +5,6 @@ build # Ignore class files -**.class \ No newline at end of file +**.class +bin/ + From db10809ebab37f42d9a0e0946c6f3c39ab020355 Mon Sep 17 00:00:00 2001 From: Ali Elnour Date: Mon, 27 Nov 2023 20:49:39 -0600 Subject: [PATCH 5/7] added bin subdir to gitignore fix --- .gitignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index e105331..9510903 100644 --- a/.gitignore +++ b/.gitignore @@ -6,5 +6,5 @@ build # Ignore class files **.class -bin/ +bin From 17c9512a191fa7875a0136b15c272eae66b3e1c9 Mon Sep 17 00:00:00 2001 From: Ali Elnour Date: Mon, 27 Nov 2023 20:52:27 -0600 Subject: [PATCH 6/7] cleared gitignore cache --- app/bin/main/stock/App.class | Bin 611 -> 0 bytes app/bin/main/stock/controller/Algorithm.class | Bin 1549 -> 0 bytes app/bin/main/stock/controller/EventRoller.class | Bin 1248 -> 0 bytes app/bin/main/stock/controller/events.txt | 14 -------------- app/bin/main/stock/model/Market.class | Bin 2073 -> 0 bytes app/bin/main/stock/model/Stock.class | Bin 1195 -> 0 bytes app/bin/main/stock/model/User.class | Bin 1600 -> 0 bytes app/bin/main/stock/view/mainUI.class | Bin 891 -> 0 bytes .../test/stock/market/simulator/AppTest.class | Bin 681 -> 0 bytes 9 files changed, 14 deletions(-) delete mode 100644 app/bin/main/stock/App.class delete mode 100644 app/bin/main/stock/controller/Algorithm.class delete mode 100644 app/bin/main/stock/controller/EventRoller.class delete mode 100644 app/bin/main/stock/controller/events.txt delete mode 100644 app/bin/main/stock/model/Market.class delete mode 100644 app/bin/main/stock/model/Stock.class delete mode 100644 app/bin/main/stock/model/User.class delete mode 100644 app/bin/main/stock/view/mainUI.class delete mode 100644 app/bin/test/stock/market/simulator/AppTest.class diff --git a/app/bin/main/stock/App.class b/app/bin/main/stock/App.class deleted file mode 100644 index 5ad00522193f1ec6b467e75a54bd52cc87d610cc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 611 zcma)3%WhgR6r95&zy(UmBS~M9*+Ha)eW_AaQ63AFE@-K$uFS*WGsjZ}BRJ6rnKlHoWe9uP9ecBBHNQ79pcEkdQIjk=gmhsu4B!$=XTJsZksAe~O?bu;6y z^o&sKJv`XuYOMU3Q_5>ICe&N)-sb(jciipf@svN#JLUpQ>!15gbVPY6faL)WaV5B5p#vE52W@66n zFOmPshZF+FY}j6g|%#dy?@acAF13X`tn!#deyS&k*V~Xy%T2was)6>EL~Y}xWBTF!eJr*;JkkLSI6?>YC}kNM-#Zw~>i;u9S) zf!R*z+s&fwx5L2qJSQlwdAok#hI=g?nm}gX`phbNR(rR2V|(ARLjf(Y+B*U#>&ny( zU9WhPH-4)mkX&}#Znz>4&*iu1dd=T)48)N#p<_hHSRZj9%z%m1C}=T}KvE!GciYZJ zx3%pAx2$c?kzBrQd0STC%5!w7g?nyCV6OiE5}46Q+xa4F>{xdNvbo5$#jL#Ix)n5? zu$132a0;_JX2^2{HE1_+8gl}pyH40pR(j>~1KR6uCoHA#EY9jUBQXA?D$-)&IXurS z+|UWE&<_NrhoWoIJrQ2Sc^&5n{{*3LHSrR1ET_~WFxf{KXiG^)LEyw-{+qJ12J3pk z!~!k~j45lw-eWf%mB~;<0TMGkMv>D|l5v-?KU!ij)n#!~V8Z(U`+fXjDp4c+}kR zKkb()^K_vE5-JOUi6Mj|a#m-!({~U0-9Gme((-?Vudv@^o1tYl*R2CJC33bdn^?iB zfFY|__Pc7Lv|Kq~Hju}fiL1C4HTWQKZH^nYR;2B16BS%1=27#lZP#-{4ifD(iCi=B z4&G&~M6P(g#pWb(l}f&nT>bm|zl_TVKS-DxCf>vQbn9@2A_^^6kqeTNyVTf;k`iTd z+1(&;+Q*Kf!nXGBI^l5+qQ-gXxVvpd|9KzR*z~)B?NnU3Hsi;;d{NF6N0GU6`2~O6 zG(O{e=VJ0X%F|VK1~P?vFbWS~-oA(NUy=Tawir(EIj-VIpwU0gxRbmy6@h(T zI)si>I@ed{*pnhAcO}aIPbwUtbG7gb(&-+SYZP*2N#nD;n2?t#vxn;8Bo}uC zR+UfnSY%ZRlAT(`O>8pLG{xP*2Q0=E3$TR`DRP0*KjK@GSUPUgsw=?;VvkUW$HWyu Lb$7@f!^i&ukk3tI diff --git a/app/bin/main/stock/controller/EventRoller.class b/app/bin/main/stock/controller/EventRoller.class deleted file mode 100644 index efec969fcfe1188208566e0ab3660572aaf16174..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1248 zcmaJ>X-^YT6g{sCrFDeTQm8DYuC%2x?prHJj3!O0CSWl7g$(VaJ}fh2I&H*XrHPb8 z6XR!pl<~Zo7KYIHVcy(#mvhfuX8!#B@e9B@Hev_~EOcDE@kwvkmh0H)Y*wmnH;neS;Yf8KC?oDi$!6#3|C<&2F>^Nf z@L&iqu133KcR9N0!eAc3)+_eQ8VV?~10DH=L|AuC@mNAB}5Zd3BN(^_0od{%9(f2hxz(YnGO%6CSm{VZSD#Z^1Lh`9GtG5s* zix9wK;b{`sIk!5q!&1+!=gMfy$gL1aY}s9>VZM}VK*_-8v8omUmpSz?zo;-mYDIX9 z@fN~3AFjfgJE!h>3NF`0+I`OnOj6tP5P*E?7|GJg5z?if$h<$s>=CjQ=O`{5Vey-X zu*7qQ`9Q=7(c;9L#srp-MBcN7c;?CO3g1fdxm~5Kk&~|(rzCI<*Lf-q9b&0kily&Z z4D(3$aU;^~qf}Lw`94;EWHE-j%=7ImDzuilHEd6lvu!i)CazB6%NhKqN)W wBRpoh9Em?ch0y|4JUwZ~nny&ZR*{UVRHsQ)H-UK%*smfw02chCDJswY0T5XZIsgCw diff --git a/app/bin/main/stock/controller/events.txt b/app/bin/main/stock/controller/events.txt deleted file mode 100644 index 7689f36..0000000 --- a/app/bin/main/stock/controller/events.txt +++ /dev/null @@ -1,14 +0,0 @@ -#ALL EVENTS GO ON A NEW LINE, THEN ADD THEIR EFFECT TO THE CLASS YOU DESIRE -#ALL LINES BEGINNING WITH '#' and '\n' or newline ARE COMMENTED OUT, use snake case, all must be longer than 2 letters - - -#STOCK EVENTS -oil_crash - - -#Market Events -crash - - -#USER Events -donated_50_dollars \ No newline at end of file diff --git a/app/bin/main/stock/model/Market.class b/app/bin/main/stock/model/Market.class deleted file mode 100644 index 1929534f2b546f460ed7d0d095091fb6ee604b12..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2073 zcmaJ>TT>iG6#ja4VPF};E!-~wLIS%O)~NBq5+bZ%Ru@9DD@dY}VHsiAVTPLRP072z zz$eSMJo&0s1~gRpZ29be@JD!wU(XE1aw#9Cr~CBj?|k1mr~CJRU;YZ<9?Cj2f%b~@ zO6ByPw`Do$CDSikQb$~%b=Q1mrXADWPCwY(wMtT;u_Db)+p*<=fXE5Nebe0{LOyV< zO4~_4qQ%?G2-F9#72?$F=Ix5)USq-Dc1>CJErA>7wrBFSd(?N*sd*S1!5D) zRff)zZvrv28ED289UUi(YiK0Ujy4@#0v)Fe=X~EhP(%{wL|Y>SdJQxpp`7~-3}8?| zcdf5v&ZXq|L@t?APS*_7p+3Rch=EaD7icc|mMN``6QRnL%v$ocYb{szHZ8wsZaS3M zp7%@z3Q`BEGprfIkHJ>t& z#_IyzduG|ndTz;-Yqs3sjFojI`E*WXqi8|p3(~jU?Tn5$1lleXMrGqI19$MYKvR?r z*W9Dzt0(koQR4Hz0V>V!8JLDrsnWdYcqS9gvMwfY8+TPbS?1(KD7qHlq9wPOTy4Vp znAb5UaOJehs=x-a_<+df7MrxQ7B6h*O!6^z-Rd5@*=C11mXwyyMOGjYh~1C}`#}Lu z??RLjfx5tht#zh?g`i>C90h5X%1h>cP;MO$nDp}?^Htl~vit;=(WZt+1_~&Wh`GOS zsf#smSuvth8FgaSz?w>agY-gPY}l{>y%%zIa*o;xUezyIi?(Xcrm*Lx6ggg@dC!v- z>6`mYmfZ2SDhYgnr#dzS#!l(m?lZ4!rNfY68!eh8>G=n$zXB?KSbXP45eDP4l(>=05Zn0 zF9@RGnhAOZ-Gm!PD{i6=5tn9${uW2;5uu3+`!H`&ttN{m)gB}Jb4Q_e8k+%Ff$(`Pvj*=XoU7R>cn3> zs;Q?hQurNLac)l?W0_@H$t$IOXO&J49^zp@z5e;DKPl`JmB)~NSgH|r!zhb&o#DsW zFQY8O&479;M31O9@c${+89RY%5%qow2&pTY326VIS;w;IVuZ)EXn2Cp_;28;O@1X< NfuF#a*ugG({{w%g+Fbwu diff --git a/app/bin/main/stock/model/Stock.class b/app/bin/main/stock/model/Stock.class deleted file mode 100644 index ec9735f7f38a80b5bda1a821a2f85cbdb9c816d4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1195 zcmZuvYj4s}7=8}4uwu7yXY7`Z=~lYAdYLz7<_8lJ7NUt55N*7zu$gu^!gpkF&f;CLt;pt znIBBUG2O25vUO&)eFn)jdlo~wK1nrv&vv`Vl=CmnDHpLj46Mc=pL=$j0<6lQ41BX? zJGOtp5PNF7wtvD<*5=2|M{3n_lZHPhatTC{Qn83MLsTm_6)ulW zX-*PGJ(obo>P}Iml+v~Qw_`;KT4*|nNSaV-krz!#y}alHB4YO+=Q_xt6GJnY>Ht=G8~~ zHIn-N2pRoggq*%HLP0M`BNTsN?aehdDsoZIV)F`HdQrZ@%@MS()E9wH-(4|Tg+!AT zn!QA`Gf1LH-x9J^lf!-Fu}`%p0Ui!;n><1myqT~#^N6rGcfQvV|5<2m327X{pjw7I zxI1QV(91hz{Tqs3$O!1fL~upGsX@UQj^Q2=30ALAH3y67JGACxnV@@BbmxPL|72r= z4hKEL-gwS53GMR?iSxb@z@ zqA{V8XyOm>M;YgA>)O^5ZuXorXXcrAX3qZl{rx9^Eo@5&FbvsFLqE=*G-}+;zP7m~ zAwTKzD)Up?Zw!yxI}so`iQ11mDbZPz|EbfZzP;i4`uw>NvOZTM8tyfyr zBpJh{hOU_v%`(KfZ45ad3@T%|OO5CoNs$k^Q~28@l2a7?83kcP7!q{Z-86A~Pk|(E z<8<5AK?>g$4rv7gh!WfGV29F0QET{2GhGszpu29g7*G!|Zq#*)Yc?;p#}Z2KWhx@Y zssb4?3aRmKkEqQ})9W6?*E7eBpM=@pcj(fI2ve7F?g1*CK*&zy}bx6I$i24J`gG=0OV*IP;eT%+vFHZy^ z+6_{MNwO)e7~IAbofz)mZkv~-Rq(><1*SjKCIA76c*aCWaM%x??Hiox4NmqAp2NJK zIpAkr_|lVkqHk~pYCAYjIs-zdnrdSDU-7bMouU@s@d#rrueNqk*P>S&!~OoOR4;3W zShLr#mVDM0HDBnG)YPXY7J6ZGlzhGeCi%i7U)VClOvJ1UZCFe_xWLNfyCzn8ff@QC z)DB?G2gV2}o({v>Rlr&w;1U6suK_;5!?wa5Dpr&$)9V>u{D$>6y#iP1ZLf9kWM80+ aCwS@!%w5Ub{ExRzyp3ykTcjv}=YIfP)AE@B diff --git a/app/bin/main/stock/view/mainUI.class b/app/bin/main/stock/view/mainUI.class deleted file mode 100644 index 8e137728598b0923438b9de6c1ca6a151ce87304..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 891 zcma)4O>fgc5Pcg$z6hjEKlp}i4k+bNUpNs2LKRd+5g?_hggCA3O|p&cwbtvT{ZHJH zK!Q6z3Nagp0%|~5^4hcWX5P+w`|bOuF94o_S5abE&#Vrn-b~547YmgP5349MteuFN z@FJ0ny*K`e3@k%qBw`hv`68GyZ1x@C)XV0IAg|tvL`FTr#KKIaO)30|@xM}fYvJnjva+PppGp^?eAE`(-8fap@i8|U0Tiu03g@yxbNT;5g zx7DZ8*Lmzqb0la4hIU^EB03gExp=u*wiA^xZ1gYqLlTzVc^J04?^kiuaEoE*-@1`( zWO87nu=05l4kmhjFg#?qQfw{!WO%Tgp|CL0rnmbS-v>H3fqY3KFw_omwdcIV4#;J? zY$bXxqe5!~Rn+KPrc9k8Vx;I1p_t2lM)O_!+DEK?rKp4rS}ThT-6r~P7AS0Co1!|d x2vyv4H+0mF%PI=@U8+*}HmTDho7?zBmV%jJcz zE<}T&Gv`-4Ex9VvPm{UG9mCFRsib?uu+={sGc?}msfe(JR*Y@zFzjbiiBYwf2y?+F zrC{h~I_Kq>8|nQz*l;sx8ItV(ECvL~m&=db4nG(noKywF(dSAzxe#M%B_R%#(vCZ+ z6#;fKZHjbW5y#YzF$mFPXsx@@Xc4+-HF1~Wm~az2(^WZ5X8cMdJSplHzUW?z`#56Q zEri>&KIori8%@rgAwq))5AZ0&L+ZY1KD1UC7vlt{3~j#hM%s<4vSfJP{}<)2$Xe@x z*LN>3>F*acB{^vv;!`U|vyeE^xvoqu-b*iZOfg^d$}_}c(2i)|KtM0r4c#GmDOpB# z`^7by-&W~}Zl4Br=>YM%fNYyQB0<>z`*l@^tOpuVEFjzah3?mD+{t Date: Mon, 27 Nov 2023 20:53:49 -0600 Subject: [PATCH 7/7] repermitted bin subdir to allow events text file --- .gitignore | 1 - app/bin/main/stock/controller/events.txt | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 app/bin/main/stock/controller/events.txt diff --git a/.gitignore b/.gitignore index 9510903..ddbf91b 100644 --- a/.gitignore +++ b/.gitignore @@ -6,5 +6,4 @@ build # Ignore class files **.class -bin diff --git a/app/bin/main/stock/controller/events.txt b/app/bin/main/stock/controller/events.txt new file mode 100644 index 0000000..7689f36 --- /dev/null +++ b/app/bin/main/stock/controller/events.txt @@ -0,0 +1,14 @@ +#ALL EVENTS GO ON A NEW LINE, THEN ADD THEIR EFFECT TO THE CLASS YOU DESIRE +#ALL LINES BEGINNING WITH '#' and '\n' or newline ARE COMMENTED OUT, use snake case, all must be longer than 2 letters + + +#STOCK EVENTS +oil_crash + + +#Market Events +crash + + +#USER Events +donated_50_dollars \ No newline at end of file