feat: Add support for thumbnail inclusion in AI processing and enhance UI bindings
This commit is contained in:
parent
cb41c42bb5
commit
7e105e3738
9 changed files with 235 additions and 27 deletions
|
|
@ -122,6 +122,21 @@ public class DataModelCharacterizationTests
|
|||
model.UseNumberAiGpu.ShouldBeTrue();
|
||||
}
|
||||
|
||||
[TestMethod]
|
||||
public void NumberAiThumbnails_DefaultsOffAndRaisesDataModelPropertyChanged()
|
||||
{
|
||||
var model = CreateModel();
|
||||
model.IncludeNumberAiThumbnails.ShouldBeFalse();
|
||||
|
||||
string? changed = null;
|
||||
model.PropertyChanged += (_, args) => changed = args.PropertyName;
|
||||
|
||||
model.Ai.IncludeNumberAiThumbnails = true;
|
||||
|
||||
changed.ShouldBe(nameof(DataModel.IncludeNumberAiThumbnails));
|
||||
model.IncludeNumberAiThumbnails.ShouldBeTrue();
|
||||
}
|
||||
|
||||
[TestMethod]
|
||||
public void CommandLineOperationRunner_DetectsHeadlessRequest()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue