Update more test KCL
This commit is contained in:
		
				
					committed by
					
						
						Nick Cameron
					
				
			
			
				
	
			
			
			
						parent
						
							bdeda51078
						
					
				
				
					commit
					989ca83971
				
			@ -4,13 +4,13 @@ use kcl_to_core::*;
 | 
			
		||||
async fn kcl_to_core_test() {
 | 
			
		||||
    let result = kcl_to_engine_core(
 | 
			
		||||
        r#"
 | 
			
		||||
        const part001 = startSketchOn('XY')
 | 
			
		||||
        part001 = startSketchOn('XY')
 | 
			
		||||
            |> startProfileAt([11.19, 28.35], %)
 | 
			
		||||
            |> line([28.67, -13.25], %, $here)
 | 
			
		||||
            |> line([-4.12, -22.81], %)
 | 
			
		||||
            |> line([-33.24, 14.55], %)
 | 
			
		||||
            |> close(%)
 | 
			
		||||
            |> extrude(5, %)
 | 
			
		||||
            |> line(end = [28.67, -13.25], tag = $here)
 | 
			
		||||
            |> line(end = [-4.12, -22.81])
 | 
			
		||||
            |> line(end = [-33.24, 14.55])
 | 
			
		||||
            |> close()
 | 
			
		||||
            |> extrude(length = 5)
 | 
			
		||||
    "#,
 | 
			
		||||
    )
 | 
			
		||||
    .await;
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user