642 references to Equal
Contract.XmlSerializer.IntegrationTests (6)
XmlSerializerFormatTest.cs (6)
185Assert.Equal((new byte[] { byteParams.P1, byteParams.P2 }), serviceProxy1.CreateSet(byteParams));
233Assert.Equal((new byte[] { byteParams.P1, byteParams.P2 }), serviceProxy1.CreateSet(byteParams));
281Assert.Equal((new byte[] { byteParams.P1, byteParams.P2 }), serviceProxy1.CreateSet(byteParams));
334Assert.Equal((new byte[] { byteParams.P1, byteParams.P2 }), serviceProxy1.CreateSet(byteParams));
391Assert.Equal((new byte[] { byteParams.P1, byteParams.P2 }), serviceProxy1.CreateSet(byteParams));
448Assert.Equal((new byte[] { byteParams.P1, byteParams.P2 }), serviceProxy1.CreateSet(byteParams));
dotnet-svcutil.xmlserializer.IntegrationTests (6)
src\System.Private.ServiceModel\tests\Scenarios\Contract\XmlSerializer\XmlSerializerFormatTest.cs (6)
185Assert.Equal((new byte[] { byteParams.P1, byteParams.P2 }), serviceProxy1.CreateSet(byteParams));
233Assert.Equal((new byte[] { byteParams.P1, byteParams.P2 }), serviceProxy1.CreateSet(byteParams));
281Assert.Equal((new byte[] { byteParams.P1, byteParams.P2 }), serviceProxy1.CreateSet(byteParams));
334Assert.Equal((new byte[] { byteParams.P1, byteParams.P2 }), serviceProxy1.CreateSet(byteParams));
391Assert.Equal((new byte[] { byteParams.P1, byteParams.P2 }), serviceProxy1.CreateSet(byteParams));
448Assert.Equal((new byte[] { byteParams.P1, byteParams.P2 }), serviceProxy1.CreateSet(byteParams));
IIS.FunctionalTests (2)
IISExpress.FunctionalTests (2)
InMemory.FunctionalTests (4)
Interop.FunctionalTests (2)
Microsoft.AspNetCore.Antiforgery.Test (1)
Microsoft.AspNetCore.Components.Server.Tests (3)
Microsoft.AspNetCore.Components.Tests (7)
Lifetime\ComponentApplicationStateTest.cs (5)
25Assert.Equal(new byte[] { 1, 2, 3, 4 }, existing);
59Assert.Equal(new byte[] { 1, 2, 3, 4 }, existing);
79Assert.Equal(myState, JsonSerializer.Deserialize<byte[]>(stored));
115Assert.Equal(myState, JsonSerializer.Deserialize<byte[]>(stored));
151Assert.Equal(myState, stored);
Microsoft.AspNetCore.Components.WebAssembly.Tests (2)
Microsoft.AspNetCore.DataProtection.Tests (22)
Microsoft.AspNetCore.Grpc.JsonTranscoding.Tests (4)
Microsoft.AspNetCore.Http.Abstractions.Tests (2)
Microsoft.AspNetCore.Http.Connections.Tests (9)
HttpConnectionDispatcherTests.cs (9)
2407Assert.Equal(firstMsg, webSocketMessage.Buffer);
2437Assert.Equal(secondMsg, webSocketMessage.Buffer);
2481Assert.Equal(firstMsg, webSocketMessage.Buffer);
2512Assert.Equal(secondMsg, webSocketMessage.Buffer);
2983Assert.Equal(new byte[] { 1, 2, 3 }, memory.Slice(0, 3).ToArray());
2995Assert.Equal(new byte[] { 1, 2, 3 }, memory.Slice(0, 3).ToArray());
3040Assert.Equal(new byte[] { 2, 3, 4 }, memory.Slice(0, 3).ToArray());
3050Assert.Equal(new byte[] { 2, 3, 4 }, memory.Slice(0, 3).ToArray());
3172Assert.Equal(new byte[] { 1 }, memory.Slice(0, 1).ToArray());
Microsoft.AspNetCore.Http.Extensions.Tests (14)
Microsoft.AspNetCore.Http.Results.Tests (3)
Microsoft.AspNetCore.Identity.Test (3)
Microsoft.AspNetCore.Mvc.Core.Test (21)
Infrastructure\JsonResultExecutorTestBase.cs (10)
38Assert.Equal(expected, written);
59Assert.Equal(expected, written);
83Assert.Equal(expected, written);
103Assert.Equal(expected, written);
127Assert.Equal(expected, written);
149Assert.Equal(expected, written);
174Assert.Equal(expected, written);
198Assert.Equal(expected, written);
324Assert.Equal(expected, written);
360Assert.Equal(expected, written);
ModelBinding\Binders\CollectionModelBinderTest.cs (4)
87Assert.Equal(new[] { 42, 100, 200 }, list.ToArray());
118Assert.Equal(new[] { 42, 100, 200 }, list.ToArray());
144Assert.Equal(new[] { 42, 100, 200 }, list.ToArray());
170Assert.Equal(new[] { 42, 100, 200 }, list.ToArray());
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (2)
Microsoft.AspNetCore.Mvc.IntegrationTests (17)
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (14)
src\Mvc\Mvc.Core\test\Infrastructure\JsonResultExecutorTestBase.cs (10)
38Assert.Equal(expected, written);
59Assert.Equal(expected, written);
83Assert.Equal(expected, written);
103Assert.Equal(expected, written);
127Assert.Equal(expected, written);
149Assert.Equal(expected, written);
174Assert.Equal(expected, written);
198Assert.Equal(expected, written);
324Assert.Equal(expected, written);
360Assert.Equal(expected, written);
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (15)
Microsoft.AspNetCore.OutputCaching.Tests (1)
Microsoft.AspNetCore.RequestDecompression.Tests (12)
RequestDecompressionMiddlewareTests.cs (12)
91Assert.Equal(uncompressedBytes, decompressedBytes);
107Assert.Equal(uncompressedBytes, decompressedBytes);
139Assert.Equal(uncompressedBytes, decompressedBytes);
154Assert.Equal(uncompressedBytes, outputBytes);
170Assert.Equal(compressedBytes, outputBytes);
187Assert.Equal(inputBytes, outputBytes);
253Assert.Equal(uncompressedBytes, decompressedBytes);
325Assert.Equal(uncompressedBytes, outputBytes);
332Assert.Equal(compressedBytes, outputBytes);
422Assert.Equal(uncompressedBytes, decompressedBytes);
508Assert.Equal(uncompressedBytes, decompressedBytes);
592Assert.Equal(uncompressedBytes, decompressedBytes);
Microsoft.AspNetCore.ResponseCaching.Tests (1)
Microsoft.AspNetCore.ResponseCompression.Tests (4)
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (12)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (29)
BitShifterTests.cs (3)
21Assert.Equal(new byte[] { 0x80, 0x00, 0x00, 0x01 }, dirtySpan.ToArray());
33Assert.Equal(new byte[] { 0x80, 0x00, 0x00, 0x01 }, dirtySpan.ToArray());
45Assert.Equal(new byte[] { 0x00, 0x00, 0x00, 0x01 }, dirtySpan.ToArray());
BufferWriterTests.cs (10)
67Assert.Equal(array, Read());
87Assert.Equal(array.Skip(offset).Take(length).ToArray(), Read());
102Assert.Equal(array, Read());
114Assert.Equal(new byte[] { 1, 2, 3 }, Read());
128Assert.Equal(new byte[] { 1, 2, 3 }, Read());
144Assert.Equal(expectedBytes, Read());
154Assert.Equal(new byte[] { }, Read());
163Assert.Equal(new byte[] { }, Read());
179Assert.Equal(new byte[] { 1, 2, 3 }, Read());
226Assert.Equal(data, Read());
Http2\Http2HPackEncoderTests.cs (5)
489Assert.Equal(expectedPayload, new ArraySegment<byte>(payload, 0, length).ToArray());
544Assert.Equal(expectedStatusCodePayload, payload.Slice(0, length).ToArray());
551Assert.Equal(expectedDateHeaderPayload, payload.Slice(offset, length).ToArray());
558Assert.Equal(expectedContentTypeHeaderPayload, payload.Slice(offset, length).ToArray());
565Assert.Equal(expectedServerHeaderPayload, payload.Slice(offset, length).ToArray());
Http3\Http3FrameWriterTests.cs (3)
49Assert.Equal(new byte[] { 0x04, 0x00 }, payload.ToArray());
68Assert.Equal(new byte[] { 0x04, 0x05, 0x06, 0x80, 0x00 }, payload.ToArray());
86Assert.Equal(new byte[] { 0x04, 0x08, 0x01, 0x44, 0xD2, 0x06, 0x80, 0x08, 0xAA, 0x52 }, payload.ToArray());
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (6)
Microsoft.AspNetCore.Shared.Tests (7)
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (1)
Microsoft.AspNetCore.SignalR.Client.Tests (2)
Microsoft.AspNetCore.SignalR.Common.Tests (24)
Internal\Protocol\Utf8BufferTextWriterTests.cs (10)
146Assert.Equal(expectedData, actualData);
175Assert.Equal(expectedData, actualData);
283seg => Assert.Equal(new byte[] { 0x61, 0xE3, 0x81, 0x84, 0x62 }, seg), // "aいb"
284seg => Assert.Equal(new byte[] { 0xE3, 0x82, 0x8D, 0x63, 0x64 }, seg), // "ろcd"
285seg => Assert.Equal(new byte[] { 0xE3, 0x81, 0xAF }, seg), // "は"
286seg => Assert.Equal(new byte[] { 0xE3, 0x81, 0xAB, 0x65 }, seg), // "にe"
287seg => Assert.Equal(new byte[] { 0xE3, 0x81, 0xBB, 0x66 }, seg), // "ほf"
288seg => Assert.Equal(new byte[] { 0xE3, 0x81, 0xB8 }, seg), // "へ"
289seg => Assert.Equal(new byte[] { 0xE3, 0x81, 0xA9, 0x67, 0x68 }, seg), // "どgh"
290seg => Assert.Equal(new byte[] { 0x69, 0xF0, 0x90, 0x80, 0x80 }, seg)); // "i\uD800\uDC00"
Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests (5)
Microsoft.AspNetCore.SignalR.Tests (7)
Microsoft.AspNetCore.TestHost.Tests (2)
Microsoft.AspNetCore.WebSockets.Tests (10)
Microsoft.AspNetCore.WebUtilities.Tests (49)
FileBufferingReadStreamTests.cs (14)
479Assert.Equal(data, withoutBufferMs.ToArray());
481Assert.Equal(data, withBufferMs.ToArray());
503Assert.Equal(data, withoutBufferMs.ToArray());
505Assert.Equal(data, withBufferMs.ToArray());
522Assert.Equal(data.AsMemory(0, 100).ToArray(), buffer);
523Assert.Equal(data.AsMemory(100).ToArray(), withoutBufferMs.ToArray());
540Assert.Equal(data.AsMemory(0, read).ToArray(), buffer);
541Assert.Equal(data.AsMemory(read).ToArray(), withoutBufferMs.ToArray());
559Assert.Equal(data.AsMemory(0, read).ToArray(), buffer);
560Assert.Equal(data.ToArray(), withoutBufferMs.ToArray());
579Assert.Equal(data.AsMemory(0, read1).ToArray(), buffer);
580Assert.Equal(data.AsMemory(0, read2).ToArray(), buffer2.AsMemory(0, read2).ToArray());
599Assert.Equal(data.AsMemory(0, read1).ToArray(), buffer);
600Assert.Equal(data.AsMemory(0, read2).ToArray(), buffer2.AsMemory(0, read2).ToArray());
FileBufferingWriteStreamTests.cs (14)
34Assert.Equal(input, ReadBufferedContent(pagedByteBuffer));
61Assert.Equal(input, ReadBufferedContent(pageBuffer));
82Assert.Equal(input, fileBytes);
105Assert.Equal(input, fileBytes);
129Assert.Equal(new byte[] { 1, 2, 3, 4, 5, }, fileBytes);
131Assert.Equal(new byte[] { 6, 7 }, ReadBufferedContent(pageBuffer));
147Assert.Equal(input, ReadBufferedContent(pagedByteBuffer));
172Assert.Equal(input, ReadBufferedContent(pageBuffer));
193Assert.Equal(input, fileBytes);
216Assert.Equal(input, fileBytes);
243Assert.Equal(new byte[] { 1, 2, 3, 4, 5, }, fileBytes);
244Assert.Equal(new byte[] { 6, 7 }, ReadBufferedContent(pageBuffer));
348Assert.Equal(input, memoryStream.ToArray());
365Assert.Equal(input, memoryStream.ToArray());
PagedByteBufferTest.cs (12)
25Assert.Equal(input, ReadBufferedContent(buffer));
43Assert.Equal(Enumerable.Concat(input1, input2).ToArray(), ReadBufferedContent(buffer));
59Assert.Equal(new byte[] { 2, 3, 4 }, ReadBufferedContent(buffer));
77Assert.Equal(Enumerable.Concat(input1, input2).ToArray(), ReadBufferedContent(buffer));
93Assert.Equal(input.ToArray(), ReadBufferedContent(buffer));
109Assert.Equal(input, stream.ToArray());
118Assert.Equal(newInput, stream.ToArray());
134Assert.Equal(input, stream.ToArray());
142Assert.Equal(newInput, stream.ToArray());
158Assert.Equal(input, stream.ToArray());
185Assert.Equal(input, memoryStream.ToArray());
210Assert.Equal(input, memoryStream.ToArray());
Microsoft.Build.Engine.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (14)
Attributes\AttributeTests_Assembly.cs (14)
605Assert.Equal(new byte[] { 0x6C, 0x9C, 0x3E, 0xDA, 0x60, 0x0F, 0x81, 0x93, 0x4A, 0xC1, 0x0D, 0x41, 0xB3, 0xE9, 0xB2, 0xB7, 0x2D, 0xEE, 0x59, 0xA8 },
609Assert.Equal(new byte[] { 0x7F, 0x28, 0xEA, 0xD1, 0xF4, 0xA1, 0x7C, 0xB8, 0x0C, 0x14, 0xC0, 0x2E, 0x8C, 0xFF, 0x10, 0xEC, 0xB3, 0xC2, 0xA5, 0x1D },
636Assert.Equal(new byte[] { 0x6C, 0x9C, 0x3E, 0xDA, 0x60, 0x0F, 0x81, 0x93, 0x4A, 0xC1, 0x0D, 0x41, 0xB3, 0xE9, 0xB2, 0xB7, 0x2D, 0xEE, 0x59, 0xA8 },
640Assert.Equal(new byte[] { 0x7F, 0x28, 0xEA, 0xD1, 0xF4, 0xA1, 0x7C, 0xB8, 0x0C, 0x14, 0xC0, 0x2E, 0x8C, 0xFF, 0x10, 0xEC, 0xB3, 0xC2, 0xA5, 0x1D },
666Assert.Equal(new byte[] { 0x24, 0x22, 0x03, 0xC3, 0x94, 0xD5, 0xC2, 0xD9, 0x99, 0xB3, 0x6D, 0x59, 0xB2, 0xCA, 0x23, 0xBC },
670Assert.Equal(new byte[] { 0x8D, 0xFE, 0xBF, 0x49, 0x8D, 0x62, 0x2A, 0x88, 0x89, 0xD1, 0x0E, 0x00, 0x9E, 0x29, 0x72, 0xF1 },
696Assert.Equal(new byte[] { 0x6C, 0x9C, 0x3E, 0xDA, 0x60, 0x0F, 0x81, 0x93, 0x4A, 0xC1, 0x0D, 0x41, 0xB3, 0xE9, 0xB2, 0xB7, 0x2D, 0xEE, 0x59, 0xA8 },
700Assert.Equal(new byte[] { 0x7F, 0x28, 0xEA, 0xD1, 0xF4, 0xA1, 0x7C, 0xB8, 0x0C, 0x14, 0xC0, 0x2E, 0x8C, 0xFF, 0x10, 0xEC, 0xB3, 0xC2, 0xA5, 0x1D },
724Assert.Equal(new byte[] { 0xA2, 0x32, 0x3F, 0x0D, 0xF4, 0xB8, 0xED, 0x5A, 0x1B, 0x7B, 0xBE, 0x14, 0x4F, 0xEC, 0xBF, 0x88, 0x23, 0x61, 0xEB, 0x40, 0xF7, 0xF9, 0x46, 0xEF, 0x68, 0x3B, 0x70, 0x29, 0xCF, 0x12, 0x05, 0x35 },
728Assert.Equal(new byte[] { 0xCC, 0xAE, 0xA0, 0xB4, 0x9E, 0xAE, 0x28, 0xE0, 0xA3, 0x46, 0xE9, 0xCF, 0xF3, 0xEF, 0xEA, 0xF7,
753Assert.Equal(new byte[] { 0xB6, 0x35, 0x9B, 0xBE, 0x82, 0x89, 0xFF, 0x01, 0x22, 0x8B, 0x56, 0x5E, 0x9B, 0x15, 0x5D, 0x10,
759Assert.Equal(new byte[] { 0x45, 0x05, 0x2E, 0x90, 0x9B, 0x61, 0xA3, 0xF8, 0x60, 0xD2, 0x86, 0xCB, 0x10, 0x33, 0xC9, 0x86,
786Assert.Equal(new byte[] { 0x5F, 0x4D, 0x7E, 0x63, 0xC9, 0x87, 0xD9, 0xEB, 0x4F, 0x5C, 0xFD, 0x96, 0x3F, 0x25, 0x58, 0x74,
793Assert.Equal(new byte[] { 0x79, 0xFE, 0x97, 0xAB, 0x08, 0x8E, 0xDF, 0x74, 0xC2, 0xEF, 0x84, 0xBB, 0xFC, 0x74, 0xAC, 0x60,
Microsoft.DotNet.XUnitAssert.Tests (3)
Microsoft.Extensions.Caching.SqlServer.Tests (6)
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (1)
Microsoft.JSInterop.Tests (4)
Microsoft.ML.IntegrationTests (1)
Microsoft.ML.OnnxTransformerTest (2)
Microsoft.ML.TensorFlow.Tests (1)
Microsoft.ML.TimeSeries.Tests (4)
TimeSeriesDirectApi.cs (4)
467Assert.Equal(new float[] { -1.02245092f, 0.08333033f, 2.6073704f, 5.397318f, 7.5008316f, -5.1881413f, -4.82533741f,
485Assert.Equal(new float[] { 4.310586f, 6.397167f, 7.73934f, 8.029469f, 0.14489543f,
512Assert.Equal(new float[] { 6.006588f, 7.506871f, 7.964249f, 7.1751432f,
523Assert.Equal(result.Forecast, resultCopy.Forecast);
Microsoft.ML.Tokenizers.Tests (50)
BertTokenizerTests.cs (10)
298Assert.Equal(new int[] { bertTokenizer.ClassificationTokenId, bertTokenizer.ClassificationTokenId, 8, 6, 10, 11, 12, 7, bertTokenizer.SeparatorTokenId, bertTokenizer.SeparatorTokenId }, ids1Span.ToArray());
313Assert.Equal(
336Assert.Equal(
353Assert.Equal(
398Assert.Equal(new int[] { 1, 0, 0, 0, 0, 0, 0, 1 }, ids1Span.ToArray());
413Assert.Equal(new int[] { 1, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1 }, ids1Span.ToArray());
433Assert.Equal(new int[] { 1, 0, 0, 0, 0, 0, 0, 1 }, ids1Span.ToArray());
448Assert.Equal(new int[] { 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1 }, ids1Span.ToArray());
491Assert.Equal(new int[] { 0, 0, 0, 0, 0, 0, 0, 0 }, ids1Span.ToArray());
506Assert.Equal(new int[] { 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1 }, ids1Span.ToArray());
CodeGenTests.cs (16)
236Assert.Equal(expectedIdsWithSpace, encoding.Select(t => t.Id).ToArray());
238Assert.Equal(expectedOffsetsWithSpace, encoding.Select(t => (t.Offset.Start.Value, t.Offset.End.Value - t.Offset.Start.Value)).ToArray());
242Assert.Equal(expectedIds, encoding.Select(t => t.Id).ToArray());
244Assert.Equal(expectedOffsets, encoding.Select(t => (t.Offset.Start.Value, t.Offset.End.Value - t.Offset.Start.Value)).ToArray());
590Assert.Equal(expectedIds, encoding.Select(t => t.Id).ToArray());
595Assert.Equal(expectedIds, encoding.Select(t => t.Id).ToArray());
600Assert.Equal(expectedIdsWithSpace, encoding.Select(t => t.Id).ToArray());
605Assert.Equal(expectedIdsWithSpace, encoding.Select(t => t.Id).ToArray());
723Assert.Equal(expectedIds, encoding.Select(t => t.Id).ToArray());
728Assert.Equal(expectedIds, encoding.Select(t => t.Id).ToArray());
733Assert.Equal(expectedIdsWithSpace, encoding.Select(t => t.Id).ToArray());
738Assert.Equal(expectedIdsWithSpace, encoding.Select(t => t.Id).ToArray());
866Assert.Equal(expectedIds, encoding.Select(t => t.Id).ToArray());
872Assert.Equal(expectedIds, encoding.Select(t => t.Id).ToArray());
878Assert.Equal(expectedIdsWithSpace, encoding.Select(t => t.Id).ToArray());
884Assert.Equal(expectedIdsWithSpace, encoding.Select(t => t.Id).ToArray());
LlamaTests.cs (9)
245Assert.Equal(ids, result.Select(t => t.Id).ToArray());
247Assert.Equal(offsets, result.Select(t => (t.Offset.Start.Value, t.Offset.End.Value - t.Offset.Start.Value)).ToArray());
504Assert.Equal(expectedOffsets, encoding.Select(t => (t.Offset.Start.Value, t.Offset.End.Value - t.Offset.Start.Value)).ToArray());
505Assert.Equal(expectedIds, encoding.Select(t => t.Id).ToArray());
508Assert.Equal(expectedOffsets, encoding1.Select(t => (t.Offset.Start.Value, t.Offset.End.Value - t.Offset.Start.Value)).ToArray());
509Assert.Equal(expectedIds, encoding1.Select(t => t.Id).ToArray());
542Assert.Equal(expectedOffsets1, encoding.Select(t => (t.Offset.Start.Value, t.Offset.End.Value - t.Offset.Start.Value)).ToArray());
543Assert.Equal(expectedIds1, encoding.Select(t => t.Id).ToArray());
666Assert.Equal(new[] { tokenizer.BeginningOfSentenceId, kvp.Value }, encodedTokens.Select(et => et.Id).ToArray());
Sockets.FunctionalTests (1)
System.Drawing.Common.Tests (135)
mono\System.Drawing\BitmapTests.cs (24)
558Assert.Equal(s_defaultBitmapHash, HashPixels(bmp));
564Assert.Equal(expected, actual);
565Assert.Equal(s_finalWholeBitmapHash, HashPixels(bmp));
572Assert.Equal(s_defaultBitmapHash, HashPixels(bmp));
577Assert.Equal(expected, actual);
578Assert.Equal(s_finalWholeBitmapHash, HashPixels(bmp));
585Assert.Equal(s_defaultBitmapHash, HashPixels(bmp));
590Assert.Equal(expected, actual);
591Assert.Equal(s_finalWholeBitmapHash, HashPixels(bmp));
598Assert.Equal(s_defaultBitmapHash, HashPixels(bmp));
603Assert.Equal(expected, actual);
604Assert.Equal(s_finalWholeBitmapHash, HashPixels(bmp));
614Assert.Equal(s_defaultBitmapHash, HashPixels(bmp));
619Assert.Equal(expected, actual);
620Assert.Equal(s_finalPartialBitmapHash, HashPixels(bmp));
627Assert.Equal(s_defaultBitmapHash, HashPixels(bmp));
632Assert.Equal(expected, actual);
633Assert.Equal(s_finalPartialBitmapHash, HashPixels(bmp));
640Assert.Equal(s_defaultBitmapHash, HashPixels(bmp));
645Assert.Equal(expected, actual);
646Assert.Equal(s_finalPartialBitmapHash, HashPixels(bmp));
653Assert.Equal(s_defaultBitmapHash, HashPixels(bmp));
658Assert.Equal(expected, actual);
659Assert.Equal(s_finalPartialBitmapHash, HashPixels(bmp));
System\Drawing\Drawing2D\GraphicsPathTests.cs (29)
235Assert.Equal(new byte[] { 0, 1, 1 }, gpi.PathTypes);
239Assert.Equal(new byte[] { 0, 1, 1, 1 }, gpi.PathTypes);
244Assert.Equal(new byte[] { 0, 1, 1 }, gpf.PathTypes);
248Assert.Equal(new byte[] { 0, 1, 1, 1 }, gpf.PathTypes);
293Assert.Equal(new byte[] { 0, 1 }, gpi.PathTypes);
297Assert.Equal(new byte[] { 0, 1, 1 }, gpi.PathTypes);
301Assert.Equal(new byte[] { 0, 1, 1, 1 }, gpi.PathTypes);
305Assert.Equal(new byte[] { 0, 1, 1, 1 }, gpf.PathTypes);
309Assert.Equal(new byte[] { 0, 1, 1, 1, 1, 1, 1 }, gpf.PathTypes);
384Assert.Equal(new byte[] { 0, 3, 3, 3 }, gp.PathTypes);
388Assert.Equal(new byte[] { 0, 3, 3, 3, 3, 3, 3 }, gp.PathTypes);
392Assert.Equal(new byte[] { 0, 3, 3, 3 }, gpf.PathTypes);
396Assert.Equal(new byte[] { 0, 3, 3, 3, 3, 3, 3 }, gpf.PathTypes);
720Assert.Equal(new byte[] { 0, 1, 1, 129 }, gpi.PathTypes);
726Assert.Equal(new byte[] { 0, 1, 1, 129, 0, 1, 1, 129 }, gpi.PathTypes);
730Assert.Equal(new byte[] { 0, 1, 1, 129 }, gpf.PathTypes);
737Assert.Equal(new byte[] { 0, 1, 1, 129, 0, 1, 1, 129 }, gpf.PathTypes);
904Assert.Equal(new byte[] { 0, 1, 129 }, gpi.PathTypes);
908Assert.Equal(new byte[] { 0, 1, 129, 0, 1, 129 }, gpi.PathTypes);
912Assert.Equal(new byte[] { 0, 1, 129, 0, 1, 129, 0, 1, 129 }, gpi.PathTypes);
916Assert.Equal(new byte[] { 0, 1, 129, 0, 1, 129, 0, 1, 129, 0, 1, 129 }, gpi.PathTypes);
920Assert.Equal(new byte[] { 0, 1, 129 }, gpf.PathTypes);
924Assert.Equal(new byte[] { 0, 1, 129, 0, 1, 129 }, gpf.PathTypes);
928Assert.Equal(new byte[] { 0, 1, 129, 0, 1, 129, 0, 1, 129 }, gpf.PathTypes);
932Assert.Equal(new byte[] { 0, 1, 129, 0, 1, 129, 0, 1, 129, 0, 1, 129 }, gpf.PathTypes);
1095Assert.Equal(new byte[] { 0, 1, 1, 129 }, gp.PathTypes);
2059Assert.Equal(expectedTypes, actualTypes);
2227Assert.Equal(expectedTypes, path.PathTypes);
2342Assert.Equal(expectedTypes, gp.PathTypes);
System\Drawing\RegionTests.cs (22)
96Assert.Equal(region.GetRegionScans(matrix), otherRegion.GetRegionScans(matrix));
268Assert.Equal(region.GetRegionScans(matrix), clone.GetRegionScans(matrix));
348Assert.Equal(expectedScans, region.GetRegionScans(matrix));
434Assert.Equal(expectedScans, region.GetRegionScans(matrix));
450Assert.Equal(expectedScans, region.GetRegionScans(matrix));
468Assert.Equal(expectedScans, region.GetRegionScans(matrix));
784Assert.Equal(expectedScans, region.GetRegionScans(matrix));
841Assert.Equal(expectedScans, region.GetRegionScans(matrix));
857Assert.Equal(expectedScans, region.GetRegionScans(matrix));
875Assert.Equal(expectedScans, region.GetRegionScans(matrix));
1127Assert.Equal(expectedScans, region.GetRegionScans(matrix));
1174Assert.Equal(expectedScans, region.GetRegionScans(matrix));
1202Assert.Equal(expectedScans, region.GetRegionScans(matrix));
1232Assert.Equal(expectedScans, region.GetRegionScans(matrix));
1689Assert.Equal(expectedScans, region.GetRegionScans(matrix));
1737Assert.Equal(expectedScans, region.GetRegionScans(matrix));
1753Assert.Equal(expectedScans, region.GetRegionScans(matrix));
1771Assert.Equal(expectedScans, region.GetRegionScans(matrix));
2041Assert.Equal(expectedScans, region.GetRegionScans(matrix));
2095Assert.Equal(expectedScans, region.GetRegionScans(matrix));
2111Assert.Equal(expectedScans, region.GetRegionScans(matrix));
2129Assert.Equal(expectedScans, region.GetRegionScans(matrix));
System.Private.Windows.Core.Tests (2)
System.ServiceModel.Primitives.Tests (2)
System.Windows.Forms.Design.Tests (4)
System.Windows.Forms.Primitives.Tests (3)
System.Windows.Forms.Primitives.TestUtilities (2)
System.Windows.Forms.Tests (72)