diff --git a/HardwareMonitor/HardwareMonitor.Tests/PercentileLowWiringTests.cs b/HardwareMonitor/HardwareMonitor.Tests/PercentileLowWiringTests.cs
index b6f62dd..c6559ff 100644
--- a/HardwareMonitor/HardwareMonitor.Tests/PercentileLowWiringTests.cs
+++ b/HardwareMonitor/HardwareMonitor.Tests/PercentileLowWiringTests.cs
@@ -241,4 +241,21 @@ public void LowsIgnoreRowsFromAnotherApplication()
Assert.Equal(before, poller.OnePercentLow.Value!.Value);
}
+
+ [Fact]
+ public void ParseData_KeepsUnselectedAppsInPickerAndIgnoresShortRows()
+ {
+ var poller = NewPoller();
+
+ poller.ParseData("short.exe,0");
+ poller.ParseData(Row(0, 10).Replace(App, "Application"));
+ poller.ParseData(Row(0, 10).Replace(App, "other.exe"));
+
+ Assert.Equal(new[] { "other.exe" }, poller.SnapshotCurrentApps());
+ Assert.Equal(0f, poller.Presented.Value);
+
+ poller.ParseData(Row(10, 20).Replace(App, "GAME.EXE"));
+ Assert.Equal(50f, poller.Presented.Value);
+ Assert.Contains("GAME.EXE", poller.SnapshotCurrentApps());
+ }
}
diff --git a/HardwareMonitor/HardwareMonitor/HardwareMonitor.csproj b/HardwareMonitor/HardwareMonitor/HardwareMonitor.csproj
index bc12467..3fd14cf 100644
--- a/HardwareMonitor/HardwareMonitor/HardwareMonitor.csproj
+++ b/HardwareMonitor/HardwareMonitor/HardwareMonitor.csproj
@@ -13,6 +13,10 @@
none
+
+
+
+