We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 275a654 commit 6153b23Copy full SHA for 6153b23
Turtle.tests.ps1
@@ -2,10 +2,10 @@ describe Turtle {
2
it "Draws things with simple commands" {
3
$null = $turtle.Clear().Square()
4
$turtleSquaredPoints = $turtle.Points
5
- $turtleSquaredPoints.Length | Should -Be 8
6
- $turtleSquaredPoints |
+ $turtleSquaredPoints.Length | Should -Be 8
+ [int]($turtleSquaredPoints |
7
Measure-Object -Sum |
8
- Select-Object -ExpandProperty Sum |
+ Select-Object -ExpandProperty Sum) |
9
Should -Be 0
10
}
11
0 commit comments