It"Identity column should have 128 uses"{$results.NumberOfUses|ShouldBe128}It"TinyInt identity column with 128 rows inserted should be 50.20% full"{$results.PercentUsed|ShouldBe50.20}

$insertSql="INSERT INTO $table (testData) DEFAULT VALUES"for($i=1;$i-le127;$i++){Invoke-Sqlcmd2-ServerInstance$script:instance1-Query$insertSql-databaseTempDb}$results=Test-DbaIdentityUsage-SqlInstance$script:instance1-DatabaseTempDb|Where-Object{$_.Table-eq$table}It"Identity column should have 255 uses"{$results.NumberOfUses|ShouldBe255}It"TinyInt with 255 rows should be 100% full"{$results.PercentUsed|ShouldBe100}