106 references to TestRoundTripValue
Microsoft.CodeAnalysis.Workspaces.UnitTests (106)
ObjectSerializationTests.cs (106)
191
=>
TestRoundTripValue
(123);
274
TestRoundTripValue
(true);
275
TestRoundTripValue
(false);
276
TestRoundTripValue
(Byte.MaxValue);
277
TestRoundTripValue
(SByte.MaxValue);
278
TestRoundTripValue
(Int16.MaxValue);
279
TestRoundTripValue
(Int32.MaxValue);
280
TestRoundTripValue
(Byte.MaxValue);
281
TestRoundTripValue
(Int16.MaxValue);
282
TestRoundTripValue
(Int64.MaxValue);
283
TestRoundTripValue
(UInt16.MaxValue);
284
TestRoundTripValue
(UInt32.MaxValue);
285
TestRoundTripValue
(UInt64.MaxValue);
286
TestRoundTripValue
(Decimal.MaxValue);
287
TestRoundTripValue
(Double.MaxValue);
288
TestRoundTripValue
(Single.MaxValue);
289
TestRoundTripValue
('X');
290
TestRoundTripValue
("YYY");
291
TestRoundTripValue
("\uD800\uDC00"); // valid surrogate pair
292
TestRoundTripValue
("\uDC00\uD800"); // invalid surrogate pair
293
TestRoundTripValue
("\uD800"); // incomplete surrogate pair
294
TestRoundTripValue
<object>(null);
295
TestRoundTripValue
(ConsoleColor.Cyan);
296
TestRoundTripValue
(EByte.Value);
297
TestRoundTripValue
(ESByte.Value);
298
TestRoundTripValue
(EShort.Value);
299
TestRoundTripValue
(EUShort.Value);
300
TestRoundTripValue
(EInt.Value);
301
TestRoundTripValue
(EUInt.Value);
302
TestRoundTripValue
(ELong.Value);
303
TestRoundTripValue
(EULong.Value);
304
TestRoundTripValue
(_testNow);
310
TestRoundTripValue
<Int32>(0);
311
TestRoundTripValue
<Int32>(1);
312
TestRoundTripValue
<Int32>(2);
313
TestRoundTripValue
<Int32>(3);
314
TestRoundTripValue
<Int32>(4);
315
TestRoundTripValue
<Int32>(5);
316
TestRoundTripValue
<Int32>(6);
317
TestRoundTripValue
<Int32>(7);
318
TestRoundTripValue
<Int32>(8);
319
TestRoundTripValue
<Int32>(9);
320
TestRoundTripValue
<Int32>(10);
321
TestRoundTripValue
<Int32>(-1);
322
TestRoundTripValue
<Int32>(Int32.MinValue);
323
TestRoundTripValue
<Int32>(Byte.MaxValue);
324
TestRoundTripValue
<Int32>(UInt16.MaxValue);
325
TestRoundTripValue
<Int32>(Int32.MaxValue);
331
TestRoundTripValue
<UInt32>(0);
332
TestRoundTripValue
<UInt32>(1);
333
TestRoundTripValue
<UInt32>(2);
334
TestRoundTripValue
<UInt32>(3);
335
TestRoundTripValue
<UInt32>(4);
336
TestRoundTripValue
<UInt32>(5);
337
TestRoundTripValue
<UInt32>(6);
338
TestRoundTripValue
<UInt32>(7);
339
TestRoundTripValue
<UInt32>(8);
340
TestRoundTripValue
<UInt32>(9);
341
TestRoundTripValue
<UInt32>(10);
342
TestRoundTripValue
<Int32>(Byte.MaxValue);
343
TestRoundTripValue
<Int32>(UInt16.MaxValue);
344
TestRoundTripValue
<Int32>(Int32.MaxValue);
350
TestRoundTripValue
<Int64>(0);
351
TestRoundTripValue
<Int64>(1);
352
TestRoundTripValue
<Int64>(2);
353
TestRoundTripValue
<Int64>(3);
354
TestRoundTripValue
<Int64>(4);
355
TestRoundTripValue
<Int64>(5);
356
TestRoundTripValue
<Int64>(6);
357
TestRoundTripValue
<Int64>(7);
358
TestRoundTripValue
<Int64>(8);
359
TestRoundTripValue
<Int64>(9);
360
TestRoundTripValue
<Int64>(10);
361
TestRoundTripValue
<Int64>(-1);
362
TestRoundTripValue
<Int64>(Byte.MinValue);
363
TestRoundTripValue
<Int64>(Byte.MaxValue);
364
TestRoundTripValue
<Int64>(Int16.MinValue);
365
TestRoundTripValue
<Int64>(Int16.MaxValue);
366
TestRoundTripValue
<Int64>(UInt16.MinValue);
367
TestRoundTripValue
<Int64>(UInt16.MaxValue);
368
TestRoundTripValue
<Int64>(Int32.MinValue);
369
TestRoundTripValue
<Int64>(Int32.MaxValue);
370
TestRoundTripValue
<Int64>(UInt32.MinValue);
371
TestRoundTripValue
<Int64>(UInt32.MaxValue);
372
TestRoundTripValue
<Int64>(Int64.MinValue);
373
TestRoundTripValue
<Int64>(Int64.MaxValue);
379
TestRoundTripValue
<UInt64>(0);
380
TestRoundTripValue
<UInt64>(1);
381
TestRoundTripValue
<UInt64>(2);
382
TestRoundTripValue
<UInt64>(3);
383
TestRoundTripValue
<UInt64>(4);
384
TestRoundTripValue
<UInt64>(5);
385
TestRoundTripValue
<UInt64>(6);
386
TestRoundTripValue
<UInt64>(7);
387
TestRoundTripValue
<UInt64>(8);
388
TestRoundTripValue
<UInt64>(9);
389
TestRoundTripValue
<UInt64>(10);
390
TestRoundTripValue
<UInt64>(Byte.MinValue);
391
TestRoundTripValue
<UInt64>(Byte.MaxValue);
392
TestRoundTripValue
<UInt64>(UInt16.MinValue);
393
TestRoundTripValue
<UInt64>(UInt16.MaxValue);
394
TestRoundTripValue
<UInt64>(Int32.MaxValue);
395
TestRoundTripValue
<UInt64>(UInt32.MinValue);
396
TestRoundTripValue
<UInt64>(UInt32.MaxValue);
397
TestRoundTripValue
<UInt64>(UInt64.MinValue);
398
TestRoundTripValue
<UInt64>(UInt64.MaxValue);