From 2610922c1b8005c4ae59e15dd9929f6d8fdab381 Mon Sep 17 00:00:00 2001 From: Sam Rose Date: Thu, 21 Mar 2024 01:54:54 +0000 Subject: [PATCH] More tests. --- screenshots/tall-wide-tube-segment.png | Bin 0 -> 9966 bytes screenshots/wide-tube-segment.png | Bin 0 -> 11246 bytes tests.ts | 20 ++++++++++++++++++++ 3 files changed, 20 insertions(+) create mode 100644 screenshots/tall-wide-tube-segment.png create mode 100644 screenshots/wide-tube-segment.png diff --git a/screenshots/tall-wide-tube-segment.png b/screenshots/tall-wide-tube-segment.png new file mode 100644 index 0000000000000000000000000000000000000000..7f5c6374500c9763d852ef22ee68e1161885fc68 GIT binary patch literal 9966 zcmeHNc{r5o-+xf)lonBzY=;U7jeVO&#~3<^Gf9?;q9Q_!ePX7Z4#td8DN8jNl`YgS zLsOO(M#)-+Fj4j;Gg-#i#=Q5V_r2bK-+$lhI>|Mc=ed{f{arub&pkguFt&k`>h zW;w-$qN`P&ojr_3pAZT^i}blXYNP0Orsg{P1RacBo?DGoSSQ0ZOHNz_KBNx zNN*tgQD5Z3%om3yy{{ZB+G0xfkKghbWzwTnL@^xk zJ@;T^>Q*c#+BdDs(^5EH>~%~O^KJ{46LE@r39{Y<1m=V}%bI?jOZ7TQA)^`fyV_$W zobwo0&KXtqS$J%g!|*d2_9$+ed|XgeOq{Eyy62abQz3aUZ~ z_Cqh&k6Z3+6v;t&Sn`zE)xmsqN^Wj$0oxy8VzR6GqM_h^ijjeVy7evj z-N`){(vJ}ixbI*Tmy+aFTdOxgV;3$cl;m6O%>t8~&qO4Rc;amt?HHyj-$=~BP|P5q z@xn*?e7vdy;dIzdoDoEuM_X-+Uo>)@|@-?YwtcUspOIXY00!k zdYBiNj^7HsRxI9iAaP`~=XOeZt(794r;F*l1!ZPJ?nmo^h5B7<75Vych{pa^6M+&$ ztSB_$98{E4k#{bO4J@b4q;YUBNo&JpN=|m@G50LBm}yLm(sms4j8bZ9nHD_y@8DG8}DC%$i^vffBGblkMV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MS@9j3PZs|H1KrVp_7}&-jAs+TAAYi;AS)SN79%0e*+l8EJZKipTE((bD>ckT zN@W{qv7VcZOYu=A`htkwpZ~A(Kt4Jas&7bMYJ)*SK5x(5bF{UpoM*Yar$IY*4B8I5 zq~u)I!-qvtCY8MHb6E>_HSWnh^Dl#^x#(R15r?QTagA*=s&VTUrhJ$h7`HDA{OD>P zC^Q$wTIi%0MAfm;NdC!~QaSt`_?J8|@QcE4gASYTWgb7Fv(TE74&55`scrvk2kY5d z2mh{ajV(squa3E>FfB2MwZ|cJc4Wo!SG?1oW^D7(i-4EV4&l&h3w%leeve7(Y7oHH zoAD@7CY&S__(dI3HD*9ch4c4j=-d2Cod7}~Gm(EhrcWkSHyiil+9QCL5I%Qj;HhdD zeq(;jgg^m8PcW8|Q79G>v?S0ttGZPbW%$dWi>P4lF5j}}&m&<1gJvkUIpVopLUQT= z5OYnd4WQlmcI<5fT6ZWnXK`2`ZB5`%4TccNSi@%66X=$tl?4cu01LiBa~)M#bO3nI ze9&}Z3?dP{t^L6v&qla-q24Rxxc`yKGibPWx@E=CG_Z{k81?#6W z?Dhgg|2RbCpiG+$tY~l;7EG^J404~Um|eYxeh*ixU|MOx7}ySWyvbic zI*-b&F=Zb?hKsiEjWO3WgE3m!;_%Q8rYW!TkVEk=Ws{Zkj@JfC{5S4_x(-D@b%pWW oOW84Dd`q}cRje%KTDT$(P`|P-KK1KQfYA`MV^&A=es{h3KMmyzLjV8( literal 0 HcmV?d00001 diff --git a/tests.ts b/tests.ts index 6267d29..4b44fa9 100644 --- a/tests.ts +++ b/tests.ts @@ -373,3 +373,23 @@ componentTest("tall-tube-segment", () => .leaves((leaf) => leaf.fit()) .debug(), ); + +componentTest("tall-wide-tube-segment", () => + HStack( + tube({ center: true, orientation: "horizontal" }), + tube({ center: true, orientation: "horizontal" }), + ) + .proportions(10, 1) + .leaves((leaf) => leaf.fit()) + .debug(), +); + +componentTest("wide-tube-segment", () => + VStack( + tube({ center: true, orientation: "horizontal" }), + tube({ center: true, orientation: "horizontal" }), + ) + .proportions(10, 1) + .leaves((leaf) => leaf.fit()) + .debug(), +);