File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -24,18 +24,21 @@ describe Turtle {
2424 $t = turtle ArcRight $Radius 360
2525 $Heading = 180.0
2626 [Math ]::Round($t.Width , 1 ) | Should - Be ($Radius * 2 )
27+ [Math ]::Round($t.Height , 1 ) | Should - Be ($Radius * 2 )
2728 [Math ]::Round($t.Heading , 1 ) | Should - Be 360.0
2829
2930 $Radius = 1
3031 $Heading = 180.0
3132 $t = turtle ArcRight $Radius 180
32- [Math ]::Round($t.Width , 1 ) | Should - Be ($Radius * 2 )
33+ [Math ]::Round($t.Width , 1 ) | Should - Be $Radius
34+ [Math ]::Round($t.Height , 1 ) | Should - Be ($Radius * 2 )
3335 [Math ]::Round($t.Heading , 1 ) | Should - Be $Heading
3436
3537 $Radius = 1
3638 $Heading = 90.0
3739 $t = turtle ArcRight $Radius $Heading
38- [Math ]::Round($t.Width , 1 ) | Should - Be ($Radius * 4 )
40+ [Math ]::Round($t.Width , 1 ) | Should - Be $Radius
41+ [Math ]::Round($t.Height , 1 ) | Should - Be $Radius
3942 [Math ]::Round($t.Heading , 1 ) | Should - Be $Heading
4043 }
4144
You can’t perform that action at this time.
0 commit comments