You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Well Averages can be challenging especially when the resulting average can have a seemingly endless number of significant digits. I would propose that you limit the number of significant digits in some manner otherwise it is going to be hit and miss for passing this test.
Original Line 80:
__ | Should -Be $Data.Average
Modified Line 80:
__ | Should -Be Should -Be ([math]::Round($Data.Average,4))
ISSUE 2: 'can measure text lines, characters, and words of strings'
EXCEPT when the file does not exist, then the answers are always zero (0). If this was your intent then this isn't an issue, otherwise it might be wise to have a file that exists as part of the data. I just picked a file and plugged it in.
Yeah, agreed on the rounding issue. For the latter point, it might be a better call to simply include a few lines of text in the koan file itself rather than trying to read another file.
* 🔧 Resolve issues in AboutModules
Fixes#342
* 🔧 Fix issues in AboutTeeObject
Fixes#341
Also added a new koan to show when the variable is created
* 🔧 Fix issues in AboutMeasureObject
Fixes#340
* 🔧 Fix issues in AboutSelectObject
Fixes#339Fixes#337
* 🔧 Fix issue in AboutAssignmentAndArithmetic
Fixes#334
* 🔧 Fix issues in AboutDiscovery
Fixes#335Fixes#332
* 🔧 ♻️ Fix up AboutArrays
Fixes#330
* 🔧 Fix missing variable reference
* 🎨 Update format of array declaration
ISSUE 1: 'can operate on object properties'
Well Averages can be challenging especially when the resulting average can have a seemingly endless number of significant digits. I would propose that you limit the number of significant digits in some manner otherwise it is going to be hit and miss for passing this test.
Original Line 80:
__ | Should -Be $Data.Average
Modified Line 80:
__ | Should -Be Should -Be ([math]::Round($Data.Average,4))
ISSUE 2: 'can measure text lines, characters, and words of strings'
EXCEPT when the file does not exist, then the answers are always zero (0). If this was your intent then this isn't an issue, otherwise it might be wise to have a file that exists as part of the data. I just picked a file and plugged it in.
Original line 84:
Modified line 84
Depends on the intent of the developers.
The text was updated successfully, but these errors were encountered: