Allowed the Batch Processing assistant to process images (#1087)

Co-authored-by: Thorsten Sommer <SommerEngineering@users.noreply.github.com>
This commit is contained in:
Peer HogeterpandThorsten Sommer authored and GitHub committed 2026-10-21 13:52:26 +02:00
1 parent 5d6e48ef93
commit e019c24ea2
19 files changed
+429 -31

No files matched your search

@@ -0,0 +1,20 @@
using AIStudio.Settings.DataModel;
using AIStudio.Tools.Rust;
namespace AIStudio.Tests.Settings;
public class DataBatchProcessingTests
{
/// <summary>
/// The default patterns are a constant and cannot be built from FileTypes, so this keeps both
/// lists of the images we hand to the model in step.
/// </summary>
[Test]
public void DefaultPatternsHoldEveryImageTheModelCanRead()
{
var patterns = DataBatchProcessing.DEFAULT_FILE_PATTERNS.Split(';');
var imagePatterns = FileTypes.MODEL_IMAGE.FlattenExtensions().Select(extension => $"*.{extension}");
Assert.That(patterns, Is.SupersetOf(imagePatterns));
}
}