Skip to content

Instantly share code, notes, and snippets.

Restoring NuGet packages...
To prevent NuGet from restoring packages during build, open the Visual Studio Options dialog, click on the NuGet Package Manager node and uncheck 'Allow NuGet to download missing packages during build.'
Running restore with 2 concurrent jobs.
Reading project file C:\Users\kent\Repository\<<redacted>>\src\<<redacted>>\MESH\API.Interfaces\API.Interfaces.csproj.
Reading project file C:\Users\kent\Repository\<<redacted>>\src\<<redacted>>\MESH\API\API.csproj.
The restore inputs for 'API.Interfaces' have not changed. No further actions are required to complete the restore.
Committing restore...
Assets file has not changed. Skipping assets file writing. Path: C:\Users\kent\Repository\<<redacted>>\src\<<redacted>>\MESH\API.Interfaces\obj\project.assets.json
No-Op restore. The cache will not be updated. Path: C:\Users\kent\Repository\<<redacted>>\src\<<redacted>>\MESH\API.Interfaces\obj\API.Interfaces.csproj.nuget.cache
Restore completed in 6.69 ms for C:\Users\kent\Repository\<<redacted>>\
!! PLEASE REVIEW THIS LOG FOR SENSITIVE INFORMATION BEFORE SHARING !!
Dart Code extension: 2.24.0
VS Code: 1.32.3
Platform: win
Workspace type: Dart
Multi-root?: false
Dart SDK:
Loc: C:\Program Files\Dart\dart-sdk
Ver: 2.1.0
void main() {
final units = InformationUnit.values;
for (var i = 0; i < units.length; ++i) {
final unit = units[i];
final bits = unit.numberOfBitsComprisingUnit;
print('BigInt.parse(\'$bits\'): $unit,');
if (i > 0) {
final units = InformationUnit.values;
for (var i = 1; i < units.length; ++i) {
final unit = units[i];
final bits = unit.numberOfBitsComprisingUnit;
print("test('${unit.name}s calculates correctly', () {");
print(" final sut = InformationSize.fromBits(BigInt.parse('${bits + (bits >> 1)}'));");
print(" final result = sut.${unit.name}s;");
print(" expect(result, 1.5);");