From d90cdf2975383c8be19e6cc54a3aaaa4f5847867 Mon Sep 17 00:00:00 2001 From: Ksenia Date: Sun, 9 Aug 2026 20:04:39 +0300 Subject: [PATCH 1/7] =?UTF-8?q?=D0=9D=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB?= =?UTF-8?q?=D0=B0=20=D1=82=D0=B5=D1=81=D1=82=D1=8B.=20=D0=97=D0=B0=D0=BF?= =?UTF-8?q?=D1=83=D1=81=D1=82=D0=B8=D0=BB=D0=B0=20pytest.=20=D0=9A=D0=BE?= =?UTF-8?q?=D0=BC=D0=BC=D0=B8=D1=82=20=D0=BF=D0=BE=D1=81=D0=BB=D0=B5=20?= =?UTF-8?q?=D0=B8=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD=D0=BD?= =?UTF-8?q?=D1=8B=D1=85=20=D0=BE=D1=88=D0=B8=D0=B1=D0=BE=D0=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- __init__.py => praktikum/__init__.py | 0 .../__pycache__/__init__.cpython-314.pyc | Bin 0 -> 196 bytes praktikum/__pycache__/bun.cpython-314.pyc | Bin 0 -> 1611 bytes praktikum/__pycache__/burger.cpython-314.pyc | Bin 0 -> 4202 bytes .../__pycache__/database.cpython-314.pyc | Bin 0 -> 2849 bytes .../__pycache__/ingredient.cpython-314.pyc | Bin 0 -> 2060 bytes .../ingredient_types.cpython-314.pyc | Bin 0 -> 424 bytes bun.py => praktikum/bun.py | 0 burger.py => praktikum/burger.py | 0 database.py => praktikum/database.py | 0 ingredient.py => praktikum/ingredient.py | 0 .../ingredient_types.py | 0 praktikum.py => praktikum/praktikum.py | 0 requirements.txt | 2 + tests/__init__.py | 0 tests/__pycache__/__init__.cpython-314.pyc | Bin 0 -> 192 bytes .../test_bun.cpython-314-pytest-9.1.1.pyc | Bin 0 -> 3449 bytes .../test_burger.cpython-314-pytest-9.1.1.pyc | Bin 0 -> 28554 bytes ...test_database.cpython-314-pytest-9.1.1.pyc | Bin 0 -> 12358 bytes ...st_ingredient.cpython-314-pytest-9.1.1.pyc | Bin 0 -> 5117 bytes tests/test_bun.py | 25 +++ tests/test_burger.py | 206 ++++++++++++++++++ tests/test_database.py | 77 +++++++ tests/test_ingredient.py | 35 +++ 24 files changed, 345 insertions(+) rename __init__.py => praktikum/__init__.py (100%) create mode 100644 praktikum/__pycache__/__init__.cpython-314.pyc create mode 100644 praktikum/__pycache__/bun.cpython-314.pyc create mode 100644 praktikum/__pycache__/burger.cpython-314.pyc create mode 100644 praktikum/__pycache__/database.cpython-314.pyc create mode 100644 praktikum/__pycache__/ingredient.cpython-314.pyc create mode 100644 praktikum/__pycache__/ingredient_types.cpython-314.pyc rename bun.py => praktikum/bun.py (100%) rename burger.py => praktikum/burger.py (100%) rename database.py => praktikum/database.py (100%) rename ingredient.py => praktikum/ingredient.py (100%) rename ingredient_types.py => praktikum/ingredient_types.py (100%) rename praktikum.py => praktikum/praktikum.py (100%) create mode 100644 requirements.txt create mode 100644 tests/__init__.py create mode 100644 tests/__pycache__/__init__.cpython-314.pyc create mode 100644 tests/__pycache__/test_bun.cpython-314-pytest-9.1.1.pyc create mode 100644 tests/__pycache__/test_burger.cpython-314-pytest-9.1.1.pyc create mode 100644 tests/__pycache__/test_database.cpython-314-pytest-9.1.1.pyc create mode 100644 tests/__pycache__/test_ingredient.cpython-314-pytest-9.1.1.pyc create mode 100644 tests/test_bun.py create mode 100644 tests/test_burger.py create mode 100644 tests/test_database.py create mode 100644 tests/test_ingredient.py diff --git a/__init__.py b/praktikum/__init__.py similarity index 100% rename from __init__.py rename to praktikum/__init__.py diff --git a/praktikum/__pycache__/__init__.cpython-314.pyc b/praktikum/__pycache__/__init__.cpython-314.pyc new file mode 100644 index 0000000000000000000000000000000000000000..205e67e98b55c003d4dcafd0fec91757a951cafe GIT binary patch literal 196 zcmdPqrY?vOx4>5CH>>P{wCAAftgHh(Vb_lhJP_LlF~@{~09tB@Re9Tg6D`*XpWf03`Y7Ghzv=xN^atsd(WY(vQ1627EL8Np5wG2v zeuNW#)rb0s0(R1ybkL#R(R=y<=%L=%aKdT14iv}l8@Kc}E~gOwhZm_>;wKecll-h2`~iZ7Yver5PDf5_SS-|xGqCKs9TwxD47*k zqNb-Hl~$T^%~RQg5Psw($#Uo`ArcCFx&7xyVDG=((BC8JhiMx%?hy(N{ZqP`-qZK> zPECKSAEY-??jx!bh3$dgMloBBOR{-A@KxhOFIg3@HP)rKs>0RQTH{(PURdAA#)a_W zxT!o92$4+#|AkS_7%orFgFI=o9==; zfrVYE#RE9edULG97dw_L!7k~px}6o0AX*t}5;}N(eqN4)XO0kI90HweJWn;3Oq%4- zW{=ODy<2`fQ~jnQr=a-P1NQS`-5Mh#veoek}r9p*52iKoIv&gPkviTy7cgh(=iMwMWwZog^R zFcWy0^^|DPyGsIY6pJ!dZze69peFf8G`S4XxN+x(cFvg`x zTy90Q$B=x{@}j>Ec`2&?-MpQs>m?D=C9i-y*+h4rSa#9rRWN*J0(%Zx>zMkhR|2em q5w>|j6uO9WiFa78%O~h!Ue-IZ4wE^Z=H%GsocF9rUhOgv6Yw`E*^?ju literal 0 HcmV?d00001 diff --git a/praktikum/__pycache__/burger.cpython-314.pyc b/praktikum/__pycache__/burger.cpython-314.pyc new file mode 100644 index 0000000000000000000000000000000000000000..1df65267e78c948ea732dfaaaf682f7913f7fe42 GIT binary patch literal 4202 zcmb_f|8o<^72iAQq?0V$GDemQ#6BCheosI-RLK?F{4oWRkkLA))*UcNIaNo5@UOI{hKP;kr}j$G*3BCkfew zkm>&LcJJ-mw{Ji1%kIUR8vO*?pMHPwyx<|^ANb)kw>?-t41*#$O%mL3GRkROCyx2! z{HRNFv9as8dsNVbP7)$rB;gK|gfPTgt2Ix;vztV{U*cz!Gu=N*tJ)%Gx{emI(D{#N z&rxMEtz@;7wZNkGYO?-5d?#V|H;Kk2h{m7xYOXet16wqAf)5i-7$^ItG7ll0rhRimhXq%Q+q>i6q6s^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fwa$)RADc`3(KY{SIr5?rd9f7ven}cGOGgapNJ%=XcaGd2xc^4^ z*z3lz*GtFV&|f~KpL$c@dHP{Mc9PN;oNc<^G}kuoz9lY*Wof{W21?RCy>n=3R1Y6| zARb;7o0&*>e*3MCg^p6!fG!Q{;e8Lpp)ZKdTG#tVY@uO?pj?uH02alFRE8y@S=Onh_iE`cRP${i4_g^3utUmw% literal 0 HcmV?d00001 diff --git a/praktikum/__pycache__/database.cpython-314.pyc b/praktikum/__pycache__/database.cpython-314.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c0da6e15e55c34875d135a3e8335a11023ba3c7f GIT binary patch literal 2849 zcmb_dU2Gdg5Z?38dF}iWrD>AV))&H$to(sm34|(C(gxxxveJtasjA89a=tXzIOnjp z29hVY{InHFfhQ0`LKPr2Jf%QIfHveYk9Ue8(Mc6Zh=;tj1d%*4yN=_8TBw4o?Ah6! z+1dGKXXe^#Ya$57m!H0IaXo<0Z+uZ2uohz@0aG50AXSQ^K8ZEGljuRyUnRklYelH(~uP zXnm&$#XHU&_g(kxu81z}!Vv=Aj}YG20zi4xg@%!}BNnS2?O`;qBPlZj!7^XsQrxN- zDjG?bp62+rr6}C-A1p~D%ll->r}`^eDm`h*d6+Ar3zrm9BDwiW4FFDvBOiNk{vVq` zK)l~JWx&2aHmi$h0efiQu$OJ(eZyY18Los~jX=Rw&4foYnm(b7=B%0U>*FRf1RH{0 z!5Omya(5;?o@I)y<#b~vVrO$y(W#+L&Q$5+X2vWEJXz1NjKMsdHmxk^QZEG5)-D){ zSjY>2E!(Rycbbsx$=cMEVWlbWhLqP5l{w)RGzaa=HZo&2FPta;907Xj`IPe^)b-bH z-hC6Q`+H|0<$UH|aX*04pI4msov%b^xDDOnvaVp zrl>Z-%!%A&D!tulx~8T*Oo(Zjj1aHB)PTB5TQzXK-2krS(OR_iYT&)_T4(pwKmj-Z zimPYC*TSo~*~QJDG<x zy`l^ja1!i2DD7|t23M410S{FacRFX2E6Pv-4_C0=v(&e&uPAB(4^}wbvvlU)Z1*h1 zg=0VC8SZigq)QtvuR9Qn2MdC)Wel2fqjlmL3G*o{t3w2cF;!?k|T_sf~mC zQX(eNTF{~OK#J*GbgWi;O*1pvXvQF-6q9W#XoO1aMF&iwS$vw|=C2wGx1WYDMr+7Pxn zm>vjQV>vpzd&kiV(c2~G7H$3vB8aPXQMWGY;HYpBu!;xb*Ck>RUip?b$+IOw$YeI1 zgBKz^k6z7bnQciOA!8=BS;n*sD+}TfA?d762t5E+Xe%dA0Pz|j9U=EjooI|vb2P^c z8`SG}C9G~_GK2tL5o{i#lOjVX|F{Z*fw3P4vULRj-1qr{_zzqg9FjH_$kTf~SvO^f z{$KnF1SWBegOSk+4 rhffrP_5wWymvTHd&!u~QNs{iOrr*(#yQuvaG_)zVNXiBRA`brzZOvkn literal 0 HcmV?d00001 diff --git a/praktikum/__pycache__/ingredient.cpython-314.pyc b/praktikum/__pycache__/ingredient.cpython-314.pyc new file mode 100644 index 0000000000000000000000000000000000000000..7a4835bc11838139dcd490cf79a9f97e8fcb7d7a GIT binary patch literal 2060 zcmbVMO>7%Q6rS0&owbuRDM?72R>H&xFjOg}Afc*4NSwGtWkJpX(_vX}$~K#Im>o-` zC#OY?DpeFtPzi}cPvMl7Mm7BjH_o%SYOkEQB{IT2^4_x@yZp2YPntI~-^{%E-Zww5 z9vaOtupfW;;(Xa)>^JQ6EY)qaW}(qwQ|x(WvuS4YH((~3VzyCaCDZM6JH9){S^@MO zSobkg+-Ax+%a!>otHFAeDzlT^Hl|r%*(UgLl_n%bNScrgAsIr32pJ;8A|y+QW#?43 z%v8=E1|B0x?!EAw^s2rWs`{_6eNKO`cl2$&t?$KG3%aQv=%3;SbZaF>l z{_dansRCeI@dmBAtG96RJ>4wC>v|`?6tBao8~+iopts}o_#$iw;hXxG!plz%RXRp{ z={x$C-h!#X3?die%g7M`jW9KphwyJ{4;Lz5BNuL zG~`Y2{J077q<+VvNyhwrjf7fT^^#QRtawR!Rr;=1G7>XVGD$B5HAg`&vs9BSj!H&_ za04fbs=lj)h%nMz*74|1X& zcc8wkoAI^E8Cg5;xvKJ^6D^Aql~w61D}TAZQt30CUtLQ^gmA*JrX1x7kxciGcz$re z0xHoQxJM1vW@h@x9=c6)7pt2msrtE2U<+n3w|Bd-gXw^LR_hgLG}z*Jh$z`&A?!)d z7GDc-CYjBOY?CjP%p`>>${|1{k|?E;ROAIq5>KiRN4VdMU~&{1i6w*|`XFU8@mN9~ zkdiqJ^BU~oWbtbD;p7assoAe`avaddE<~3*YZYMRNf+Wc2gZg>!?YwLJyn-siA#L` zB|{EFB}c$@kCs@u*xk=L8eTP%+Z8^K+EhneM<~Rb=uR z=mQ5#cauwuAK}ujM%iF#S?Ed~ft7=zSeQP&*ujg_1Bp;ylC>*q+M4MT`Tvs0 z=YYr41(|?ZvVd;?oNf-Jxe7;LkXfA^m`-O2K8d7`%uzUN(&bKW*4c)rEJQINj? Dja>yg literal 0 HcmV?d00001 diff --git a/praktikum/__pycache__/ingredient_types.cpython-314.pyc b/praktikum/__pycache__/ingredient_types.cpython-314.pyc new file mode 100644 index 0000000000000000000000000000000000000000..2e13608ca0bb9a8b6791f9de4456651957bf27bf GIT binary patch literal 424 zcmdPqrY?vW@`h#~=<2FhUuhg@B9(h9HI#h9Jfg#vrB=rXXfz22GaIBA^7< zh4~k@UTgs3_6s{MHeT3$Ve5sx7j|6Os&KJU;bIezwg19~3wti?PyjObUf2v$dSMGl z!G*m*>3tVA>2U=+hB~_{JZhK>)N^6q#pa8RTyCB|KAwK=U_qd^4ItBj^sWmVxNfn6 z)!$-=s`1lgzQrCNpOT*(AAd^}s42+R#naUvHjx23mY$NP`EJR!X~hT_W)f3^4E4C-3Ih?e@sA8 zepYI7NlZv$ady06OhHj%c1dP-X>LqrUV2e#N@i+aNqk9VL29vHLFFwDo80`A(wtPg qB2dtS0=ZZMNPJ*sWMurv#KOq(fr~*>;R1u`4JqYI4B|x`KuG|t@~{v9 literal 0 HcmV?d00001 diff --git a/bun.py b/praktikum/bun.py similarity index 100% rename from bun.py rename to praktikum/bun.py diff --git a/burger.py b/praktikum/burger.py similarity index 100% rename from burger.py rename to praktikum/burger.py diff --git a/database.py b/praktikum/database.py similarity index 100% rename from database.py rename to praktikum/database.py diff --git a/ingredient.py b/praktikum/ingredient.py similarity index 100% rename from ingredient.py rename to praktikum/ingredient.py diff --git a/ingredient_types.py b/praktikum/ingredient_types.py similarity index 100% rename from ingredient_types.py rename to praktikum/ingredient_types.py diff --git a/praktikum.py b/praktikum/praktikum.py similarity index 100% rename from praktikum.py rename to praktikum/praktikum.py diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 000000000..9955deccd --- /dev/null +++ b/requirements.txt @@ -0,0 +1,2 @@ +pytest +pytest-cov diff --git a/tests/__init__.py b/tests/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/tests/__pycache__/__init__.cpython-314.pyc b/tests/__pycache__/__init__.cpython-314.pyc new file mode 100644 index 0000000000000000000000000000000000000000..8ab8000cb7f009deaaa4669e73c19f35a01dbc12 GIT binary patch literal 192 zcmdPq_I|p@<2{{|u7+5(Oljtzs@r zzp&xL=8Fv%n=fp?u+%OniK1US>&ryk0@&Ee@O9{FKt1RJ$TpphY0} Q6oVL_m>C%vipQB|8@SE ze`da!Cz~3R2)=JWId$SY8KFEE!cPsD+AuKl=om7k1BgnZm4}szycG?rG`7{ZXjB7> zd>}roQ++FHLmkLeHX>8)hkp4-6Q=Y8GGaHmaL|yL@WCPw@QTPtW5h;`DP@qUy()#tO?e~g53Dr)0R6y}qJDH!rHL$}Nizl$ zi?jG4+odq6*;LV*vbU$pq>#7sN;D{hQow_(*WQDo%%hwX+77pbBP}agWh5wBXyxtn zOC3?>>DRN;0IbUNcz58kUz%t`s2%0PMMEQ6eYDTRk|eWQpJb*Ezt$)B2fn6c$~iss zUaP_@nfHL(#Fo1$t#p5M1Wl?OODmzxuqF}j_V5)07 z788e>@Z-W#Jh5Mto%KRrz3{Xz`29XpFYIv>&`VcWS6Y0x-vH^wy*cj#Z^`?-I$u5K zec^rSUCntPRnJ%7_dfNO(%xn7v+CR4*WOp&60}#rW2ySCceQ#cH$qA$>^#jKvfN3$ zGso-Y3JRquX38_HOOy}<92OQzLo1}{;(Un^i1o{p2~aHa@BHI1YWHIx^XPU1YHqo_ z?fa(37L*^FTP~fxaN5&57fxS11I^<4YIEnZ9{krqe> zgZ^wJMGS|Xz~dTt1kw%OiEmgd4$O;yZ7XqgQlth3{Kz&K?G<j6bL<17y@ma*kdcYZ^)35VmcOxjWJ7NJXIR2I5zMN7*AI$hu^Ir zHDf$pATD(ZMY~u6h34O-Or5gGBul{!3XYT%W^M8~WF!2Xur`cc3b$V#TNG@g6<9im zU59brfeUY}kf(VYu3-$%_{KUVgz-n;kXUe{^8PsC4}148kU!3&dGvEEb^gd(N0wvl z)mZz7M}I}?Q(6tFTKt!!9P6s3fV;)HTS=rf+}pE9c>V^SJ))u_laXY4_!JP^lx@cT zgfsp{4HtTb*e3~;m?a_=gYpU;5u1Dm43#yOi8VSq+&T7T9r l{c~h582I#EegbYOk|h0v&^zc{|?^>(WQ$s*R=%4Z2vaJ9B literal 0 HcmV?d00001 diff --git a/tests/__pycache__/test_burger.cpython-314-pytest-9.1.1.pyc b/tests/__pycache__/test_burger.cpython-314-pytest-9.1.1.pyc new file mode 100644 index 0000000000000000000000000000000000000000..08f4e2b51b44b7765a68f1ad786e647509aebf79 GIT binary patch literal 28554 zcmeHQTWlQHd7iz`UdZJ|cT3{Z5^1g|^RA0U%aJ3?kz!k6#?~^eX>M2KlHO>^U7lI$ z!oaO;ClLh)mD2>NQWOY*_Q67dz;;_yNMfVSQyzCES|lbm5)^&$8!Z`i;g|OR&&)Y9 zJ3M=nN!NBbApbq*%(>5*@4uYObk^4eB)HsfUHtBU@0O%7^sviqIPN_Mj?2=hq&QAV zIS2i9o^;JRTcnfjoTo*<Dj`Ni7q@0s!nCq1PWFQx4kv2=MlH%SfDV_nRo@Xwo zIQB?U?}z9;9d&5#XEI~w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&J6lB!xNnNFlLvP`4+%Jd_71c(tZw*?x$S%qFPs$m-o_-QmbpP;AF zXcWnFNWP5(lZ=$59L^*65)h+FmSNwbmW<1a2A)$n2!^5NdRdOAU?y{QK8Jf`9K?$mc(BH%tQI*I)YKO9g-H zvcGll#WmtP7+5F1K=5yHecyUDaCebgs}=l*(XkU9kCi#vzyhm(_-q>a9>=8t9wqrc# zc1bn^82f3m-oJp4;2|VzFOm4T`A$7SRnXz1Qaga$6+9l#CxrZnyjJru>H3(oeM}C0 SLeBjoFy!$ZSSLtXDgOp(Nc3R< literal 0 HcmV?d00001 diff --git a/tests/__pycache__/test_ingredient.cpython-314-pytest-9.1.1.pyc b/tests/__pycache__/test_ingredient.cpython-314-pytest-9.1.1.pyc new file mode 100644 index 0000000000000000000000000000000000000000..019520f40cda7a2bc678b051ae308d558eefa0df GIT binary patch literal 5117 zcmeHLO>7fK6rQ!$_ImAP3nc_-XiNe$7QrDTC7}=mr74L-qiBK93X{>s*#r~Ec4o(d zq(VwdRX9{?d+HUb7jtNpwuhpss(R?5$2A~=Mylwww^TuG#i?)h&rWbCA&uGtE9dQd zZ{B+|^Jey&H`!BLBO`cz`ttI{+8{zHF1U~AFpF;kGmD0iD)b{NSZ`mSzu;>`eIgAs z+ATpEgce_as86DjrStcP`(!HjMQEfE)uA0o73+~2==9lfX;c-OQ9Sq?7YE`3ll!yd zL?2D-SsM4Ty8eL^YVRBUy#uH5>30Tu@u_2Hj`yA2GHzZ^SM5nEnM?1ax7uT&8;qK0X72+vK=UM>(r3aKax`XWg_O>MsRGUDblghBk0VECWFuD~u@up@$&|a7cw+?q{0K>l zAHhzTMM+pA`#HOD$lnPq{K<<$;-IrrY>iE)&g}4VJvBDu>+VBn>e4HYNv|+ohfo7b zdi@Q;u3rAYPLzj29fBG;JJR9nbZk{Y^(Eb%gR1S1a?b}L8!zmnH*RcYzsCnX3!8p^fQ00;@e{O(~tr z_7ajK>_t45Ba<4%`sI8^%W4!_ZputF^voDj$_cV?fhc^K0Sgug|HN5@kHpSWd!^7( zDZFY6c1K;6!a;*W^lo@!*7HyU@%U>=^D}eK{H8Qpx@vxFerMiFnxB`hl|D7UGUsCE zC+63s_st*7@69=Q-vW!d(ud})(#Od`lDnvK zt)|j+N7)HXQ7kE~^OEzs%UgDOqQ_jH@z~o^t1I2J;@B-!J;9(TR(e)Qo*EdiTZ93l zbwhOj8WBD99MRVS(fuxFt`gBbzyAu+Ej%V1Ni0wz{E#NR&LjL7C5@cCzzIJ`1_(bn z0KNNGkKPvWtq9*?jv_WTZsNT`m4e7-PM{hH9rj!TZoZ7JbO z_pCT}OI1%WDArYaR!E*27_cKPFzj_hDPfH$r9DTfbwDZM8Bxmf`=6rJ%dnNJpwu(e znEVE}B1l;^CbuAK#;B@Q6c7CvL~$j1nks5VZwn}$DoS3Vit2K!sIHDZohrp*CQg%0Qt$noiM_4)+NR|Bb1sP=Xu3#2&TIAHr{C z7U7I>7sy}Npo0B15V>~ly>s({hEkxx+XesuZ(tfUs7E{12 zgv2AkMI;78zstVB-o*%T3!Gb!Q84<ilZ@WVJHU!Z$24BQ`_v)0F& zX1s<;?uE)av)NW`CqH4|Zs1y!Ao?YeraB9IDi(5d_SbX(^29dfi8evg6NSk{`G#R% z@U~TJvTjyJ#e!P7Z|4iZk2kv>kPh2><_LKmbbO%<{z)wO1wnX#& Date: Sun, 9 Aug 2026 20:11:46 +0300 Subject: [PATCH 2/7] =?UTF-8?q?=D0=97=D0=B0=D0=BF=D1=83=D1=81=D1=82=D0=B8?= =?UTF-8?q?=D0=BB=D0=B0=20=D0=BE=D1=82=D1=87=D1=91=D1=82=20pytest-cov.=20?= =?UTF-8?q?=D0=9F=D0=BE=D0=BA=D1=80=D1=8B=D1=82=D0=B8=D0=B5=2078%?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .coverage | Bin 0 -> 53248 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 .coverage diff --git a/.coverage b/.coverage new file mode 100644 index 0000000000000000000000000000000000000000..93b81fa86b89684e48e8ed51f4351fb3ca913391 GIT binary patch literal 53248 zcmeI4O>7%Q6vubHYj2#`-n6AyX;ft{D2vmgFQ@iDY{bT1}>({b7cF32wZX;^v@bY@Rb1rmI5V0S7H!gV#S5%;?8-jRW@Xdz&9q$8Gi{6U6<(})ytJW#;{sZg z2wuB2)YmCt(5awhD65T5tMLXc!|GwVpY zXLoDat*vK=#@_MRY%rEBdpm|RLM}!$XjQY!Gd12E{BhQ5IqsWb+2c$YK_2kHKqCA2 z4p}0vJ@FG-ihtNz;4kZ9-YnffdSjq0`rV zk8wE#2+ajiwfUM=6rth@8;bTacZ>x-8D0&hg?sHt=Q zmK`3J&n0~~3P&qEXdNyTjpPQ?XmqK<4Y%e*6Upr+$*4tZmW*N~yh7$oXo>99a5r

8oq1mfg8it_Kkz<|XltcNihgv_fFrLU8BmR}F8G-Kx7dO^T1k6WJ$rc2iua zkk5(F#D&3_ukss;PrpKwzIZDgDvL8Ml@IgPiDjcqvq{x39ST{RgM$@-iHaqIDjNm6 z=K20BioSb_wWpw5*C{%iSNHWuuFRD`p{glof2d%nd78 z8>q#MOEOKD`8wRXDjjI`;jW547M4eSoub7>O!Ko8bWwa!rcyDiQn+4;WjN@S=6(^J zLQXJ=P(wCKLFrP6uIn@EG`uQitf>FVDlrkgR*X^*?qX2ddOW+xZ|N>rjh-<)?wJ+N zL=|5d-?7dbE-N~mE{1EVuNVoJDpwzo zwd~%#a=jKta4f~Y(^sT+=Muo%7>Z&bLClE3uonV! zQLXR`QvaCP;LG|=iC#z`00JNY0w4eaAOHd&00JNY0w4eaTaSPu$7D_H|6}^kl753e zkU#(gKmY_l00ck)1V8`;KmY_l00cHAfmBS{tw(wj-b1EDksfB*=900@8p2!H?xfB*=900@9UlR!$@El0NjV*Sc+GQ0~Qp8sp< zgOYw(e=>6|Q_E~ie@I0n5C8!X009sH0T2KI5C8!X0D*M`ikd3b4ucv5Uo^gKT%Butuy$$foyI4PE3EN$y=zPV_(s{V)yvB815;FYm2Zxl6JNagsID16ksK z=nIC+Nk&N}8Ap2{qh$|CIi--4=^jWa)ExS8A(HS)j3gZBi3Cdwh1{c|$mdPV^zwO< zA)fzh=_yHnUw3!zoP;Y2!H?x zfB*=900@8p2!H?xfB*=9!2gawBB9F3OyZlqI32gE346F-rQH4T{lDI@l$1jGUCMj) zYoC8yk+m3=24fem#bq^_%*f*Te?tF3(r@a2>A&kg>Az6{2?Rg@1V8`;KmY_l00ck) z1V8`;Kwwi45Vr*6gnws1R^xstuKEW>@ei?>N;d%f=l{~+rZ5Rgf&d7B00@8p2!H?x zfB*=900@8p2;3zB@%$hA|GR{TW*`6pAOHd&00JNY0w4eaAOHd&ut^Ar|NqDSf0GOr c)C2(#009sH0T2KI5C8!X009sHfx9H|AEL%lZ~y=R literal 0 HcmV?d00001 From 1d52441c24ab7a39fd2486ab60c5abcce5a859fd Mon Sep 17 00:00:00 2001 From: Ksenia Date: Sun, 9 Aug 2026 20:27:01 +0300 Subject: [PATCH 3/7] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D0=BB?= =?UTF-8?q?=D0=B0=20=D1=84=D0=B0=D0=B9=D0=BB=20gitignore?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 5 +++++ .../test_bun.cpython-314-pytest-9.1.1.pyc | Bin 3449 -> 3449 bytes 2 files changed, 5 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000..21f0aea71 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +.pytest_cache/ +__pycache__/ +htmlcov/ +.coverage +*.html \ No newline at end of file diff --git a/tests/__pycache__/test_bun.cpython-314-pytest-9.1.1.pyc b/tests/__pycache__/test_bun.cpython-314-pytest-9.1.1.pyc index ed6facc6fb445667cfd48b67ec7492f87a24f0e9..4f91800a47f2f7c4dd3e70a57f81a87b9459d7e1 100644 GIT binary patch delta 19 Zcmew<^;3#Vn~#@^0SMH$ZRE=51pqUE1eE{) delta 19 Zcmew<^;3#Vn~#@^0SJz)+sKvA3jj9;1u6gl From 6c0f76dd284dee623beff67e625df336011fb221 Mon Sep 17 00:00:00 2001 From: Ksenia Date: Sun, 16 Aug 2026 11:53:52 +0300 Subject: [PATCH 4/7] =?UTF-8?q?=D0=9A=D0=BE=D0=BD=D1=82=D1=80=D0=BE=D0=BB?= =?UTF-8?q?=D1=8C=D0=BD=D1=8B=D0=B9=20=D0=BA=D0=BE=D0=BC=D0=BC=D0=B8=D1=82?= =?UTF-8?q?=20=D0=BF=D0=BE=D1=81=D0=BB=D0=B5=20=D0=B2=D1=8B=D0=BF=D0=BE?= =?UTF-8?q?=D0=BB=D0=BD=D0=B5=D0=BD=D0=B8=D1=8F=20=D0=BF=D0=B5=D1=80=D0=B2?= =?UTF-8?q?=D0=BE=D0=B3=D0=BE=20=D0=B7=D0=B0=D0=B4=D0=B0=D0=BD=D0=B8=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../test_bun.cpython-314-pytest-9.1.1.pyc | Bin 3449 -> 3449 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/tests/__pycache__/test_bun.cpython-314-pytest-9.1.1.pyc b/tests/__pycache__/test_bun.cpython-314-pytest-9.1.1.pyc index 4f91800a47f2f7c4dd3e70a57f81a87b9459d7e1..178d091527f2345b852193f1223390ff8af3c4db 100644 GIT binary patch delta 19 Zcmew<^;3#Vn~#@^0SL5qY~;%41pqUg1eyQ< delta 19 Zcmew<^;3#Vn~#@^0SMH$ZRE=51pqUE1eE{) From b127ffc2a764db3391c75cf423341802b79ec2a2 Mon Sep 17 00:00:00 2001 From: Ksenia Date: Sun, 16 Aug 2026 12:13:28 +0300 Subject: [PATCH 5/7] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D0=BB?= =?UTF-8?q?=D0=B0=20=D1=84=D0=B0=D0=B9=D0=BB=20=D1=81=20=D0=B8=D0=B3=D0=BD?= =?UTF-8?q?=D0=BE=D1=80=D0=BE=D0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 21f0aea71..2cfdf2fb4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,10 @@ -.pytest_cache/ __pycache__/ -htmlcov/ +*.pyc +*.pyo +*.pyd +.pytest_cache/ .coverage +*.log +.idea/ +.vscode/ *.html \ No newline at end of file From 9d914928e49aa9b76c447e819b99c897d369e775 Mon Sep 17 00:00:00 2001 From: Ksenia Date: Sun, 16 Aug 2026 12:32:44 +0300 Subject: [PATCH 6/7] htmlcov --- htmlcov/.gitignore | 2 + htmlcov/class_index.html | 221 ++++++ htmlcov/coverage_html_cb_188fc9a4.js | 735 ++++++++++++++++++ htmlcov/favicon_32_cb_c827f16f.png | Bin 0 -> 1732 bytes htmlcov/function_index.html | 361 +++++++++ htmlcov/index.html | 171 ++++ htmlcov/keybd_closed_cb_900cfef5.png | Bin 0 -> 9004 bytes htmlcov/status.json | 1 + htmlcov/style_cb_0853b3de.css | 391 ++++++++++ htmlcov/z_c68eb0c7512457e4___init___py.html | 97 +++ htmlcov/z_c68eb0c7512457e4_bun_py.html | 112 +++ htmlcov/z_c68eb0c7512457e4_burger_py.html | 145 ++++ htmlcov/z_c68eb0c7512457e4_database_py.html | 130 ++++ htmlcov/z_c68eb0c7512457e4_ingredient_py.html | 117 +++ ..._c68eb0c7512457e4_ingredient_types_py.html | 104 +++ htmlcov/z_c68eb0c7512457e4_praktikum_py.html | 138 ++++ 16 files changed, 2725 insertions(+) create mode 100644 htmlcov/.gitignore create mode 100644 htmlcov/class_index.html create mode 100644 htmlcov/coverage_html_cb_188fc9a4.js create mode 100644 htmlcov/favicon_32_cb_c827f16f.png create mode 100644 htmlcov/function_index.html create mode 100644 htmlcov/index.html create mode 100644 htmlcov/keybd_closed_cb_900cfef5.png create mode 100644 htmlcov/status.json create mode 100644 htmlcov/style_cb_0853b3de.css create mode 100644 htmlcov/z_c68eb0c7512457e4___init___py.html create mode 100644 htmlcov/z_c68eb0c7512457e4_bun_py.html create mode 100644 htmlcov/z_c68eb0c7512457e4_burger_py.html create mode 100644 htmlcov/z_c68eb0c7512457e4_database_py.html create mode 100644 htmlcov/z_c68eb0c7512457e4_ingredient_py.html create mode 100644 htmlcov/z_c68eb0c7512457e4_ingredient_types_py.html create mode 100644 htmlcov/z_c68eb0c7512457e4_praktikum_py.html diff --git a/htmlcov/.gitignore b/htmlcov/.gitignore new file mode 100644 index 000000000..ccccf1423 --- /dev/null +++ b/htmlcov/.gitignore @@ -0,0 +1,2 @@ +# Created by coverage.py +* diff --git a/htmlcov/class_index.html b/htmlcov/class_index.html new file mode 100644 index 000000000..84ffa2528 --- /dev/null +++ b/htmlcov/class_index.html @@ -0,0 +1,221 @@ + + + + + Coverage report + + + + + +

+
+

Coverage report: + 78% +

+ +
+ +
+ + +
+
+

+ Files + Functions + Classes +

+

+ coverage.py v7.15.4, + created at 2026-08-16 11:46 +0300 +

+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Fileclass statementsmissingexcluded coverage
praktikum\__init__.py(no class) 000 100%
praktikum\bun.pyBun 400 100%
praktikum\bun.py(no class) 400 100%
praktikum\burger.pyBurger 1600 100%
praktikum\burger.py(no class) 1100 100%
praktikum\database.pyDatabase 1300 100%
praktikum\database.py(no class) 800 100%
praktikum\ingredient.pyIngredient 600 100%
praktikum\ingredient.py(no class) 500 100%
praktikum\ingredient_types.py(no class) 200 100%
praktikum\praktikum.py(no class) 20200 0%
Total  89200 78%
+

+ No items found using the specified filter. +

+
+ + + diff --git a/htmlcov/coverage_html_cb_188fc9a4.js b/htmlcov/coverage_html_cb_188fc9a4.js new file mode 100644 index 000000000..6f871742c --- /dev/null +++ b/htmlcov/coverage_html_cb_188fc9a4.js @@ -0,0 +1,735 @@ +// Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0 +// For details: https://github.com/coveragepy/coveragepy/blob/main/NOTICE.txt + +// Coverage.py HTML report browser code. +/*jslint browser: true, sloppy: true, vars: true, plusplus: true, maxerr: 50, indent: 4 */ +/*global coverage: true, document, window, $ */ + +coverage = {}; + +// General helpers +function debounce(callback, wait) { + let timeoutId = null; + return function(...args) { + clearTimeout(timeoutId); + timeoutId = setTimeout(() => { + callback.apply(this, args); + }, wait); + }; +}; + +function checkVisible(element) { + const rect = element.getBoundingClientRect(); + const viewBottom = Math.max(document.documentElement.clientHeight, window.innerHeight); + const viewTop = 30; + return !(rect.bottom < viewTop || rect.top >= viewBottom); +} + +function on_click(sel, fn) { + const elt = document.querySelector(sel); + if (elt) { + elt.addEventListener("click", fn); + } +} + +// Helpers for table sorting +function getCellValue(row, column = 0) { + const cell = row.cells[column] // nosemgrep: eslint.detect-object-injection + if (cell.childElementCount == 1) { + var child = cell.firstElementChild; + if (child.tagName === "A") { + child = child.firstElementChild; + } + if (child instanceof HTMLDataElement && child.value) { + return child.value; + } + } + return cell.innerText || cell.textContent; +} + +function rowComparator(rowA, rowB, column = 0) { + let valueA = getCellValue(rowA, column); + let valueB = getCellValue(rowB, column); + if (!isNaN(valueA) && !isNaN(valueB)) { + return valueA - valueB; + } + return valueA.localeCompare(valueB, undefined, {numeric: true}); +} + +function sortColumn(th) { + // Get the current sorting direction of the selected header, + // clear state on other headers and then set the new sorting direction. + const currentSortOrder = th.getAttribute("aria-sort"); + [...th.parentElement.cells].forEach(header => header.setAttribute("aria-sort", "none")); + var direction; + if (currentSortOrder === "none") { + direction = th.dataset.defaultSortOrder || "ascending"; + } + else if (currentSortOrder === "ascending") { + direction = "descending"; + } + else { + direction = "ascending"; + } + th.setAttribute("aria-sort", direction); + + const column = [...th.parentElement.cells].indexOf(th) + + // Sort all rows and afterwards append them in order to move them in the DOM. + Array.from(th.closest("table").querySelectorAll("tbody tr")) + .sort((rowA, rowB) => rowComparator(rowA, rowB, column) * (direction === "ascending" ? 1 : -1)) + .forEach(tr => tr.parentElement.appendChild(tr)); + + // Save the sort order for next time. + if (th.id !== "region") { + let th_id = "file"; // Sort by file if we don't have a column id + let current_direction = direction; + const stored_list = localStorage.getItem(coverage.INDEX_SORT_STORAGE); + if (stored_list) { + ({th_id, direction} = JSON.parse(stored_list)) + } + localStorage.setItem(coverage.INDEX_SORT_STORAGE, JSON.stringify({ + "th_id": th.id, + "direction": current_direction + })); + if (th.id !== th_id || document.getElementById("region")) { + // Sort column has changed, unset sorting by function or class. + localStorage.setItem(coverage.SORTED_BY_REGION, JSON.stringify({ + "by_region": false, + "region_direction": current_direction + })); + } + } + else { + // Sort column has changed to by function or class, remember that. + localStorage.setItem(coverage.SORTED_BY_REGION, JSON.stringify({ + "by_region": true, + "region_direction": direction + })); + } +} + +// Find all the elements with data-shortcut attribute, and use them to assign a shortcut key. +coverage.assign_shortkeys = function () { + document.querySelectorAll("[data-shortcut]").forEach(element => { + document.addEventListener("keypress", event => { + if (event.target.tagName.toLowerCase() === "input") { + return; // ignore keypress from search filter + } + if (event.key === element.dataset.shortcut) { + element.click(); + } + }); + }); +}; + +// Create the events for the filter box. +coverage.wire_up_filter = function () { + // Populate the filter and hide100 inputs if there are saved values for them. + const saved_filter_value = localStorage.getItem(coverage.FILTER_STORAGE); + if (saved_filter_value) { + document.getElementById("filter").value = saved_filter_value; + } + const saved_hide100_value = localStorage.getItem(coverage.HIDE100_STORAGE); + if (saved_hide100_value) { + document.getElementById("hide100").checked = JSON.parse(saved_hide100_value); + } + + // Cache elements. + const table = document.querySelector("table.index"); + const table_body_rows = table.querySelectorAll("tbody tr"); + const no_rows = document.getElementById("no_rows"); + + const footer = table.tFoot.rows[0]; + const ratio_columns = Array.from(footer.cells).map(cell => Boolean(cell.dataset.ratio)); + + // Observe filter keyevents. + const filter_handler = (event => { + // Keep running total of each metric, first index contains number of shown rows + const totals = ratio_columns.map( + is_ratio => is_ratio ? {"numer": 0, "denom": 0} : 0 + ); + + var text = document.getElementById("filter").value; + // Store filter value + localStorage.setItem(coverage.FILTER_STORAGE, text); + const casefold = (text === text.toLowerCase()); + const hide100 = document.getElementById("hide100").checked; + // Store hide value. + localStorage.setItem(coverage.HIDE100_STORAGE, JSON.stringify(hide100)); + + // Hide / show elements. + table_body_rows.forEach(row => { + var show = false; + // Check the text filter. + for (let column = 0; column < totals.length; column++) { + cell = row.cells[column]; + if (cell.classList.contains("name")) { + var celltext = cell.textContent; + if (casefold) { + celltext = celltext.toLowerCase(); + } + if (celltext.includes(text)) { + show = true; + } + } + } + + // Check the "hide covered" filter. + if (show && hide100) { + const [numer, denom] = row.cells[row.cells.length - 1].dataset.ratio.split(" "); + show = (numer !== denom); + } + + if (!show) { + // hide + row.classList.add("hidden"); + return; + } + + // show + row.classList.remove("hidden"); + totals[0]++; + + for (let column = 0; column < totals.length; column++) { + // Accumulate dynamic totals + cell = row.cells[column] // nosemgrep: eslint.detect-object-injection + if (cell.matches(".name, .spacer")) { + continue; + } + if (ratio_columns[column] && cell.dataset.ratio) { + // Column stores a ratio + const [numer, denom] = cell.dataset.ratio.split(" "); + totals[column]["numer"] += parseInt(numer, 10); // nosemgrep: eslint.detect-object-injection + totals[column]["denom"] += parseInt(denom, 10); // nosemgrep: eslint.detect-object-injection + } + else { + totals[column] += parseInt(cell.textContent, 10); // nosemgrep: eslint.detect-object-injection + } + } + }); + + // Show placeholder if no rows will be displayed. + if (!totals[0]) { + // Show placeholder, hide table. + no_rows.style.display = "block"; + table.style.display = "none"; + return; + } + + // Hide placeholder, show table. + no_rows.style.display = null; + table.style.display = null; + + // Calculate new dynamic sum values based on visible rows. + for (let column = 0; column < totals.length; column++) { + // Get footer cell element. + const cell = footer.cells[column]; // nosemgrep: eslint.detect-object-injection + if (cell.matches(".name, .spacer")) { + continue; + } + + // Set value into dynamic footer cell element. + if (ratio_columns[column]) { + // Percentage column uses the numerator and denominator, + // and adapts to the number of decimal places. + const match = /\.([0-9]+)/.exec(cell.textContent); + const places = match ? match[1].length : 0; + const { numer, denom } = totals[column]; // nosemgrep: eslint.detect-object-injection + cell.dataset.ratio = `${numer} ${denom}`; + // Check denom to prevent NaN if filtered files contain no statements + cell.textContent = denom + ? `${(numer * 100 / denom).toFixed(places)}%` + : `${(100).toFixed(places)}%`; + } + else { + cell.textContent = totals[column]; // nosemgrep: eslint.detect-object-injection + } + } + }); + + document.getElementById("filter").addEventListener("input", debounce(filter_handler)); + document.getElementById("hide100").addEventListener("input", debounce(filter_handler)); + + // Trigger change event on setup, to force filter on page refresh + // (filter value may still be present). + document.getElementById("filter").dispatchEvent(new Event("input")); + document.getElementById("hide100").dispatchEvent(new Event("input")); +}; +coverage.FILTER_STORAGE = "COVERAGE_FILTER_VALUE"; +coverage.HIDE100_STORAGE = "COVERAGE_HIDE100_VALUE"; + +// Set up the click-to-sort columns. +coverage.wire_up_sorting = function () { + document.querySelectorAll("[data-sortable] th[aria-sort]").forEach( + th => th.addEventListener("click", e => sortColumn(e.target)) + ); + + // Look for a localStorage item containing previous sort settings: + let th_id = "file", direction = "ascending"; + const stored_list = localStorage.getItem(coverage.INDEX_SORT_STORAGE); + if (stored_list) { + ({th_id, direction} = JSON.parse(stored_list)); + } + let by_region = false, region_direction = "ascending"; + const sorted_by_region = localStorage.getItem(coverage.SORTED_BY_REGION); + if (sorted_by_region) { + ({ + by_region, + region_direction + } = JSON.parse(sorted_by_region)); + } + + const region_id = "region"; + if (by_region && document.getElementById(region_id)) { + direction = region_direction; + } + // If we are in a page that has a column with id of "region", sort on + // it if the last sort was by function or class. + let th; + if (document.getElementById(region_id)) { + th = document.getElementById(by_region ? region_id : th_id); + } + else { + th = document.getElementById(th_id); + } + th.setAttribute("aria-sort", direction === "ascending" ? "descending" : "ascending"); + th.click() +}; + +coverage.INDEX_SORT_STORAGE = "COVERAGE_INDEX_SORT_2"; +coverage.SORTED_BY_REGION = "COVERAGE_SORT_REGION"; + +// Loaded on index.html +coverage.index_ready = function () { + coverage.assign_shortkeys(); + coverage.wire_up_filter(); + coverage.wire_up_sorting(); + + on_click(".button_prev_file", coverage.to_prev_file); + on_click(".button_next_file", coverage.to_next_file); + + on_click(".button_show_hide_help", coverage.show_hide_help); +}; + +// -- pyfile stuff -- + +coverage.LINE_FILTERS_STORAGE = "COVERAGE_LINE_FILTERS"; + +coverage.pyfile_ready = function () { + // If we're directed to a particular line number, highlight the line. + var frag = location.hash; + if (frag.length > 2 && frag[1] === "t") { + document.querySelector(frag).closest(".n").classList.add("highlight"); + coverage.set_sel(parseInt(frag.substr(2), 10)); + } + else { + coverage.set_sel(0); + } + + on_click(".button_toggle_run", coverage.toggle_lines); + on_click(".button_toggle_mis", coverage.toggle_lines); + on_click(".button_toggle_exc", coverage.toggle_lines); + on_click(".button_toggle_par", coverage.toggle_lines); + + on_click(".button_next_chunk", coverage.to_next_chunk_nicely); + on_click(".button_prev_chunk", coverage.to_prev_chunk_nicely); + on_click(".button_top_of_page", coverage.to_top); + on_click(".button_first_chunk", coverage.to_first_chunk); + + on_click(".button_prev_file", coverage.to_prev_file); + on_click(".button_next_file", coverage.to_next_file); + on_click(".button_to_index", coverage.to_index); + + on_click(".button_show_hide_help", coverage.show_hide_help); + + coverage.filters = undefined; + try { + coverage.filters = localStorage.getItem(coverage.LINE_FILTERS_STORAGE); + } catch(err) {} + + if (coverage.filters) { + coverage.filters = JSON.parse(coverage.filters); + } + else { + coverage.filters = {run: false, exc: true, mis: true, par: true}; + } + + for (cls in coverage.filters) { + coverage.set_line_visibilty(cls, coverage.filters[cls]); // nosemgrep: eslint.detect-object-injection + } + + coverage.assign_shortkeys(); + coverage.init_scroll_markers(); + coverage.wire_up_sticky_header(); + + document.querySelectorAll("[id^=ctxs]").forEach( + cbox => cbox.addEventListener("click", coverage.expand_contexts) + ); + + // Rebuild scroll markers when the window height changes. + window.addEventListener("resize", coverage.build_scroll_markers); +}; + +coverage.toggle_lines = function (event) { + const btn = event.target.closest("button"); + const category = btn.value + const show = !btn.classList.contains("show_" + category); + coverage.set_line_visibilty(category, show); + coverage.build_scroll_markers(); + coverage.filters[category] = show; + try { + localStorage.setItem(coverage.LINE_FILTERS_STORAGE, JSON.stringify(coverage.filters)); + } catch(err) {} +}; + +coverage.set_line_visibilty = function (category, should_show) { + const cls = "show_" + category; + const btn = document.querySelector(".button_toggle_" + category); + if (btn) { + if (should_show) { + document.querySelectorAll("#source ." + category).forEach(e => e.classList.add(cls)); + btn.classList.add(cls); + } + else { + document.querySelectorAll("#source ." + category).forEach(e => e.classList.remove(cls)); + btn.classList.remove(cls); + } + } +}; + +// Return the nth line div. +coverage.line_elt = function (n) { + return document.getElementById("t" + n)?.closest("p"); +}; + +// Set the selection. b and e are line numbers. +coverage.set_sel = function (b, e) { + // The first line selected. + coverage.sel_begin = b; + // The next line not selected. + coverage.sel_end = (e === undefined) ? b+1 : e; +}; + +coverage.to_top = function () { + coverage.set_sel(0, 1); + coverage.scroll_window(0); +}; + +coverage.to_first_chunk = function () { + coverage.set_sel(0, 1); + coverage.to_next_chunk(); +}; + +coverage.to_prev_file = function () { + window.location = document.getElementById("prevFileLink").href; +} + +coverage.to_next_file = function () { + window.location = document.getElementById("nextFileLink").href; +} + +coverage.to_index = function () { + location.href = document.getElementById("indexLink").href; +} + +coverage.show_hide_help = function () { + const helpCheck = document.getElementById("help_panel_state") + helpCheck.checked = !helpCheck.checked; +} + +// Return a string indicating what kind of chunk this line belongs to, +// or null if not a chunk. +coverage.chunk_indicator = function (line_elt) { + const classes = line_elt?.className; + if (!classes) { + return null; + } + const match = classes.match(/\bshow_\w+\b/); + if (!match) { + return null; + } + return match[0]; +}; + +coverage.to_next_chunk = function () { + const c = coverage; + + // Find the start of the next colored chunk. + var probe = c.sel_end; + var chunk_indicator, probe_line; + while (true) { + probe_line = c.line_elt(probe); + if (!probe_line) { + return; + } + chunk_indicator = c.chunk_indicator(probe_line); + if (chunk_indicator) { + break; + } + probe++; + } + + // There's a next chunk, `probe` points to it. + var begin = probe; + + // Find the end of this chunk. + var next_indicator = chunk_indicator; + while (next_indicator === chunk_indicator) { + probe++; + probe_line = c.line_elt(probe); + next_indicator = c.chunk_indicator(probe_line); + } + c.set_sel(begin, probe); + c.show_selection(); +}; + +coverage.to_prev_chunk = function () { + const c = coverage; + + // Find the end of the prev colored chunk. + var probe = c.sel_begin-1; + var probe_line = c.line_elt(probe); + if (!probe_line) { + return; + } + var chunk_indicator = c.chunk_indicator(probe_line); + while (probe > 1 && !chunk_indicator) { + probe--; + probe_line = c.line_elt(probe); + if (!probe_line) { + return; + } + chunk_indicator = c.chunk_indicator(probe_line); + } + + // There's a prev chunk, `probe` points to its last line. + var end = probe+1; + + // Find the beginning of this chunk. + var prev_indicator = chunk_indicator; + while (prev_indicator === chunk_indicator) { + probe--; + if (probe <= 0) { + return; + } + probe_line = c.line_elt(probe); + prev_indicator = c.chunk_indicator(probe_line); + } + c.set_sel(probe+1, end); + c.show_selection(); +}; + +// Returns 0, 1, or 2: how many of the two ends of the selection are on +// the screen right now? +coverage.selection_ends_on_screen = function () { + if (coverage.sel_begin === 0) { + return 0; + } + + const begin = coverage.line_elt(coverage.sel_begin); + const end = coverage.line_elt(coverage.sel_end-1); + + return ( + (checkVisible(begin) ? 1 : 0) + + (checkVisible(end) ? 1 : 0) + ); +}; + +coverage.to_next_chunk_nicely = function () { + if (coverage.selection_ends_on_screen() === 0) { + // The selection is entirely off the screen: + // Set the top line on the screen as selection. + + // This will select the top-left of the viewport + // As this is most likely the span with the line number we take the parent + const line = document.elementFromPoint(0, 0).parentElement; + if (line.parentElement !== document.getElementById("source")) { + // The element is not a source line but the header or similar + coverage.select_line_or_chunk(1); + } + else { + // We extract the line number from the id + coverage.select_line_or_chunk(parseInt(line.id.substring(1), 10)); + } + } + coverage.to_next_chunk(); +}; + +coverage.to_prev_chunk_nicely = function () { + if (coverage.selection_ends_on_screen() === 0) { + // The selection is entirely off the screen: + // Set the lowest line on the screen as selection. + + // This will select the bottom-left of the viewport + // As this is most likely the span with the line number we take the parent + const line = document.elementFromPoint(document.documentElement.clientHeight-1, 0).parentElement; + if (line.parentElement !== document.getElementById("source")) { + // The element is not a source line but the header or similar + coverage.select_line_or_chunk(coverage.lines_len); + } + else { + // We extract the line number from the id + coverage.select_line_or_chunk(parseInt(line.id.substring(1), 10)); + } + } + coverage.to_prev_chunk(); +}; + +// Select line number lineno, or if it is in a colored chunk, select the +// entire chunk +coverage.select_line_or_chunk = function (lineno) { + var c = coverage; + var probe_line = c.line_elt(lineno); + if (!probe_line) { + return; + } + var the_indicator = c.chunk_indicator(probe_line); + if (the_indicator) { + // The line is in a highlighted chunk. + // Search backward for the first line. + var probe = lineno; + var indicator = the_indicator; + while (probe > 0 && indicator === the_indicator) { + probe--; + probe_line = c.line_elt(probe); + if (!probe_line) { + break; + } + indicator = c.chunk_indicator(probe_line); + } + var begin = probe + 1; + + // Search forward for the last line. + probe = lineno; + indicator = the_indicator; + while (indicator === the_indicator) { + probe++; + probe_line = c.line_elt(probe); + indicator = c.chunk_indicator(probe_line); + } + + coverage.set_sel(begin, probe); + } + else { + coverage.set_sel(lineno); + } +}; + +coverage.show_selection = function () { + // Highlight the lines in the chunk + document.querySelectorAll("#source .highlight").forEach(e => e.classList.remove("highlight")); + for (let probe = coverage.sel_begin; probe < coverage.sel_end; probe++) { + coverage.line_elt(probe).querySelector(".n").classList.add("highlight"); + } + + coverage.scroll_to_selection(); +}; + +coverage.scroll_to_selection = function () { + // Scroll the page if the chunk isn't fully visible. + if (coverage.selection_ends_on_screen() < 2) { + const element = coverage.line_elt(coverage.sel_begin); + coverage.scroll_window(element.offsetTop - 60); + } +}; + +coverage.scroll_window = function (to_pos) { + window.scroll({top: to_pos, behavior: "smooth"}); +}; + +coverage.init_scroll_markers = function () { + // Init some variables + coverage.lines_len = document.querySelectorAll("#source > p").length; + + // Build html + coverage.build_scroll_markers(); +}; + +coverage.build_scroll_markers = function () { + const temp_scroll_marker = document.getElementById("scroll_marker") + if (temp_scroll_marker) temp_scroll_marker.remove(); + // Don't build markers if the window has no scroll bar. + if (document.body.scrollHeight <= window.innerHeight) { + return; + } + + const marker_scale = window.innerHeight / document.body.scrollHeight; + const line_height = Math.min(Math.max(3, window.innerHeight / coverage.lines_len), 10); + + let previous_line = -99, last_mark, last_top; + + const scroll_marker = document.createElement("div"); + scroll_marker.id = "scroll_marker"; + document.getElementById("source").querySelectorAll( + "p.show_run, p.show_mis, p.show_exc, p.show_exc, p.show_par" + ).forEach(element => { + const line_top = Math.floor(element.offsetTop * marker_scale); + const line_number = parseInt(element.querySelector(".n a").id.substr(1)); + + if (line_number === previous_line + 1) { + // If this solid missed block just make previous mark higher. + last_mark.style.height = `${line_top + line_height - last_top}px`; + } + else { + // Add colored line in scroll_marker block. + last_mark = document.createElement("div"); + last_mark.id = `m${line_number}`; + last_mark.classList.add("marker"); + last_mark.style.height = `${line_height}px`; + last_mark.style.top = `${line_top}px`; + scroll_marker.append(last_mark); + last_top = line_top; + } + + previous_line = line_number; + }); + + // Append last to prevent layout calculation + document.body.append(scroll_marker); +}; + +coverage.wire_up_sticky_header = function () { + const header = document.querySelector("header"); + const header_bottom = ( + header.querySelector(".content h2").getBoundingClientRect().top - + header.getBoundingClientRect().top + ); + + function updateHeader() { + if (window.scrollY > header_bottom) { + header.classList.add("sticky"); + } + else { + header.classList.remove("sticky"); + } + } + + window.addEventListener("scroll", updateHeader); + updateHeader(); +}; + +coverage.expand_contexts = function (e) { + var ctxs = e.target.parentNode.querySelector(".ctxs"); + + if (!ctxs.classList.contains("expanded")) { + var ctxs_text = ctxs.textContent; + var width = Number(ctxs_text[0]); + ctxs.textContent = ""; + for (var i = 1; i < ctxs_text.length; i += width) { + key = ctxs_text.substring(i, i + width).trim(); + ctxs.appendChild(document.createTextNode(contexts[key])); + ctxs.appendChild(document.createElement("br")); + } + ctxs.classList.add("expanded"); + } +}; + +document.addEventListener("DOMContentLoaded", () => { + if (document.body.classList.contains("indexfile")) { + coverage.index_ready(); + } + else { + coverage.pyfile_ready(); + } +}); diff --git a/htmlcov/favicon_32_cb_c827f16f.png b/htmlcov/favicon_32_cb_c827f16f.png new file mode 100644 index 0000000000000000000000000000000000000000..8649f0475d8d20793b2ec431fe25a186a414cf10 GIT binary patch literal 1732 zcmV;#20QtQP)K2KOkBOVxIZChq#W-v7@TU%U6P(wycKT1hUJUToW3ke1U1ONa4 z000000000000000bb)GRa9mqwR9|UWHy;^RUrt?IT__Y0JUcxmBP0(51q1>E00030 z|NrOz)aw7%8sJzM<5^g%z7^qE`}_Ot|JUUG(NUkWzR|7K?Zo%@_v-8G-1N%N=D$;; zw;keH4dGY$`1t4M=HK_s*zm^0#KgqfwWhe3qO_HtvXYvtjgX>;-~C$L`&k>^R)9)7 zdPh2TL^pCnHC#0+_4D)M`p?qp!pq{jO_{8;$fbaflbx`Tn52n|n}8VFRTA1&ugOP< zPd{uvFjz7t*Vot1&d$l-xWCk}s;sQL&#O(Bskh6gqNJv>#iB=ypG1e3K!K4yc7!~M zfj4S*g^zZ7eP$+_Sl07Z646l;%urinP#D8a6TwRtnLIRcI!r4f@bK~9-`~;E(N?Lv zSEst7s;rcxsi~}{Nsytfz@MtUoR*iFc8!#vvx}Umhm4blk(_~MdVD-@dW&>!Nn~ro z_E~-ESVQAj6Wmn;(olz(O&_{U2*pZBc1aYjMh>Dq3z|6`jW`RDHV=t3I6yRKJ~LOX zz_z!!vbVXPqob#=pj3^VMT?x6t(irRmSKsMo1~LLkB&=#j!=M%NP35mfqim$drWb9 zYIb>no_LUwc!r^NkDzs4YHu@=ZHRzrafWDZd1EhEVq=tGX?tK$pIa)DTh#bkvh!J- z?^%@YS!U*0E8$q$_*aOTQ&)Ra64g>ep;BdcQgvlg8qQHrP*E$;P{-m=A*@axn@$bO zO-Y4JzS&EAi%YG}N?cn?YFS7ivPY=EMV6~YH;+Xxu|tefLS|Aza)Cg6us#)=JW!uH zQa?H>d^j+YHCtyjL^LulF*05|F$RG!AX_OHVI&MtA~_@=5_lU|0000rbW%=J06GH4 z^5LD8b8apw8vNh1ua1mF{{Hy)_U`NA;Nacc+sCpuHXa-V{r&yz?c(9#+}oX+NmiRW z+W-IqK1oDDR5;6GfCDCOP5}iL5fK(cB~ET81`MFgF2kGa9AjhSIk~-E-4&*tPPKdiilQJ11k_J082ZS z>@TvivP!5ZFG?t@{t+GpR3XR&@*hA_VE1|Lo8@L@)l*h(Z@=?c-NS$Fk&&61IzUU9 z*nPqBM=OBZ-6ka1SJgGAS-Us5EN)r#dUX%>wQZLa2ytPCtMKp)Ob z*xcu38Z&d5<-NBS)@jRD+*!W*cf-m_wmxDEqBf?czI%3U0J$Xik;lA`jg}VH?(S(V zE!M3;X2B8w0TnnW&6(8;_Uc)WD;Ms6PKP+s(sFgO!}B!^ES~GDt4qLPxwYB)^7)XA zZwo9zDy-B0B+jT6V=!=bo(zs_8{eBA78gT9GH$(DVhz;4VAYwz+bOIdZ-PNb|I&rl z^XG=vFLF)1{&nT2*0vMz#}7^9hXzzf&ZdKlEj{LihP;|;Ywqn35ajP?H?7t|i-Un% z&&kxee@9B{nwgv1+S-~0)E1{ob1^Wn`F2isurqThKK=3%&;`@{0{!D- z&CSj80t;uPu&FaJFtSXKH#ajgGj}=sEad7US6jP0|Db@0j)?(5@sf<7`~a9>s;wCa zm^)spe{uxGFmrJYI9cOh7s$>8Npkt-5EWB1UKc`{W{y5Ce$1+nM9Cr;);=Ju#N^62OSlJMn7omiUgP&ErsYzT~iGxcW aE(`!K@+CXylaC4j0000 + + + + Coverage report + + + + + +
+
+

Coverage report: + 78% +

+ +
+ +
+ + +
+
+

+ Files + Functions + Classes +

+

+ coverage.py v7.15.4, + created at 2026-08-16 11:46 +0300 +

+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Filefunction statementsmissingexcluded coverage
praktikum\__init__.py(no function) 000 100%
praktikum\bun.pyBun.__init__ 200 100%
praktikum\bun.pyBun.get_name 100 100%
praktikum\bun.pyBun.get_price 100 100%
praktikum\bun.py(no function) 400 100%
praktikum\burger.pyBurger.__init__ 200 100%
praktikum\burger.pyBurger.set_buns 100 100%
praktikum\burger.pyBurger.add_ingredient 100 100%
praktikum\burger.pyBurger.remove_ingredient 100 100%
praktikum\burger.pyBurger.move_ingredient 100 100%
praktikum\burger.pyBurger.get_price 400 100%
praktikum\burger.pyBurger.get_receipt 600 100%
praktikum\burger.py(no function) 1100 100%
praktikum\database.pyDatabase.__init__ 1100 100%
praktikum\database.pyDatabase.available_buns 100 100%
praktikum\database.pyDatabase.available_ingredients 100 100%
praktikum\database.py(no function) 800 100%
praktikum\ingredient.pyIngredient.__init__ 300 100%
praktikum\ingredient.pyIngredient.get_price 100 100%
praktikum\ingredient.pyIngredient.get_name 100 100%
praktikum\ingredient.pyIngredient.get_type 100 100%
praktikum\ingredient.py(no function) 500 100%
praktikum\ingredient_types.py(no function) 200 100%
praktikum\praktikum.pymain 12120 0%
praktikum\praktikum.py(no function) 880 0%
Total  89200 78%
+

+ No items found using the specified filter. +

+
+ + + diff --git a/htmlcov/index.html b/htmlcov/index.html new file mode 100644 index 000000000..b2c9d8691 --- /dev/null +++ b/htmlcov/index.html @@ -0,0 +1,171 @@ + + + + + Coverage report + + + + + +
+
+

Coverage report: + 78% +

+ +
+ +
+ + +
+
+

+ Files + Functions + Classes +

+

+ coverage.py v7.15.4, + created at 2026-08-16 11:46 +0300 +

+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
File statementsmissingexcluded coverage
praktikum\__init__.py 000 100%
praktikum\bun.py 800 100%
praktikum\burger.py 2700 100%
praktikum\database.py 2100 100%
praktikum\ingredient.py 1100 100%
praktikum\ingredient_types.py 200 100%
praktikum\praktikum.py 20200 0%
Total 89200 78%
+

+ No items found using the specified filter. +

+
+ + + diff --git a/htmlcov/keybd_closed_cb_900cfef5.png b/htmlcov/keybd_closed_cb_900cfef5.png new file mode 100644 index 0000000000000000000000000000000000000000..ba119c47df81ed2bbd27a06988abf700139c4f99 GIT binary patch literal 9004 zcmeHLc{tSF+aIY=A^R4_poB4tZAN2XC;O7M(inrW3}(h&Q4}dl*&-65$i9^&vW6_# zcM4g`Qix=GhkBl;=lwnJ@Ap2}^}hc-b6vBXb3XUyzR%~}_c`-Dw+!?&>5p(90RRB> zXe~7($~PP3eT?=X<@3~Q1w84vX~IoSx~1#~02+TopXK(db;4v6!{+W`RHLkkHO zo;+s?)puc`+$yOwHv>I$5^8v^F3<|$44HA8AFnFB0cAP|C`p}aSMJK*-CUB{eQ!;K z-9Ju3OQ+xVPr3P#o4>_lNBT;M+1vgV&B~6!naOGHb-LFA9TkfHv1IFA1Y!Iz!Zl3) z%c#-^zNWPq7U_}6I7aHSmFWi125RZrNBKyvnV^?64)zviS;E!UD%LaGRl6@zn!3E{ zJ`B$5``cH_3a)t1#6I7d==JeB_IcSU%=I#DrRCBGm8GvCmA=+XHEvC2SIfsNa0(h9 z7P^C4U`W@@`9p>2f^zyb5B=lpc*RZMn-%%IqrxSWQF8{ec3i?-AB(_IVe z)XgT>Y^u41MwOMFvU=I4?!^#jaS-%bjnx@ zmL44yVEslR_ynm18F!u}Ru#moEn3EE?1=9@$B1Z5aLi5b8{&?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v zppw{MDfEeWN+n>Ne~oI7%9cU}mz0r3!es2gNF0t5jkGipjIo2lz;-e)7}Ul_#!eDv zw;#>kI>;#-pyfeu3Fsd^2F@6=oh#8r9;A!G0`-mm7%{=S;Ec(bJ=I_`FodKGQVNEY zmXwr4{9*jpDl%4{ggQZ5Ac z%wYTdl*!1c5^)%^E78Q&)ma|27c6j(a=)g4sGrp$r{jv>>M2 z6y)E5|Aooe!PSfKzvKA>`a6pfK3=E8vL14ksP&f=>gOP?}rG6ye@9ZR3 zJF*vsh*P$w390i!FV~~_Hv6t2Zl<4VUi|rNja#boFt{%q~xGb z(2petq9A*_>~B*>?d?Olx^lmYg4)}sH2>G42RE; literal 0 HcmV?d00001 diff --git a/htmlcov/status.json b/htmlcov/status.json new file mode 100644 index 000000000..7b9b23963 --- /dev/null +++ b/htmlcov/status.json @@ -0,0 +1 @@ +{"note":"This file is an internal implementation detail to speed up HTML report generation. Its format can change at any time. You might be looking for the JSON report: https://coverage.rtfd.io/cmd.html#cmd-json","format":5,"version":"7.15.4","globals":"2acefed9a43cd6118fae0953ee81bd73","files":{"z_c68eb0c7512457e4___init___py":{"hash":"22a55c70b987e14d3f30c99eef952833","index":{"url":"z_c68eb0c7512457e4___init___py.html","file":"praktikum\\__init__.py","description":"","nums":{"precision":0,"n_files":1,"n_statements":0,"n_excluded":0,"n_missing":0,"n_branches":0,"n_partial_branches":0,"n_missing_branches":0}}},"z_c68eb0c7512457e4_bun_py":{"hash":"d2d08b9cca82a060ad3413424bf3fa77","index":{"url":"z_c68eb0c7512457e4_bun_py.html","file":"praktikum\\bun.py","description":"","nums":{"precision":0,"n_files":1,"n_statements":8,"n_excluded":0,"n_missing":0,"n_branches":0,"n_partial_branches":0,"n_missing_branches":0}}},"z_c68eb0c7512457e4_burger_py":{"hash":"80129eeb12a5b5f10eef6d82eef1ca17","index":{"url":"z_c68eb0c7512457e4_burger_py.html","file":"praktikum\\burger.py","description":"","nums":{"precision":0,"n_files":1,"n_statements":27,"n_excluded":0,"n_missing":0,"n_branches":0,"n_partial_branches":0,"n_missing_branches":0}}},"z_c68eb0c7512457e4_database_py":{"hash":"17df227c6a0c60d83e7dd6357efc1f80","index":{"url":"z_c68eb0c7512457e4_database_py.html","file":"praktikum\\database.py","description":"","nums":{"precision":0,"n_files":1,"n_statements":21,"n_excluded":0,"n_missing":0,"n_branches":0,"n_partial_branches":0,"n_missing_branches":0}}},"z_c68eb0c7512457e4_ingredient_py":{"hash":"9f60db60c76d0a60c26682711fbfb909","index":{"url":"z_c68eb0c7512457e4_ingredient_py.html","file":"praktikum\\ingredient.py","description":"","nums":{"precision":0,"n_files":1,"n_statements":11,"n_excluded":0,"n_missing":0,"n_branches":0,"n_partial_branches":0,"n_missing_branches":0}}},"z_c68eb0c7512457e4_ingredient_types_py":{"hash":"09e19967c3069a681abd2c7db23660d5","index":{"url":"z_c68eb0c7512457e4_ingredient_types_py.html","file":"praktikum\\ingredient_types.py","description":"","nums":{"precision":0,"n_files":1,"n_statements":2,"n_excluded":0,"n_missing":0,"n_branches":0,"n_partial_branches":0,"n_missing_branches":0}}},"z_c68eb0c7512457e4_praktikum_py":{"hash":"c0932a7d70109fa8ff9c8f0abcc1b404","index":{"url":"z_c68eb0c7512457e4_praktikum_py.html","file":"praktikum\\praktikum.py","description":"","nums":{"precision":0,"n_files":1,"n_statements":20,"n_excluded":0,"n_missing":20,"n_branches":0,"n_partial_branches":0,"n_missing_branches":0}}}}} \ No newline at end of file diff --git a/htmlcov/style_cb_0853b3de.css b/htmlcov/style_cb_0853b3de.css new file mode 100644 index 000000000..f82a185d8 --- /dev/null +++ b/htmlcov/style_cb_0853b3de.css @@ -0,0 +1,391 @@ +@charset "UTF-8"; +/* Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0 */ +/* For details: https://github.com/coveragepy/coveragepy/blob/main/NOTICE.txt */ +/* Don't edit this .css file. Edit the .scss file instead! */ +html, body, h1, h2, h3, p, table, td, th { margin: 0; padding: 0; border: 0; font-weight: inherit; font-style: inherit; font-size: 100%; font-family: inherit; vertical-align: baseline; } + +body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-size: 1em; background: #fff; color: #000; } + +@media (prefers-color-scheme: dark) { body { background: #1e1e1e; } } + +@media (prefers-color-scheme: dark) { body { color: #eee; } } + +html > body { font-size: 16px; } + +a:active, a:focus { outline: 2px dashed #007acc; } + +p { font-size: .875em; line-height: 1.4em; } + +table { border-collapse: collapse; } + +td { vertical-align: top; } + +table tr.hidden { display: none !important; } + +p#no_rows { display: none; font-size: 1.15em; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; } + +a.nav { text-decoration: none; color: inherit; } + +a.nav:hover { text-decoration: underline; color: inherit; } + +.hidden { display: none; } + +header { background: #f8f8f8; width: 100%; z-index: 2; border-bottom: 1px solid #ccc; } + +@media (prefers-color-scheme: dark) { header { background: black; } } + +@media (prefers-color-scheme: dark) { header { border-color: #333; } } + +header .content { padding: 1rem 3.5rem; } + +header h2 { margin-top: .5em; font-size: 1em; } + +header h2 a.button { font-family: inherit; font-size: inherit; border: 1px solid; border-radius: .2em; background: #eee; color: inherit; text-decoration: none; padding: .1em .5em; margin: 1px calc(.1em + 1px); cursor: pointer; border-color: #ccc; } + +@media (prefers-color-scheme: dark) { header h2 a.button { background: #333; } } + +@media (prefers-color-scheme: dark) { header h2 a.button { border-color: #444; } } + +header h2 a.button.current { border: 2px solid; background: #fff; border-color: #999; cursor: default; } + +@media (prefers-color-scheme: dark) { header h2 a.button.current { background: #1e1e1e; } } + +@media (prefers-color-scheme: dark) { header h2 a.button.current { border-color: #777; } } + +header p.text { margin: .5em 0 -.5em; color: #666; font-style: italic; } + +@media (prefers-color-scheme: dark) { header p.text { color: #aaa; } } + +header.sticky { position: fixed; left: 0; right: 0; height: 2.5em; } + +header.sticky .text { display: none; } + +header.sticky h1, header.sticky h2 { font-size: 1em; margin-top: 0; display: inline-block; } + +header.sticky .content { padding: 0.5rem 3.5rem; } + +header.sticky .content p { font-size: 1em; } + +header.sticky ~ #source { padding-top: 6.5em; } + +main { position: relative; z-index: 1; } + +footer { margin: 1rem 3.5rem; } + +footer .content { padding: 0; color: #666; font-style: italic; } + +@media (prefers-color-scheme: dark) { footer .content { color: #aaa; } } + +#index { margin: 1rem 0 0 3.5rem; } + +h1 { font-size: 1.25em; display: inline-block; } + +#filter_container { float: right; margin: 0 2em 0 0; line-height: 1.66em; } + +#filter_container #filter { width: 10em; padding: 0.2em 0.5em; border: 2px solid #ccc; background: #fff; color: #000; } + +@media (prefers-color-scheme: dark) { #filter_container #filter { border-color: #444; } } + +@media (prefers-color-scheme: dark) { #filter_container #filter { background: #1e1e1e; } } + +@media (prefers-color-scheme: dark) { #filter_container #filter { color: #eee; } } + +#filter_container #filter:focus { border-color: #007acc; } + +#filter_container :disabled ~ label { color: #ccc; } + +@media (prefers-color-scheme: dark) { #filter_container :disabled ~ label { color: #444; } } + +#filter_container label { font-size: .875em; color: #666; } + +@media (prefers-color-scheme: dark) { #filter_container label { color: #aaa; } } + +header button { font-family: inherit; font-size: inherit; border: 1px solid; border-radius: .2em; background: #eee; color: inherit; text-decoration: none; padding: .1em .5em; margin: 1px calc(.1em + 1px); cursor: pointer; border-color: #ccc; } + +@media (prefers-color-scheme: dark) { header button { background: #333; } } + +@media (prefers-color-scheme: dark) { header button { border-color: #444; } } + +header button:active, header button:focus { outline: 2px dashed #007acc; } + +header button.run { background: #eeffee; } + +@media (prefers-color-scheme: dark) { header button.run { background: #373d29; } } + +header button.run.show_run { background: #dfd; border: 2px solid #00dd00; margin: 0 .1em; } + +@media (prefers-color-scheme: dark) { header button.run.show_run { background: #373d29; } } + +header button.mis { background: #ffeeee; } + +@media (prefers-color-scheme: dark) { header button.mis { background: #4b1818; } } + +header button.mis.show_mis { background: #fdd; border: 2px solid #ff0000; margin: 0 .1em; } + +@media (prefers-color-scheme: dark) { header button.mis.show_mis { background: #4b1818; } } + +header button.exc { background: #f7f7f7; } + +@media (prefers-color-scheme: dark) { header button.exc { background: #333; } } + +header button.exc.show_exc { background: #eee; border: 2px solid #808080; margin: 0 .1em; } + +@media (prefers-color-scheme: dark) { header button.exc.show_exc { background: #333; } } + +header button.par { background: #ffffd5; } + +@media (prefers-color-scheme: dark) { header button.par { background: #650; } } + +header button.par.show_par { background: #ffa; border: 2px solid #bbbb00; margin: 0 .1em; } + +@media (prefers-color-scheme: dark) { header button.par.show_par { background: #650; } } + +#help_panel, #source p .annotate.long { display: none; position: absolute; z-index: 999; background: #ffffcc; border: 1px solid #888; border-radius: .2em; color: #333; padding: .25em .5em; } + +#source p .annotate.long { white-space: normal; float: right; top: 1.75em; right: 1em; height: auto; } + +#help_panel_wrapper { float: right; position: relative; } + +#keyboard_icon { margin: 5px; } + +#help_panel_state { display: none; } + +#help_panel { top: 25px; right: 0; padding: .75em; border: 1px solid #883; color: #333; } + +#help_panel .keyhelp p { margin-top: .75em; } + +#help_panel .legend { font-style: italic; margin-bottom: 1em; } + +.indexfile #help_panel { width: 25em; } + +.pyfile #help_panel { width: 18em; } + +#help_panel_state:checked ~ #help_panel { display: block; } + +kbd { border: 1px solid black; border-color: #888 #333 #333 #888; padding: .1em .35em; font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-weight: bold; background: #eee; border-radius: 3px; } + +.sep { padding: 0 .1em; } + +#source { padding: 1em 0 1em 3.5rem; font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace; } + +#source p { position: relative; white-space: pre; } + +#source p * { box-sizing: border-box; } + +#source p .n { float: left; text-align: right; width: 3.5rem; box-sizing: border-box; margin-left: -3.5rem; padding-right: 1em; color: #999; user-select: none; } + +@media (prefers-color-scheme: dark) { #source p .n { color: #777; } } + +#source p .n.highlight { background: #ffdd00; } + +#source p .n a { scroll-margin-top: 6em; text-decoration: none; color: #999; } + +@media (prefers-color-scheme: dark) { #source p .n a { color: #777; } } + +#source p .n a:hover { text-decoration: underline; color: #999; } + +@media (prefers-color-scheme: dark) { #source p .n a:hover { color: #777; } } + +#source p .t { display: inline-block; width: 100%; box-sizing: border-box; margin-left: -.5em; padding-left: 0.3em; border-left: 0.2em solid #fff; } + +@media (prefers-color-scheme: dark) { #source p .t { border-color: #1e1e1e; } } + +#source p .t:hover { background: #f2f2f2; } + +@media (prefers-color-scheme: dark) { #source p .t:hover { background: #282828; } } + +#source p .t:hover ~ .r .annotate.long { display: block; } + +#source p .t .com { color: #008000; font-style: italic; line-height: 1px; } + +@media (prefers-color-scheme: dark) { #source p .t .com { color: #6a9955; } } + +#source p .t .key { font-weight: bold; line-height: 1px; } + +#source p .t .str, #source p .t .fst { color: #0451a5; } + +@media (prefers-color-scheme: dark) { #source p .t .str, #source p .t .fst { color: #9cdcfe; } } + +#source p.mis .t { border-left: 0.2em solid #ff0000; } + +#source p.mis.show_mis .t { background: #fdd; } + +@media (prefers-color-scheme: dark) { #source p.mis.show_mis .t { background: #4b1818; } } + +#source p.mis.show_mis .t:hover { background: #f2d2d2; } + +@media (prefers-color-scheme: dark) { #source p.mis.show_mis .t:hover { background: #532323; } } + +#source p.mis.mis2 .t { border-left: 0.2em dotted #ff0000; } + +#source p.mis.mis2.show_mis .t { background: #ffeeee; } + +@media (prefers-color-scheme: dark) { #source p.mis.mis2.show_mis .t { background: #351b1b; } } + +#source p.mis.mis2.show_mis .t:hover { background: #f2d2d2; } + +@media (prefers-color-scheme: dark) { #source p.mis.mis2.show_mis .t:hover { background: #532323; } } + +#source p.run .t { border-left: 0.2em solid #00dd00; } + +#source p.run.show_run .t { background: #dfd; } + +@media (prefers-color-scheme: dark) { #source p.run.show_run .t { background: #373d29; } } + +#source p.run.show_run .t:hover { background: #d2f2d2; } + +@media (prefers-color-scheme: dark) { #source p.run.show_run .t:hover { background: #404633; } } + +#source p.run.run2 .t { border-left: 0.2em dotted #00dd00; } + +#source p.run.run2.show_run .t { background: #eeffee; } + +@media (prefers-color-scheme: dark) { #source p.run.run2.show_run .t { background: #2b2e24; } } + +#source p.run.run2.show_run .t:hover { background: #d2f2d2; } + +@media (prefers-color-scheme: dark) { #source p.run.run2.show_run .t:hover { background: #404633; } } + +#source p.exc .t { border-left: 0.2em solid #808080; } + +#source p.exc.show_exc .t { background: #eee; } + +@media (prefers-color-scheme: dark) { #source p.exc.show_exc .t { background: #333; } } + +#source p.exc.show_exc .t:hover { background: #e2e2e2; } + +@media (prefers-color-scheme: dark) { #source p.exc.show_exc .t:hover { background: #3c3c3c; } } + +#source p.exc.exc2 .t { border-left: 0.2em dotted #808080; } + +#source p.exc.exc2.show_exc .t { background: #f7f7f7; } + +@media (prefers-color-scheme: dark) { #source p.exc.exc2.show_exc .t { background: #292929; } } + +#source p.exc.exc2.show_exc .t:hover { background: #e2e2e2; } + +@media (prefers-color-scheme: dark) { #source p.exc.exc2.show_exc .t:hover { background: #3c3c3c; } } + +#source p.par .t { border-left: 0.2em solid #bbbb00; } + +#source p.par.show_par .t { background: #ffa; } + +@media (prefers-color-scheme: dark) { #source p.par.show_par .t { background: #650; } } + +#source p.par.show_par .t:hover { background: #f2f2a2; } + +@media (prefers-color-scheme: dark) { #source p.par.show_par .t:hover { background: #6d5d0c; } } + +#source p.par.par2 .t { border-left: 0.2em dotted #bbbb00; } + +#source p.par.par2.show_par .t { background: #ffffd5; } + +@media (prefers-color-scheme: dark) { #source p.par.par2.show_par .t { background: #423a0f; } } + +#source p.par.par2.show_par .t:hover { background: #f2f2a2; } + +@media (prefers-color-scheme: dark) { #source p.par.par2.show_par .t:hover { background: #6d5d0c; } } + +#source p .r { position: absolute; top: 0; right: 2.5em; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; } + +#source p .annotate { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; color: #666; padding-right: .5em; } + +@media (prefers-color-scheme: dark) { #source p .annotate { color: #ddd; } } + +#source p .annotate.short:hover ~ .long { display: block; } + +#source p .annotate.long { width: 30em; right: 2.5em; } + +#source p input { display: none; } + +#source p input ~ .r label.ctx { cursor: pointer; border-radius: .25em; } + +#source p input ~ .r label.ctx::before { content: "▶ "; } + +#source p input ~ .r label.ctx:hover { background: #e8f4ff; color: #666; } + +@media (prefers-color-scheme: dark) { #source p input ~ .r label.ctx:hover { background: #0f3a42; } } + +@media (prefers-color-scheme: dark) { #source p input ~ .r label.ctx:hover { color: #aaa; } } + +#source p input:checked ~ .r label.ctx { background: #d0e8ff; color: #666; border-radius: .75em .75em 0 0; padding: 0 .5em; margin: -.25em 0; } + +@media (prefers-color-scheme: dark) { #source p input:checked ~ .r label.ctx { background: #056; } } + +@media (prefers-color-scheme: dark) { #source p input:checked ~ .r label.ctx { color: #aaa; } } + +#source p input:checked ~ .r label.ctx::before { content: "▼ "; } + +#source p input:checked ~ .ctxs { padding: .25em .5em; overflow-y: scroll; max-height: 10.5em; } + +#source p label.ctx { color: #999; display: inline-block; padding: 0 .5em; font-size: .8333em; } + +@media (prefers-color-scheme: dark) { #source p label.ctx { color: #777; } } + +#source p .ctxs { display: block; max-height: 0; overflow-y: hidden; transition: all .2s; padding: 0 .5em; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; white-space: nowrap; background: #d0e8ff; border-radius: .25em; margin-right: 1.75em; text-align: right; } + +@media (prefers-color-scheme: dark) { #source p .ctxs { background: #056; } } + +#index { font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 0.875em; } + +#index table.index { margin-left: -.5em; } + +#index td, #index th { text-align: right; vertical-align: baseline; padding: .25em .5em; border-bottom: 1px solid #eee; } + +@media (prefers-color-scheme: dark) { #index td, #index th { border-color: #333; } } + +#index td.name, #index th.name { text-align: left; width: auto; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; min-width: 15em; } + +#index td.left, #index th.left { text-align: left; } + +#index td.spacer, #index th.spacer { border: none; padding: 0; } + +#index td.spacer:hover, #index th.spacer:hover { background: inherit; } + +#index th { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-style: italic; color: #333; border-color: #ccc; cursor: pointer; } + +@media (prefers-color-scheme: dark) { #index th { color: #ddd; } } + +@media (prefers-color-scheme: dark) { #index th { border-color: #444; } } + +#index th:hover { background: #eee; } + +@media (prefers-color-scheme: dark) { #index th:hover { background: #333; } } + +#index th .arrows { color: #666; font-size: 85%; font-family: sans-serif; font-style: normal; pointer-events: none; } + +#index th[aria-sort="ascending"], #index th[aria-sort="descending"] { white-space: nowrap; background: #eee; padding-left: .5em; } + +@media (prefers-color-scheme: dark) { #index th[aria-sort="ascending"], #index th[aria-sort="descending"] { background: #333; } } + +#index th[aria-sort="ascending"] .arrows::after { content: " ▲"; } + +#index th[aria-sort="descending"] .arrows::after { content: " ▼"; } + +#index tr.grouphead th { cursor: default; font-style: normal; border-color: #999; } + +@media (prefers-color-scheme: dark) { #index tr.grouphead th { border-color: #777; } } + +#index td.name { font-size: 1.15em; } + +#index td.name a { text-decoration: none; color: inherit; } + +#index td.name .no-noun { font-style: italic; } + +#index tr.total td, #index tr.total_dynamic td { font-weight: bold; border-bottom: none; } + +#index tr.region:hover { background: #eee; } + +@media (prefers-color-scheme: dark) { #index tr.region:hover { background: #333; } } + +#index tr.region:hover td.name { text-decoration: underline; color: inherit; } + +#scroll_marker { position: fixed; z-index: 3; right: 0; top: 0; width: 16px; height: 100%; background: #fff; border-left: 1px solid #eee; will-change: transform; } + +@media (prefers-color-scheme: dark) { #scroll_marker { background: #1e1e1e; } } + +@media (prefers-color-scheme: dark) { #scroll_marker { border-color: #333; } } + +#scroll_marker .marker { background: #ccc; position: absolute; min-height: 3px; width: 100%; } + +@media (prefers-color-scheme: dark) { #scroll_marker .marker { background: #444; } } diff --git a/htmlcov/z_c68eb0c7512457e4___init___py.html b/htmlcov/z_c68eb0c7512457e4___init___py.html new file mode 100644 index 000000000..68553aec3 --- /dev/null +++ b/htmlcov/z_c68eb0c7512457e4___init___py.html @@ -0,0 +1,97 @@ + + + + + Coverage for praktikum\__init__.py: 100% + + + + + +
+
+

+ Coverage for praktikum\__init__.py: + 100% +

+ +

+ 0 statements   + + + +

+

+ « prev     + ^ index     + » next +       + coverage.py v7.15.4, + created at 2026-08-09 20:16 +0300 +

+ +
+
+
+
+ + + diff --git a/htmlcov/z_c68eb0c7512457e4_bun_py.html b/htmlcov/z_c68eb0c7512457e4_bun_py.html new file mode 100644 index 000000000..3a34f4a7f --- /dev/null +++ b/htmlcov/z_c68eb0c7512457e4_bun_py.html @@ -0,0 +1,112 @@ + + + + + Coverage for praktikum\bun.py: 100% + + + + + +
+
+

+ Coverage for praktikum\bun.py: + 100% +

+ +

+ 8 statements   + + + +

+

+ « prev     + ^ index     + » next +       + coverage.py v7.15.4, + created at 2026-08-09 20:16 +0300 +

+ +
+
+
+

1class Bun: 

+

2 """ 

+

3 Модель булочки для бургера. 

+

4 Булочке можно дать название и назначить цену. 

+

5 """ 

+

6 

+

7 def __init__(self, name: str, price: float): 

+

8 self.name = name 

+

9 self.price = price 

+

10 

+

11 def get_name(self) -> str: 

+

12 return self.name 

+

13 

+

14 def get_price(self) -> float: 

+

15 return self.price 

+
+ + + diff --git a/htmlcov/z_c68eb0c7512457e4_burger_py.html b/htmlcov/z_c68eb0c7512457e4_burger_py.html new file mode 100644 index 000000000..ba9aa802b --- /dev/null +++ b/htmlcov/z_c68eb0c7512457e4_burger_py.html @@ -0,0 +1,145 @@ + + + + + Coverage for praktikum\burger.py: 100% + + + + + +
+
+

+ Coverage for praktikum\burger.py: + 100% +

+ +

+ 27 statements   + + + +

+

+ « prev     + ^ index     + » next +       + coverage.py v7.15.4, + created at 2026-08-09 20:16 +0300 +

+ +
+
+
+

1from typing import List 

+

2 

+

3from praktikum.bun import Bun 

+

4from praktikum.ingredient import Ingredient 

+

5 

+

6 

+

7class Burger: 

+

8 """ 

+

9 Модель бургера. 

+

10 Бургер состоит из булочек и ингредиентов (начинка или соус). 

+

11 Ингредиенты можно перемещать и удалять. 

+

12 Можно распечать чек с информацией о бургере. 

+

13 """ 

+

14 

+

15 def __init__(self): 

+

16 self.bun = None 

+

17 self.ingredients: List[Ingredient] = [] 

+

18 

+

19 def set_buns(self, bun: Bun): 

+

20 self.bun = bun 

+

21 

+

22 def add_ingredient(self, ingredient: Ingredient): 

+

23 self.ingredients.append(ingredient) 

+

24 

+

25 def remove_ingredient(self, index: int): 

+

26 del self.ingredients[index] 

+

27 

+

28 def move_ingredient(self, index: int, new_index: int): 

+

29 self.ingredients.insert(new_index, self.ingredients.pop(index)) 

+

30 

+

31 def get_price(self) -> float: 

+

32 price = self.bun.get_price() * 2 

+

33 

+

34 for ingredient in self.ingredients: 

+

35 price += ingredient.get_price() 

+

36 

+

37 return price 

+

38 

+

39 def get_receipt(self) -> str: 

+

40 receipt: List[str] = [f'(==== {self.bun.get_name()} ====)'] 

+

41 

+

42 for ingredient in self.ingredients: 

+

43 receipt.append(f'= {str(ingredient.get_type()).lower()} {ingredient.get_name()} =') 

+

44 

+

45 receipt.append(f'(==== {self.bun.get_name()} ====)\n') 

+

46 receipt.append(f'Price: {self.get_price()}') 

+

47 

+

48 return '\n'.join(receipt) 

+
+ + + diff --git a/htmlcov/z_c68eb0c7512457e4_database_py.html b/htmlcov/z_c68eb0c7512457e4_database_py.html new file mode 100644 index 000000000..507975ca2 --- /dev/null +++ b/htmlcov/z_c68eb0c7512457e4_database_py.html @@ -0,0 +1,130 @@ + + + + + Coverage for praktikum\database.py: 100% + + + + + +
+
+

+ Coverage for praktikum\database.py: + 100% +

+ +

+ 21 statements   + + + +

+

+ « prev     + ^ index     + » next +       + coverage.py v7.15.4, + created at 2026-08-09 20:16 +0300 +

+ +
+
+
+

1from typing import List 

+

2 

+

3from praktikum.bun import Bun 

+

4from praktikum.ingredient import Ingredient 

+

5from praktikum.ingredient_types import INGREDIENT_TYPE_SAUCE, INGREDIENT_TYPE_FILLING 

+

6 

+

7 

+

8class Database: 

+

9 """ 

+

10 Класс с методами по работе с базой данных. 

+

11 """ 

+

12 

+

13 def __init__(self): 

+

14 self.buns: List[Bun] = [] 

+

15 self.ingredients: List[Ingredient] = [] 

+

16 

+

17 self.buns.append(Bun("black bun", 100)) 

+

18 self.buns.append(Bun("white bun", 200)) 

+

19 self.buns.append(Bun("red bun", 300)) 

+

20 

+

21 self.ingredients.append(Ingredient(INGREDIENT_TYPE_SAUCE, "hot sauce", 100)) 

+

22 self.ingredients.append(Ingredient(INGREDIENT_TYPE_SAUCE, "sour cream", 200)) 

+

23 self.ingredients.append(Ingredient(INGREDIENT_TYPE_SAUCE, "chili sauce", 300)) 

+

24 

+

25 self.ingredients.append(Ingredient(INGREDIENT_TYPE_FILLING, "cutlet", 100)) 

+

26 self.ingredients.append(Ingredient(INGREDIENT_TYPE_FILLING, "dinosaur", 200)) 

+

27 self.ingredients.append(Ingredient(INGREDIENT_TYPE_FILLING, "sausage", 300)) 

+

28 

+

29 def available_buns(self) -> List[Bun]: 

+

30 return self.buns 

+

31 

+

32 def available_ingredients(self) -> List[Ingredient]: 

+

33 return self.ingredients 

+
+ + + diff --git a/htmlcov/z_c68eb0c7512457e4_ingredient_py.html b/htmlcov/z_c68eb0c7512457e4_ingredient_py.html new file mode 100644 index 000000000..939ab9548 --- /dev/null +++ b/htmlcov/z_c68eb0c7512457e4_ingredient_py.html @@ -0,0 +1,117 @@ + + + + + Coverage for praktikum\ingredient.py: 100% + + + + + +
+
+

+ Coverage for praktikum\ingredient.py: + 100% +

+ +

+ 11 statements   + + + +

+

+ « prev     + ^ index     + » next +       + coverage.py v7.15.4, + created at 2026-08-09 20:16 +0300 +

+ +
+
+
+

1class Ingredient: 

+

2 """ 

+

3 Модель ингредиента. 

+

4 Ингредиент: начинка или соус. 

+

5 У ингредиента есть тип (начинка или соус), название и цена. 

+

6 """ 

+

7 

+

8 def __init__(self, ingredient_type: str, name: str, price: float): 

+

9 self.type = ingredient_type 

+

10 self.name = name 

+

11 self.price = price 

+

12 

+

13 def get_price(self) -> float: 

+

14 return self.price 

+

15 

+

16 def get_name(self) -> str: 

+

17 return self.name 

+

18 

+

19 def get_type(self) -> str: 

+

20 return self.type 

+
+ + + diff --git a/htmlcov/z_c68eb0c7512457e4_ingredient_types_py.html b/htmlcov/z_c68eb0c7512457e4_ingredient_types_py.html new file mode 100644 index 000000000..4944226c4 --- /dev/null +++ b/htmlcov/z_c68eb0c7512457e4_ingredient_types_py.html @@ -0,0 +1,104 @@ + + + + + Coverage for praktikum\ingredient_types.py: 100% + + + + + +
+
+

+ Coverage for praktikum\ingredient_types.py: + 100% +

+ +

+ 2 statements   + + + +

+

+ « prev     + ^ index     + » next +       + coverage.py v7.15.4, + created at 2026-08-09 20:16 +0300 +

+ +
+
+
+

1""" 

+

2Перечисление с типами ингредиентов. 

+

3SAUCE – соус 

+

4FILLING – начинка 

+

5""" 

+

6INGREDIENT_TYPE_SAUCE = 'SAUCE' 

+

7INGREDIENT_TYPE_FILLING = 'FILLING' 

+
+ + + diff --git a/htmlcov/z_c68eb0c7512457e4_praktikum_py.html b/htmlcov/z_c68eb0c7512457e4_praktikum_py.html new file mode 100644 index 000000000..9a5dbf276 --- /dev/null +++ b/htmlcov/z_c68eb0c7512457e4_praktikum_py.html @@ -0,0 +1,138 @@ + + + + + Coverage for praktikum\praktikum.py: 0% + + + + + +
+
+

+ Coverage for praktikum\praktikum.py: + 0% +

+ +

+ 20 statements   + + + +

+

+ « prev     + ^ index     + » next +       + coverage.py v7.15.4, + created at 2026-08-09 20:16 +0300 +

+ +
+
+
+

1from typing import List 

+

2 

+

3from praktikum.bun import Bun 

+

4from praktikum.burger import Burger 

+

5from praktikum.database import Database 

+

6from praktikum.ingredient import Ingredient 

+

7 

+

8 

+

9def main(): 

+

10 # Инициализируем базу данных 

+

11 database: Database = Database() 

+

12 

+

13 # Создадим новый бургер 

+

14 burger: Burger = Burger() 

+

15 

+

16 # Считаем список доступных булок из базы данных 

+

17 buns: List[Bun] = database.available_buns() 

+

18 

+

19 # Считаем список доступных ингредиентов из базы данных 

+

20 ingredients: List[Ingredient] = database.available_ingredients() 

+

21 

+

22 # Соберём бургер 

+

23 burger.set_buns(buns[0]) 

+

24 

+

25 burger.add_ingredient(ingredients[1]) 

+

26 burger.add_ingredient(ingredients[4]) 

+

27 burger.add_ingredient(ingredients[3]) 

+

28 burger.add_ingredient(ingredients[5]) 

+

29 

+

30 # Переместим слой с ингредиентом 

+

31 burger.move_ingredient(2, 1) 

+

32 

+

33 # Удалим ингредиент 

+

34 burger.remove_ingredient(3) 

+

35 

+

36 # Распечатаем рецепт бургера 

+

37 print(burger.get_receipt()) 

+

38 

+

39 

+

40if __name__ == "__main__": 

+

41 main() 

+
+ + + From e0fbe4d90955616ca16c853b7758111b2b026f7f Mon Sep 17 00:00:00 2001 From: vennana Date: Sun, 16 Aug 2026 12:39:28 +0300 Subject: [PATCH 7/7] Delete tests/__pycache__ directory MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Папка давно в gitignore --- tests/__pycache__/__init__.cpython-314.pyc | Bin 192 -> 0 bytes .../test_bun.cpython-314-pytest-9.1.1.pyc | Bin 3449 -> 0 bytes .../test_burger.cpython-314-pytest-9.1.1.pyc | Bin 28554 -> 0 bytes .../test_database.cpython-314-pytest-9.1.1.pyc | Bin 12358 -> 0 bytes ...test_ingredient.cpython-314-pytest-9.1.1.pyc | Bin 5117 -> 0 bytes 5 files changed, 0 insertions(+), 0 deletions(-) delete mode 100644 tests/__pycache__/__init__.cpython-314.pyc delete mode 100644 tests/__pycache__/test_bun.cpython-314-pytest-9.1.1.pyc delete mode 100644 tests/__pycache__/test_burger.cpython-314-pytest-9.1.1.pyc delete mode 100644 tests/__pycache__/test_database.cpython-314-pytest-9.1.1.pyc delete mode 100644 tests/__pycache__/test_ingredient.cpython-314-pytest-9.1.1.pyc diff --git a/tests/__pycache__/__init__.cpython-314.pyc b/tests/__pycache__/__init__.cpython-314.pyc deleted file mode 100644 index 8ab8000cb7f009deaaa4669e73c19f35a01dbc12..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 192 zcmdPq_I|p@<2{{|u7+5(Oljtzs@r zzp&xL=8Fv%n=fp?u+%OniK1US>&ryk0@&Ee@O9{FKt1RJ$TpphY0} Q6oVL_m>C%vi07kaf#$JLoIXP7gP;_sNDqXtDy~G`jyBFFb+fUZ*|FM$ zrVSL)lpb16aEt_(+yWek5JLP1tV`9Pkq}&aE4TvG6W`1};*=Dqs)!4#)i>XBzL{@k zelyQBH6{^!PcNQ3^PP-Po(tip228CVm>F~mnbJ{2CDF?LN=4p|`c)d+?prjffki$V z@7Jlm9c@5u$W%5VQ|*C%`9~9`^b|5;x4AH2NKARDQe2TR#x3yG7Jyig@+71)5tUEH zsIn22&`EVr3|DwXWUw(}BgT|6$kbk!!sMpB3H1b48h?a-U`kOxx~bAc7SW^`gNemi z{Fv=hnAB9NXpP%D(`8b~+j%7#6hbNBLDp*@Kv8B;P6}o-m8>!tlq|IJcH)(` zDD%XdS!qA4%EU-#;BrJ7-GId_BYf7e^(?jpo zD!iQe0Jx2AyDw8i7`xoIp{&vq%q|?`@TU9XnwI@Tu0HNH7?-Kk&1iLhHOynG|L7Zw zd}F4z26L9e{vUGAQ5?)!>sEKxtz9{8#!WpN@0M0*^;}C>v$|QghPvezDyoO03ft3? znK&es)k6}=nhDsu4fo{UUZ#{McQIwCQsmqoPI@@m$5g(b?=@MjYZIDo?z+^rOrY9jxS3I#V%}|Xy30sTr+azMQqjpW;|3WIJ8i7ndX$h!)2SXd%9F{hJ`C0 zbxK2)BNDO%cC8Vc_rRJCizyXK#Uq522wR6oN@U!k*gjWwtfEE1GM`|oYda%^Z*vwC zhnn!?!csi3UzFYT!rpq}IbZPmeZF2e;3lA#j*gDB`0l<1(#r>P-bdbo_eFK4ddd6J z`^sC)d7o4-S3mSV^A^(Hb?@`)yWTh6*WLoOi{Po;6vzy^+kl!|ukZN2 z>4{n8hvwF6=dYai^!C~FS1&*_x4zokzN82LP0(M6q==byBlZS(1kx?uiEmgf4$O1w z>*MOANDU15)nJ@xjSyLWL_{|KN8~j?WI4pVheYHk?!Q800jq?cE&(=#V+G-_AHp9I z1-!NnyC+j(ZM+YJsIf2U^kNE@hF*9t%pef|Z3gqH1E6@vaIf)DKhAT)ht+S5B{r>|awX0E;3+_|I&|4q7zN3mMnQqlV}(A@#)&<=toxSq87Zb?f!G+cB*x>V;fiAe-+=K%#d7%F3Q{x1 zBL(78r%<$uB~WPoUCPvPi;S@p+@Rn{Nny$+PeL}r&k5Uru}k6h%VUdzZKwiE2eB;} z=N-84h6{O`x8WMb@QiP)Q$iSj^!14aCo1oc6aKJwj|2JRGMYg@$5NM1ymMkHwzV4D z`tiwMk@~DwL#h`4B`L=`YAN9EaPCeLX$=qd>=K^8foGSfsK{g_nI1j`#5QGHus`99 ze^JAQo+0*G0wrdNNX4MMLPx|V?}nkW#xk+SXkn}}o`JOxZxVk-23Y-!Vq5Dk_@#f5 j90UWOzROR*9YvC)pAdQvU26OhZTnqYCw0{j5E1$(VcD`B diff --git a/tests/__pycache__/test_burger.cpython-314-pytest-9.1.1.pyc b/tests/__pycache__/test_burger.cpython-314-pytest-9.1.1.pyc deleted file mode 100644 index 08f4e2b51b44b7765a68f1ad786e647509aebf79..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 28554 zcmeHQTWlQHd7iz`UdZJ|cT3{Z5^1g|^RA0U%aJ3?kz!k6#?~^eX>M2KlHO>^U7lI$ z!oaO;ClLh)mD2>NQWOY*_Q67dz;;_yNMfVSQyzCES|lbm5)^&$8!Z`i;g|OR&&)Y9 zJ3M=nN!NBbApbq*%(>5*@4uYObk^4eB)HsfUHtBU@0O%7^sviqIPN_Mj?2=hq&QAV zIS2i9o^;JRTcnfjoTo*<Dj`Ni7q@0s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Tf))qZrInZwfHs>)0vw#yJ@wk#scMo5-tGt)WP3@966 zS-zT6QiyLLMP&J6lB!xNnNFlLvP`4+%Jd_71c(tZw*?x$S%qFPs$m-o_-QmbpP;AF zXcWnFNWP5(lZ=$59L^*65)h+FmSNwbmW<1a2A)$n2!^5NdRdOAU?y{QK8Jf`9K?$mc(BH%tQI*I)YKO9g-H zvcGll#WmtP7+5F1K=5yHecyUDaCebgs}=l*(XkU9kCi#vzyhm(_-q>a9>=8t9wqrc# zc1bn^82f3m-oJp4;2|VzFOm4T`A$7SRnXz1Qaga$6+9l#CxrZnyjJru>H3(oeM}C0 SLeBjoFy!$ZSSLtXDgOp(Nc3R< diff --git a/tests/__pycache__/test_ingredient.cpython-314-pytest-9.1.1.pyc b/tests/__pycache__/test_ingredient.cpython-314-pytest-9.1.1.pyc deleted file mode 100644 index 019520f40cda7a2bc678b051ae308d558eefa0df..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5117 zcmeHLO>7fK6rQ!$_ImAP3nc_-XiNe$7QrDTC7}=mr74L-qiBK93X{>s*#r~Ec4o(d zq(VwdRX9{?d+HUb7jtNpwuhpss(R?5$2A~=Mylwww^TuG#i?)h&rWbCA&uGtE9dQd zZ{B+|^Jey&H`!BLBO`cz`ttI{+8{zHF1U~AFpF;kGmD0iD)b{NSZ`mSzu;>`eIgAs z+ATpEgce_as86DjrStcP`(!HjMQEfE)uA0o73+~2==9lfX;c-OQ9Sq?7YE`3ll!yd zL?2D-SsM4Ty8eL^YVRBUy#uH5>30Tu@u_2Hj`yA2GHzZ^SM5nEnM?1ax7uT&8;qK0X72+vK=UM>(r3aKax`XWg_O>MsRGUDblghBk0VECWFuD~u@up@$&|a7cw+?q{0K>l zAHhzTMM+pA`#HOD$lnPq{K<<$;-IrrY>iE)&g}4VJvBDu>+VBn>e4HYNv|+ohfo7b zdi@Q;u3rAYPLzj29fBG;JJR9nbZk{Y^(Eb%gR1S1a?b}L8!zmnH*RcYzsCnX3!8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