mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-13 21:53:47 +00:00
Check image counts against the limits vendors state
This commit is contained in:
10 files changed
+561
-283
No files matched your search
@@ -42,7 +42,14 @@ public sealed class ModelRegistryTests
|
||||
[Test]
|
||||
public void EveryFamilySaysWhereItsStatementsCanBeCheckedAndWhen()
|
||||
{
|
||||
var unstated = ModelRegistry.Shared.Families.Where(family => !family.Source.IsStated).Select(family => family.Name);
|
||||
//
|
||||
// The further sources are asked the same question as the first one. A family which reads
|
||||
// its windows from one page and its image limits from another has two pages to name, and a
|
||||
// second page named without a day is exactly as uncheckable as no page at all.
|
||||
//
|
||||
var unstated = ModelRegistry.Shared.Families
|
||||
.Where(family => !family.Source.IsStated || family.FurtherSources.Any(source => !source.IsStated))
|
||||
.Select(family => family.Name);
|
||||
|
||||
Assert.That(unstated, Is.Empty);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user