added participant shape test
This commit is contained in:
		
							
								
								
									
										4
									
								
								tests/participant/shapes/.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								tests/participant/shapes/.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,4 @@ | ||||
| # generated by tytanic, do not edit | ||||
|  | ||||
| diff/** | ||||
| out/** | ||||
							
								
								
									
										
											BIN
										
									
								
								tests/participant/shapes/ferris.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								tests/participant/shapes/ferris.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 25 KiB | 
							
								
								
									
										
											BIN
										
									
								
								tests/participant/shapes/gitea.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								tests/participant/shapes/gitea.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 17 KiB | 
							
								
								
									
										
											BIN
										
									
								
								tests/participant/shapes/me.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								tests/participant/shapes/me.jpg
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 530 KiB | 
							
								
								
									
										
											BIN
										
									
								
								tests/participant/shapes/ref/1.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								tests/participant/shapes/ref/1.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 102 KiB | 
							
								
								
									
										21
									
								
								tests/participant/shapes/test.typ
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								tests/participant/shapes/test.typ
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,21 @@ | ||||
| #set page(width: auto, height: auto) | ||||
| #import "/src/lib.typ": * | ||||
|  | ||||
|  | ||||
| #let TYPST = image("typst.png", width: 1.5cm, height: 1.5cm, fit: "contain") | ||||
| #let FERRIS = image("ferris.png", width: 1.5cm, height: 1.5cm, fit: "contain") | ||||
| #let ME = image("me.jpg", width: 1.5cm, height: 1.5cm, fit: "contain") | ||||
|  | ||||
| #diagram({ | ||||
|   _par("Foo", display-name: "Participant", shape: "participant") | ||||
|   _par("Foo1", display-name: "Actor", shape: "actor") | ||||
|   _par("Foo2", display-name: "Boundary", shape: "boundary") | ||||
|   _par("Foo3", display-name: "Control", shape: "control") | ||||
|   _par("Foo4", display-name: "Entity", shape: "entity") | ||||
|   _par("Foo5", display-name: "Database", shape: "database") | ||||
|   _par("Foo6", display-name: "Collections", shape: "collections") | ||||
|   _par("Foo7", display-name: "Queue", shape: "queue") | ||||
|   _par("Foo8", display-name: "Typst", shape: "custom", custom-image: TYPST) | ||||
|   _par("Foo9", display-name: "Ferris", shape: "custom", custom-image: FERRIS) | ||||
|   _par("Foo10", display-name: "Baryhobal", shape: "custom", custom-image: ME) | ||||
| }) | ||||
							
								
								
									
										
											BIN
										
									
								
								tests/participant/shapes/typst.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								tests/participant/shapes/typst.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 42 KiB | 
		Reference in New Issue
	
	Block a user