Align final test expectations with reviewed lighting repair
This commit is contained in:
parent
6349f0911e
commit
b2bdb09ccb
5 changed files with 31 additions and 6 deletions
|
|
@ -72,14 +72,19 @@ public sealed class AtmosphericLightingDirectionSpirvTests
|
|||
&& instruction.Operands.Contains(xyz.ResultId));
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// #478's reviewed amendment changes only the plain mesh vertex light-index
|
||||
/// comment and its EnvCell-47/object-8 stride and loop. The remaining plain
|
||||
/// shaders and receiver-selection sources stay byte exact.
|
||||
/// </summary>
|
||||
[Fact]
|
||||
public void ParentPlainShadersAndReceiverSelectionSourcesRemainByteExact()
|
||||
public void ParentPlainMeshVertexCarriesReviewed478StrideAmendmentAndOtherSourcesRemainByteExact()
|
||||
{
|
||||
AssertNormalizedTextHash(
|
||||
"d5af0cbe995bcd10acea92ac7140363f0941105452a89039a7b54c5217c505a2",
|
||||
"33d5563db8bcd7dc74e4836df2c6064cbd5112d074da5380b0bab333f1d7ece7",
|
||||
"src", "AcDream.App", "Rendering", "Shaders", "mesh_modern.vert");
|
||||
AssertBinaryHash(
|
||||
"6194193764616bc88bf967d1fdc2bea5f6f2d1ec2ef94fd492922137503f56e4",
|
||||
"9909ca4729dbe4fc7fbffb11c73481977d8f593d37f130fcdd44a7803b47944f",
|
||||
"src", "AcDream.App", "Rendering", "Shaders", "spv", "mesh_modern.vert.spv");
|
||||
AssertNormalizedTextHash(
|
||||
"b80c201771b6adf3a13b5564492c5188f53a59e61b4d730fb5037ae322b0dde0",
|
||||
|
|
|
|||
|
|
@ -318,7 +318,7 @@ public sealed class WalkStaticStreamPopulatorTests
|
|||
Assert.DoesNotContain(
|
||||
"one stable far-to-near stream keyed", architecture, StringComparison.OrdinalIgnoreCase);
|
||||
|
||||
Assert.Contains("current active total to **160**", register, StringComparison.Ordinal);
|
||||
Assert.Contains("current active total to **159**", register, StringComparison.Ordinal);
|
||||
int apSectionStart = register.IndexOf(
|
||||
"## 3. Documented approximation (AP)", StringComparison.Ordinal);
|
||||
int apSectionEnd = register.IndexOf(
|
||||
|
|
@ -342,7 +342,7 @@ public sealed class WalkStaticStreamPopulatorTests
|
|||
Assert.Single(File.ReadLines(registerPath), static line =>
|
||||
line.StartsWith("| AP-244 |", StringComparison.Ordinal));
|
||||
Assert.Equal(
|
||||
160,
|
||||
159,
|
||||
File.ReadLines(registerPath).Count(static line =>
|
||||
line.StartsWith("| AP-", StringComparison.Ordinal)));
|
||||
Assert.Contains("greater than 50 m", register, StringComparison.Ordinal);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue