diff --git a/docs/design/features/assembly-conflict-resolution.md b/docs/design/features/assembly-conflict-resolution.md index cd0bff4b1ce..34b85476ceb 100644 --- a/docs/design/features/assembly-conflict-resolution.md +++ b/docs/design/features/assembly-conflict-resolution.md @@ -8,7 +8,7 @@ This document describes current behavior for dealing with references to assembli When a CoreCLR app is being launched, it builds a list of "probing" locations and then iterates through each <*layer*'s'>.app.deps.json file. For each assembly entry in that file, it uses the probing locations in order to determine the physical location of the assembly. Once all deps.json files are parsed, that information (which consists of a list of full paths to assemblies) is passed to the CLR which it uses to load each assembly when it is accessed. -A *layer* consists of the app at the highest layer, then then a chain of one or more framework layers ending with Microsoft.NETCore.App as the lowest layer. For 2.0 and earlier, there were only the app and Microsoft.NETCore.App layers. For 2.1+, those two layers exist plus additional, optional frameworks in-between those two. +A *layer* consists of the app at the highest layer, then a chain of one or more framework layers ending with Microsoft.NETCore.App as the lowest layer. For 2.0 and earlier, there were only the app and Microsoft.NETCore.App layers. For 2.1+, those two layers exist plus additional, optional frameworks in-between those two. Since each layer (and other probing locations) can contain the same assembly by name, the "host policy" determines the semantics for conflict cases where the same assembly exists more than once. The "host policy" logic lives in hostpolicy.dll located in the Microsoft.NETCore.App's folder. diff --git a/docs/pr-builds.md b/docs/pr-builds.md index f5f7555ae7e..41ba0aad205 100644 --- a/docs/pr-builds.md +++ b/docs/pr-builds.md @@ -3,7 +3,7 @@ When submitting a PR to the `dotnet/runtime` repository various builds will run The `dotnet/runtime` validation system can become overwhelming as we need to cover a lot of build scenarios and test in all the platforms that we support. In order to try to make this more reliable and spend the least amount of time testing what the PR changes need we have various pipelines, required and optional that are covered in this document. -Most of the repository pipelines use a custom mechanism to evaluate paths based on the changes contained in the PR to try and build/test the least that we can without compromising quality. This is the initial step on every pipeline that depends on this infrastructure, called "Evalute Paths". In this step you can see the result of the evaluation for each subset of the repository. For more details on which subsets we have based on paths see [here](https://github.com/dotnet/runtime/blob/513fe2863ad5ec6dc453d223d4b60f787a0ffa78/eng/pipelines/common/evaluate-default-paths.yml). Also to understand how this mechanism works you can read this [comment](https://github.com/dotnet/runtime/blob/513fe2863ad5ec6dc453d223d4b60f787a0ffa78/eng/pipelines/evaluate-changed-paths.sh#L3-L12). +Most of the repository pipelines use a custom mechanism to evaluate paths based on the changes contained in the PR to try and build/test the least that we can without compromising quality. This is the initial step on every pipeline that depends on this infrastructure, called "Evaluate Paths". In this step you can see the result of the evaluation for each subset of the repository. For more details on which subsets we have based on paths see [here](https://github.com/dotnet/runtime/blob/513fe2863ad5ec6dc453d223d4b60f787a0ffa78/eng/pipelines/common/evaluate-default-paths.yml). Also to understand how this mechanism works you can read this [comment](https://github.com/dotnet/runtime/blob/513fe2863ad5ec6dc453d223d4b60f787a0ffa78/eng/pipelines/evaluate-changed-paths.sh#L3-L12). ### Runtime pipeline This is the "main" pipeline for the runtime product. In this pipeline we include the most critical tests and platforms where we have enough test resources in order to deliver test results in a reasonable amount of time. The tests executed in this pipeline for runtime and libraries are considered innerloop, are the tests that are executed locally when one runs tests locally. @@ -91,4 +91,4 @@ If you have determined the failure is definitely not caused by changes in your P * For libraries tests add a [`[ActiveIssue(link)]`](https://github.com/dotnet/arcade/blob/master/src/Microsoft.DotNet.XUnitExtensions/src/Attributes/ActiveIssueAttribute.cs) attribute on the test method. You can narrow the disabling down to runtime variant, flavor, and platform. For an example see [File_AppendAllLinesAsync_Encoded](https://github.com/dotnet/runtime/blob/cf49643711ad8aa4685a8054286c1348cef6e1d8/src/libraries/System.IO.FileSystem/tests/File/AppendAsync.cs#L74) * For runtime tests found under `src/tests`, please edit [`issues.targets`](https://github.com/dotnet/runtime/blob/main/src/tests/issues.targets). There are several groups for different types of disable (mono vs. coreclr, different platforms, different scenarios). Add the folder containing the test and issue mimicking any of the samples in the file. -There are plenty of possible bugs, e.g. race conditions, where a failure might highlight a real problem and it won't manifest again on a retry. Therefore these steps should be followed for every iteration of the PR build, e.g. before retrying/rebuilding. \ No newline at end of file +There are plenty of possible bugs, e.g. race conditions, where a failure might highlight a real problem and it won't manifest again on a retry. Therefore these steps should be followed for every iteration of the PR build, e.g. before retrying/rebuilding. diff --git a/eng/Versions.props b/eng/Versions.props index 8a29bb17015..ee6e2501347 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -23,7 +23,7 @@ true diff --git a/src/coreclr/System.Private.CoreLib/src/System/Reflection/Emit/AssemblyBuilder.cs b/src/coreclr/System.Private.CoreLib/src/System/Reflection/Emit/AssemblyBuilder.cs index 565ae3d7696..e3f45b49b1a 100644 --- a/src/coreclr/System.Private.CoreLib/src/System/Reflection/Emit/AssemblyBuilder.cs +++ b/src/coreclr/System.Private.CoreLib/src/System/Reflection/Emit/AssemblyBuilder.cs @@ -261,9 +261,9 @@ namespace System.Reflection.Emit public override Assembly GetSatelliteAssembly(CultureInfo culture) => InternalAssembly.GetSatelliteAssembly(culture, null); - /// + /// /// Useful for binding to a very specific version of a satellite assembly - /// + /// public override Assembly GetSatelliteAssembly(CultureInfo culture, Version? version) => InternalAssembly.GetSatelliteAssembly(culture, version); diff --git a/src/coreclr/debug/daccess/dacdbiimpl.cpp b/src/coreclr/debug/daccess/dacdbiimpl.cpp index 6987ed2dbac..f9ce52fd257 100644 --- a/src/coreclr/debug/daccess/dacdbiimpl.cpp +++ b/src/coreclr/debug/daccess/dacdbiimpl.cpp @@ -681,7 +681,6 @@ void DacDbiInterfaceImpl::GetAppDomainFullName( } // Very important that this either sets pStrName or Throws. - // Don't set it and then then throw. IfFailThrow(hrStatus); } diff --git a/src/coreclr/gc/gc.cpp b/src/coreclr/gc/gc.cpp index 7d0e3a909c0..9649a8dd3a3 100644 --- a/src/coreclr/gc/gc.cpp +++ b/src/coreclr/gc/gc.cpp @@ -13117,7 +13117,7 @@ HRESULT gc_heap::initialize_gc (size_t soh_segment_size, } GCConfig::SetConcurrentGC(gc_can_use_concurrent); -#else //BACKGROUND_GC +#else //BACKGROUND_GC GCConfig::SetConcurrentGC(false); #endif //BACKGROUND_GC #endif //WRITE_WATCH @@ -18228,7 +18228,7 @@ BOOL gc_heap::should_set_bgc_mark_bit (uint8_t* o) return FALSE; } - // This is cheaper so I am doing this comparision first before having to get the seg for o. + // This is cheaper so I am doing this comparison first before having to get the seg for o. if (in_range_for_segment (o, current_sweep_seg)) { // The current sweep seg could have free spaces beyond its background_allocated so we need @@ -44255,7 +44255,7 @@ HRESULT GCHeap::Initialize() GCConfig::SetGCCpuGroup(can_use_cpu_groups); #ifdef HEAP_BALANCE_INSTRUMENTATION - cpu_group_enabled_p = can_use_cpu_groups; + cpu_group_enabled_p = can_use_cpu_groups; if (!GCToOSInterface::GetNumaInfo (&total_numa_nodes_on_machine, &procs_per_numa_node)) { @@ -44566,13 +44566,13 @@ Object * GCHeap::NextObj (Object * object) // We still want to verify nextobj that lands between heap_segment_allocated and alloc_allocated // on the ephemeral segment. In regions these 2 could be changed by another thread so we need - // to make sure they are still in sync by the time we check. If they are not in sync, we just + // to make sure they are still in sync by the time we check. If they are not in sync, we just // bail which means we don't validate the next object during that small window and that's fine. // - // We also miss validating nextobj if it's in the segment that just turned into the new ephemeral + // We also miss validating nextobj if it's in the segment that just turned into the new ephemeral // segment since we saved which is also a very small window and again that's fine. - if ((nextobj >= heap_segment_allocated (hs)) && - ((hs != saved_ephemeral_heap_segment) || + if ((nextobj >= heap_segment_allocated (hs)) && + ((hs != saved_ephemeral_heap_segment) || !in_range_for_segment(saved_alloc_allocated, saved_ephemeral_heap_segment) || (nextobj >= saved_alloc_allocated))) { diff --git a/src/coreclr/inc/cordebuginfo.h b/src/coreclr/inc/cordebuginfo.h index ee9a1426084..31308b95ca1 100644 --- a/src/coreclr/inc/cordebuginfo.h +++ b/src/coreclr/inc/cordebuginfo.h @@ -297,7 +297,7 @@ public: }; // VLT_FPSTK -- enregisterd TYP_DOUBLE (on the FP stack) - // eg. ST(3). Actually it is ST("FPstkHeigth - vpFpStk") + // eg. ST(3). Actually it is ST("FPstkHeight - vpFpStk") struct vlFPstk { diff --git a/src/coreclr/inc/corinfo.h b/src/coreclr/inc/corinfo.h index a9188e0bb1c..6a816ded56b 100644 --- a/src/coreclr/inc/corinfo.h +++ b/src/coreclr/inc/corinfo.h @@ -445,7 +445,7 @@ enum CorInfoHelpFunc CORINFO_HELP_GETREFANY, // Extract the byref from a TypedReference, checking that it is the expected type CORINFO_HELP_ARRADDR_ST, // assign to element of object array with type-checking - CORINFO_HELP_LDELEMA_REF, // does a precise type comparision and returns address + CORINFO_HELP_LDELEMA_REF, // does a precise type comparison and returns address /* Exceptions */ diff --git a/src/coreclr/jit/codegencommon.cpp b/src/coreclr/jit/codegencommon.cpp index 19d36fa6e3d..9a4497597f7 100644 --- a/src/coreclr/jit/codegencommon.cpp +++ b/src/coreclr/jit/codegencommon.cpp @@ -6380,7 +6380,7 @@ void CodeGen::genFnProlog() #endif //------------------------------------------------------------------------ -// getCallTarget - Get the node that evalutes to the call target +// getCallTarget - Get the node that evaluates to the call target // // Arguments: // call - the GT_CALL node diff --git a/src/coreclr/jit/fgprofile.cpp b/src/coreclr/jit/fgprofile.cpp index 2551744d544..ae79f10af13 100644 --- a/src/coreclr/jit/fgprofile.cpp +++ b/src/coreclr/jit/fgprofile.cpp @@ -2780,7 +2780,7 @@ void EfficientEdgeCountReconstructor::Solve() bool weightKnown = false; if (info->m_incomingUnknown == 0) { - JITDUMP(FMT_BB ": all incoming edge weights known, summming...\n", block->bbNum); + JITDUMP(FMT_BB ": all incoming edge weights known, summing...\n", block->bbNum); for (Edge* edge = info->m_incomingEdges; edge != nullptr; edge = edge->m_nextIncomingEdge) { if (!edge->m_weightKnown) @@ -2798,7 +2798,7 @@ void EfficientEdgeCountReconstructor::Solve() } else if (info->m_outgoingUnknown == 0) { - JITDUMP(FMT_BB ": all outgoing edge weights known, summming...\n", block->bbNum); + JITDUMP(FMT_BB ": all outgoing edge weights known, summing...\n", block->bbNum); for (Edge* edge = info->m_outgoingEdges; edge != nullptr; edge = edge->m_nextOutgoingEdge) { if (!edge->m_weightKnown) diff --git a/src/coreclr/jit/importer.cpp b/src/coreclr/jit/importer.cpp index 5d622757609..df7891d025a 100644 --- a/src/coreclr/jit/importer.cpp +++ b/src/coreclr/jit/importer.cpp @@ -16895,7 +16895,7 @@ void Compiler::impImportBlockCode(BasicBlock* block) CORINFO_CLASS_HANDLE clsHnd = gtGetClassHandle(op1, &isExact, &isNonNull); // We can skip the "exact" bit here as we are comparing to a value class. - // compareTypesForEquality should bail on comparisions for shared value classes. + // compareTypesForEquality should bail on comparisons for shared value classes. if (clsHnd != NO_CLASS_HANDLE) { const TypeCompareState compare = diff --git a/src/coreclr/jit/morph.cpp b/src/coreclr/jit/morph.cpp index 03cc5b198d7..61c4c20782c 100644 --- a/src/coreclr/jit/morph.cpp +++ b/src/coreclr/jit/morph.cpp @@ -4084,7 +4084,7 @@ void Compiler::fgMakeOutgoingStructArgCopy(GenTreeCall* call, CallArg* arg) call->gtArgs.SetTemp(arg, tmp); #if FEATURE_FIXED_OUT_ARGS - // Do the copy early, and evalute the temp later (see EvalArgsToTemps) + // Do the copy early, and evaluate the temp later (see EvalArgsToTemps) // When on Unix create LCL_FLD for structs passed in more than one registers. See fgMakeTmpArgNode GenTree* argNode = copyBlk; @@ -7070,7 +7070,7 @@ GenTree* Compiler::fgMorphTailCallViaHelpers(GenTreeCall* call, CORINFO_TAILCALL // JIT will need one or two copies of "this" in the following cases: // 1) the call needs null check; // 2) StoreArgs stub needs the target function pointer address and if the call is virtual - // the stub also needs "this" in order to evalute the target. + // the stub also needs "this" in order to evaluate the target. const bool callNeedsNullCheck = call->NeedsNullCheck(); const bool stubNeedsThisPtr = stubNeedsTargetFnPtr && call->IsVirtual(); diff --git a/src/coreclr/jit/valuenum.h b/src/coreclr/jit/valuenum.h index 5e0736c7689..819dc3764c7 100644 --- a/src/coreclr/jit/valuenum.h +++ b/src/coreclr/jit/valuenum.h @@ -1800,7 +1800,7 @@ inline bool ValueNumStore::VNFuncIsComparison(VNFunc vnf) { if (vnf >= VNF_Boundary) { - // For integer types we have unsigned comparisions, and + // For integer types we have unsigned comparisons, and // for floating point types these are the unordered variants. // return ((vnf == VNF_LT_UN) || (vnf == VNF_LE_UN) || (vnf == VNF_GE_UN) || (vnf == VNF_GT_UN)); diff --git a/src/coreclr/nativeaot/System.Private.CoreLib/src/Internal/IntrinsicSupport/ComparerHelpers.cs b/src/coreclr/nativeaot/System.Private.CoreLib/src/Internal/IntrinsicSupport/ComparerHelpers.cs index 2800fc3735a..16cae636c9e 100644 --- a/src/coreclr/nativeaot/System.Private.CoreLib/src/Internal/IntrinsicSupport/ComparerHelpers.cs +++ b/src/coreclr/nativeaot/System.Private.CoreLib/src/Internal/IntrinsicSupport/ComparerHelpers.cs @@ -91,7 +91,7 @@ namespace Internal.IntrinsicSupport return RuntimeAugments.NewObject(comparerType); } - // This one is an intrinsic that is used to make enum comparisions more efficient. + // This one is an intrinsic that is used to make enum comparisons more efficient. [Intrinsic] internal static int EnumOnlyCompare(T x, T y) where T : struct, Enum { diff --git a/src/coreclr/nativeaot/System.Private.CoreLib/src/Internal/IntrinsicSupport/EqualityComparerHelpers.cs b/src/coreclr/nativeaot/System.Private.CoreLib/src/Internal/IntrinsicSupport/EqualityComparerHelpers.cs index 783a70395ef..10ece10574b 100644 --- a/src/coreclr/nativeaot/System.Private.CoreLib/src/Internal/IntrinsicSupport/EqualityComparerHelpers.cs +++ b/src/coreclr/nativeaot/System.Private.CoreLib/src/Internal/IntrinsicSupport/EqualityComparerHelpers.cs @@ -98,7 +98,7 @@ namespace Internal.IntrinsicSupport // Redirection target functions for redirecting behavior of Array.IndexOf //----------------------------------------------------------------------- - // This one is an intrinsic that is used to make enum comparisions more efficient. + // This one is an intrinsic that is used to make enum comparisons more efficient. [Intrinsic] internal static bool EnumOnlyEquals(T x, T y) where T : struct { diff --git a/src/coreclr/nativeaot/System.Private.CoreLib/src/System/MulticastDelegate.cs b/src/coreclr/nativeaot/System.Private.CoreLib/src/System/MulticastDelegate.cs index 9b6b704cb68..d1e42458c81 100644 --- a/src/coreclr/nativeaot/System.Private.CoreLib/src/System/MulticastDelegate.cs +++ b/src/coreclr/nativeaot/System.Private.CoreLib/src/System/MulticastDelegate.cs @@ -61,9 +61,9 @@ namespace System Debug.Assert(obj is MulticastDelegate, "Shouldn't have failed here since we already checked the types are the same!"); var d = Unsafe.As(obj); - // there are 2 kind of delegate kinds for comparision + // there are 2 kind of delegate kinds for comparison // 1- Multicast (m_helperObject is Delegate[]) - // 2- Single-cast delegate, which can be compared with a structural comparision + // 2- Single-cast delegate, which can be compared with a structural comparison IntPtr multicastThunk = GetThunk(MulticastThunk); if (m_functionPointer == multicastThunk) diff --git a/src/coreclr/nativeaot/System.Private.TypeLoader/src/Internal/Runtime/TypeLoader/LockFreeObjectInterner.cs b/src/coreclr/nativeaot/System.Private.TypeLoader/src/Internal/Runtime/TypeLoader/LockFreeObjectInterner.cs index e107107ea09..9d769a6cadd 100644 --- a/src/coreclr/nativeaot/System.Private.TypeLoader/src/Internal/Runtime/TypeLoader/LockFreeObjectInterner.cs +++ b/src/coreclr/nativeaot/System.Private.TypeLoader/src/Internal/Runtime/TypeLoader/LockFreeObjectInterner.cs @@ -67,7 +67,7 @@ namespace Internal.TypeSystem } /// - /// Convert an IntPtr into a value for comparisions, or for returning. + /// Convert an IntPtr into a value for comparisons, or for returning. /// protected override GCHandle ConvertIntPtrToValue(IntPtr pointer) { diff --git a/src/coreclr/pal/tests/palsuite/miscellaneous/CreatePipe/test1/test1.cpp b/src/coreclr/pal/tests/palsuite/miscellaneous/CreatePipe/test1/test1.cpp index f0f686924cb..2aa0d42d69f 100644 --- a/src/coreclr/pal/tests/palsuite/miscellaneous/CreatePipe/test1/test1.cpp +++ b/src/coreclr/pal/tests/palsuite/miscellaneous/CreatePipe/test1/test1.cpp @@ -5,7 +5,7 @@ ** ** Source: test1.c (CreatePipe) ** -** Purpose: Tests the PAL implementation of the CreatePipe function. +** Purpose: Tests the PAL implementation of the CreatePipe function. ** This test will create two pipes, a read and a write. Once ** the pipes have been created, they will be tested by writing ** and then reading, then comparing the results. @@ -40,9 +40,9 @@ PALTEST(miscellaneous_CreatePipe_test1_paltest_createpipe_test1, "miscellaneous/ } /*Setup SECURITY_ATTRIBUTES structure for CreatePipe*/ - lpPipeAttributes.nLength = sizeof(lpPipeAttributes); - lpPipeAttributes.lpSecurityDescriptor = NULL; - lpPipeAttributes.bInheritHandle = TRUE; + lpPipeAttributes.nLength = sizeof(lpPipeAttributes); + lpPipeAttributes.lpSecurityDescriptor = NULL; + lpPipeAttributes.bInheritHandle = TRUE; /*Create a Pipe*/ bRetVal = CreatePipe(&hReadPipe, /* read handle*/ @@ -53,7 +53,7 @@ PALTEST(miscellaneous_CreatePipe_test1_paltest_createpipe_test1, "miscellaneous/ { Fail("ERROR: %ld :Unable to create pipe\n", GetLastError()); } - + /*Write to the write pipe handle*/ bRetVal = WriteFile(hWritePipe, /* handle to write pipe*/ cTestString, /* buffer to write*/ @@ -68,7 +68,7 @@ PALTEST(miscellaneous_CreatePipe_test1_paltest_createpipe_test1, "miscellaneous/ /*Read, 256 bytes, more bytes then actually written. This will give allow us to use the value that ReadFile - returns for comparision.*/ + returns for comparison.*/ bRetVal = ReadFile(hReadPipe, /* handle to read pipe*/ buffer, /* buffer to write to*/ 256, /* number of bytes to read*/ diff --git a/src/coreclr/pal/tests/palsuite/threading/DuplicateHandle/test5/test5.cpp b/src/coreclr/pal/tests/palsuite/threading/DuplicateHandle/test5/test5.cpp index 1a21d6f3ccc..2033c2aa9be 100644 --- a/src/coreclr/pal/tests/palsuite/threading/DuplicateHandle/test5/test5.cpp +++ b/src/coreclr/pal/tests/palsuite/threading/DuplicateHandle/test5/test5.cpp @@ -40,9 +40,9 @@ PALTEST(threading_DuplicateHandle_test5_paltest_duplicatehandle_test5, "threadin } /*Setup SECURITY_ATTRIBUTES structure for CreatePipe*/ - lpPipeAttributes.nLength = sizeof(lpPipeAttributes); - lpPipeAttributes.lpSecurityDescriptor = NULL; - lpPipeAttributes.bInheritHandle = TRUE; + lpPipeAttributes.nLength = sizeof(lpPipeAttributes); + lpPipeAttributes.lpSecurityDescriptor = NULL; + lpPipeAttributes.bInheritHandle = TRUE; /*Create a Pipe*/ bRetVal = CreatePipe(&hReadPipe, /* read handle*/ @@ -86,10 +86,10 @@ PALTEST(threading_DuplicateHandle_test5_paltest_duplicatehandle_test5, "threadin CloseHandle(hWritePipe); Fail(""); } - + /*Read from the duplicated handle, 256 bytes, more bytes - than actually written. This will allow us to use the - value that ReadFile returns for comparision.*/ + than actually written. This will allow us to use the + value that ReadFile returns for comparison.*/ bRetVal = ReadFile(hDupPipe, /* handle to read pipe*/ buffer, /* buffer to write to*/ 256, /* number of bytes to read*/ @@ -97,9 +97,9 @@ PALTEST(threading_DuplicateHandle_test5_paltest_duplicatehandle_test5, "threadin NULL); /* overlapped buffer*/ if (bRetVal == FALSE) { - Trace("ERROR:%u:unable read from the duplicated pipe " + Trace("ERROR:%u:unable read from the duplicated pipe " "hDupPipe=0x%lx\n", - GetLastError(), + GetLastError(), hDupPipe); CloseHandle(hReadPipe); CloseHandle(hWritePipe); @@ -110,7 +110,7 @@ PALTEST(threading_DuplicateHandle_test5_paltest_duplicatehandle_test5, "threadin /*Compare what was read with what was written.*/ if ((memcmp(cTestString, buffer, dwBytesRead)) != 0) { - Trace("ERROR:%u: read \"%s\" expected \"%s\" \n", + Trace("ERROR:%u: read \"%s\" expected \"%s\" \n", GetLastError(), buffer, cTestString); @@ -124,9 +124,9 @@ PALTEST(threading_DuplicateHandle_test5_paltest_duplicatehandle_test5, "threadin if (dwBytesWritten != dwBytesRead) { Trace("ERROR:%u: WriteFile wrote \"%s\", but ReadFile read \"%s\"," - " these should be the same\n", + " these should be the same\n", GetLastError(), - buffer, + buffer, cTestString); CloseHandle(hReadPipe); CloseHandle(hWritePipe); @@ -138,7 +138,7 @@ PALTEST(threading_DuplicateHandle_test5_paltest_duplicatehandle_test5, "threadin CloseHandle(hWritePipe); CloseHandle(hReadPipe); CloseHandle(hDupPipe); - + PAL_Terminate(); return (PASS); } diff --git a/src/coreclr/pal/tests/palsuite/threading/DuplicateHandle/test6/test6.cpp b/src/coreclr/pal/tests/palsuite/threading/DuplicateHandle/test6/test6.cpp index f3ceac6a2ba..1a28b834554 100644 --- a/src/coreclr/pal/tests/palsuite/threading/DuplicateHandle/test6/test6.cpp +++ b/src/coreclr/pal/tests/palsuite/threading/DuplicateHandle/test6/test6.cpp @@ -41,9 +41,9 @@ PALTEST(threading_DuplicateHandle_test6_paltest_duplicatehandle_test6, "threadin } /*Setup SECURITY_ATTRIBUTES structure for CreatePipe*/ - lpPipeAttributes.nLength = sizeof(lpPipeAttributes); - lpPipeAttributes.lpSecurityDescriptor = NULL; - lpPipeAttributes.bInheritHandle = TRUE; + lpPipeAttributes.nLength = sizeof(lpPipeAttributes); + lpPipeAttributes.lpSecurityDescriptor = NULL; + lpPipeAttributes.bInheritHandle = TRUE; /*Create a Pipe*/ bRetVal = CreatePipe(&hReadPipe, /* read handle*/ @@ -82,18 +82,18 @@ PALTEST(threading_DuplicateHandle_test6_paltest_duplicatehandle_test6, "threadin if (bRetVal == FALSE) { Trace("ERROR: %ld :unable to write to duplicate write pipe handle " - "hDupPipe=0x%lx\n", - GetLastError(), + "hDupPipe=0x%lx\n", + GetLastError(), hDupPipe); CloseHandle(hReadPipe); CloseHandle(hWritePipe); CloseHandle(hDupPipe); Fail(""); } - + /*Read from the read handle, 256 bytes, more bytes - then actually written. This will give allow us to use - the value that ReadFile returns for comparision.*/ + then actually written. This will give allow us to use + the value that ReadFile returns for comparison.*/ bRetVal = ReadFile(hReadPipe, /* handle to read pipe*/ buffer, /* buffer to write to*/ 256, /* number of bytes to read*/ @@ -112,8 +112,8 @@ PALTEST(threading_DuplicateHandle_test6_paltest_duplicatehandle_test6, "threadin /*Compare what was read with what was written.*/ if ((memcmp(cTestString, buffer, dwBytesRead)) != 0) { - Trace("ERROR: read \"%s\" expected \"%s\" \n", - buffer, + Trace("ERROR: read \"%s\" expected \"%s\" \n", + buffer, cTestString); CloseHandle(hReadPipe); CloseHandle(hWritePipe); @@ -133,13 +133,13 @@ PALTEST(threading_DuplicateHandle_test6_paltest_duplicatehandle_test6, "threadin CloseHandle(hDupPipe); Fail(""); } - + /*Cleanup.*/ CloseHandle(hReadPipe); CloseHandle(hWritePipe); CloseHandle(hDupPipe); - - + + PAL_Terminate(); return (PASS); } diff --git a/src/coreclr/scripts/genDummyProvider.py b/src/coreclr/scripts/genDummyProvider.py index b8786c47a7a..ad5d7f19666 100644 --- a/src/coreclr/scripts/genDummyProvider.py +++ b/src/coreclr/scripts/genDummyProvider.py @@ -147,7 +147,7 @@ def main(argv): required = parser.add_argument_group('required arguments') required.add_argument('--man', type=str, required=True, - help='full path to manifest containig the description of events') + help='full path to manifest containing the description of events') required.add_argument('--intermediate', type=str, required=True, help='full path to eventprovider intermediate directory') required.add_argument('--runtimeflavor', type=str,default="CoreCLR", diff --git a/src/coreclr/scripts/genEtwProvider.py b/src/coreclr/scripts/genEtwProvider.py index e7df63bb5b3..85411828473 100644 --- a/src/coreclr/scripts/genEtwProvider.py +++ b/src/coreclr/scripts/genEtwProvider.py @@ -220,7 +220,7 @@ def main(argv): required = parser.add_argument_group('required arguments') required.add_argument('--man', type=str, required=True, - help='full path to manifest containig the description of events') + help='full path to manifest containing the description of events') required.add_argument('--exc', type=str, required=True, help='full path to exclusion list') required.add_argument('--intermediate', type=str, required=True, diff --git a/src/coreclr/scripts/genEventPipe.py b/src/coreclr/scripts/genEventPipe.py index fa737eaa153..3d2d1797fe9 100644 --- a/src/coreclr/scripts/genEventPipe.py +++ b/src/coreclr/scripts/genEventPipe.py @@ -1162,7 +1162,7 @@ def main(argv): required = parser.add_argument_group('required arguments') required.add_argument('--man', type=str, required=True, - help='full path to manifest containig the description of events') + help='full path to manifest containing the description of events') required.add_argument('--exc', type=str, required=True, help='full path to exclusion list') required.add_argument('--inc', type=str,default="", diff --git a/src/coreclr/scripts/genEventing.py b/src/coreclr/scripts/genEventing.py index a711373d2d4..a16849493d2 100644 --- a/src/coreclr/scripts/genEventing.py +++ b/src/coreclr/scripts/genEventing.py @@ -833,7 +833,7 @@ def main(argv): required = parser.add_argument_group('required arguments') required.add_argument('--man', type=str, required=True, - help='full path to manifest containig the description of events') + help='full path to manifest containing the description of events') required.add_argument('--inc', type=str, default=None, help='full path to directory where the header files will be generated') required.add_argument('--dummy', type=str,default=None, diff --git a/src/coreclr/scripts/genEventingTests.py b/src/coreclr/scripts/genEventingTests.py index 7b9feb6d25a..514ddb1bef5 100644 --- a/src/coreclr/scripts/genEventingTests.py +++ b/src/coreclr/scripts/genEventingTests.py @@ -188,7 +188,7 @@ def main(argv): required = parser.add_argument_group('required arguments') required.add_argument('--man', type=str, required=True, - help='full path to manifest containig the description of events') + help='full path to manifest containing the description of events') required.add_argument('--testdir', type=str, required=True, help='full path to directory where the test assets will be deployed' ) args, unknown = parser.parse_known_args(argv) diff --git a/src/coreclr/scripts/genLttngProvider.py b/src/coreclr/scripts/genLttngProvider.py index c5b16e6d1ef..aa54c170e30 100644 --- a/src/coreclr/scripts/genLttngProvider.py +++ b/src/coreclr/scripts/genLttngProvider.py @@ -624,7 +624,7 @@ def main(argv): required = parser.add_argument_group('required arguments') required.add_argument('--man', type=str, required=True, - help='full path to manifest containig the description of events') + help='full path to manifest containing the description of events') required.add_argument('--intermediate', type=str, required=True, help='full path to eventprovider intermediate directory') required.add_argument('--runtimeflavor', type=str,default="CoreCLR", diff --git a/src/coreclr/scripts/genRuntimeEventSources.py b/src/coreclr/scripts/genRuntimeEventSources.py index 1279d7effe3..fafa9a223a7 100644 --- a/src/coreclr/scripts/genRuntimeEventSources.py +++ b/src/coreclr/scripts/genRuntimeEventSources.py @@ -89,7 +89,7 @@ def generateEvent(eventNode, providerNode, outputFile, stringTable): symbol = eventNode.getAttribute("symbol") if "ThreadPool" in symbol: return - + evtLevel = eventNode.getAttribute("level")[4:] evtKeywords = "" # Write the event attribute. @@ -107,7 +107,7 @@ def generateEvent(eventNode, providerNode, outputFile, stringTable): for keywordIndex in range(len(keywords)): evtKeywords += "Keywords." + keywords[keywordIndex] if keywordIndex < (len(keywords) - 1): - evtKeywords += " | " + evtKeywords += " | " outputFile.write(evtKeywords) outputFile.write(")]\n") @@ -410,7 +410,7 @@ def main(argv): required = parser.add_argument_group('required arguments') required.add_argument('--man', type=str, required=True, - help='full path to manifest containig the description of events') + help='full path to manifest containing the description of events') required.add_argument('--intermediate', type=str, required=True, help='full path to eventprovider intermediate directory') required.add_argument('--runtimeflavor', type=str,default="CoreCLR", diff --git a/src/coreclr/tools/Common/JitInterface/CorInfoHelpFunc.cs b/src/coreclr/tools/Common/JitInterface/CorInfoHelpFunc.cs index 3bb774ed11b..fd178769a18 100644 --- a/src/coreclr/tools/Common/JitInterface/CorInfoHelpFunc.cs +++ b/src/coreclr/tools/Common/JitInterface/CorInfoHelpFunc.cs @@ -91,7 +91,7 @@ namespace Internal.JitInterface CORINFO_HELP_GETREFANY, // Extract the byref from a TypedReference, checking that it is the expected type CORINFO_HELP_ARRADDR_ST, // assign to element of object array with type-checking - CORINFO_HELP_LDELEMA_REF, // does a precise type comparision and returns address + CORINFO_HELP_LDELEMA_REF, // does a precise type comparison and returns address /* Exceptions */ diff --git a/src/coreclr/tools/Common/JitInterface/CorInfoTypes.VarInfo.cs b/src/coreclr/tools/Common/JitInterface/CorInfoTypes.VarInfo.cs index 8808979a79b..ff85f537803 100644 --- a/src/coreclr/tools/Common/JitInterface/CorInfoTypes.VarInfo.cs +++ b/src/coreclr/tools/Common/JitInterface/CorInfoTypes.VarInfo.cs @@ -150,7 +150,7 @@ namespace Internal.JitInterface } vlStk2; // VLT_FPSTK -- enregisterd TYP_DOUBLE (on the FP stack) - // eg. ST(3). Actually it is ST("FPstkHeigth - vpFpStk") + // eg. ST(3). Actually it is ST("FPstkHeight - vpFpStk") struct { diff --git a/src/coreclr/tools/Common/TypeSystem/Common/Utilities/LockFreeReaderHashtableOfPointers.cs b/src/coreclr/tools/Common/TypeSystem/Common/Utilities/LockFreeReaderHashtableOfPointers.cs index f0b7ea4a45d..075d39429bb 100644 --- a/src/coreclr/tools/Common/TypeSystem/Common/Utilities/LockFreeReaderHashtableOfPointers.cs +++ b/src/coreclr/tools/Common/TypeSystem/Common/Utilities/LockFreeReaderHashtableOfPointers.cs @@ -690,7 +690,7 @@ namespace Internal.TypeSystem protected abstract IntPtr ConvertValueToIntPtr(TValue value); /// - /// Convert an IntPtr into a value for comparisions, or for returning. + /// Convert an IntPtr into a value for comparisons, or for returning. /// protected abstract TValue ConvertIntPtrToValue(IntPtr pointer); } diff --git a/src/coreclr/tools/aot/ILCompiler.Compiler/Compiler/DependencyAnalysis/EETypeNode.cs b/src/coreclr/tools/aot/ILCompiler.Compiler/Compiler/DependencyAnalysis/EETypeNode.cs index 07e9d4b972f..6fb278df183 100644 --- a/src/coreclr/tools/aot/ILCompiler.Compiler/Compiler/DependencyAnalysis/EETypeNode.cs +++ b/src/coreclr/tools/aot/ILCompiler.Compiler/Compiler/DependencyAnalysis/EETypeNode.cs @@ -16,12 +16,12 @@ namespace ILCompiler.DependencyAnalysis { /// /// Given a type, EETypeNode writes an MethodTable data structure in the format expected by the runtime. - /// + /// /// Format of an MethodTable: - /// + /// /// Field Size | Contents /// ----------------+----------------------------------- - /// UInt16 | Component Size. For arrays this is the element type size, for strings it is 2 (.NET uses + /// UInt16 | Component Size. For arrays this is the element type size, for strings it is 2 (.NET uses /// | UTF16 character encoding), for generic type definitions it is the number of generic parameters, /// | and 0 for all other types. /// | @@ -83,14 +83,14 @@ namespace ILCompiler.DependencyAnalysis static TypeDesc WithoutParameterizeTypes(TypeDesc t) => t is ParameterizedType pt ? WithoutParameterizeTypes(pt.ParameterType) : t; } - + protected bool MightHaveInterfaceDispatchMap(NodeFactory factory) { if (!_mightHaveInterfaceDispatchMap.HasValue) { _mightHaveInterfaceDispatchMap = EmitVirtualSlotsAndInterfaces && InterfaceDispatchMapNode.MightHaveInterfaceDispatchMap(_type, factory); } - + return _mightHaveInterfaceDispatchMap.Value; } @@ -168,8 +168,8 @@ namespace ILCompiler.DependencyAnalysis if (method.HasInstantiation) { - // We found a GVM on one of the implemented interfaces. Find if the type implements this method. - // (Note, do this comparision against the generic definition of the method, not the specific method instantiation + // We found a GVM on one of the implemented interfaces. Find if the type implements this method. + // (Note, do this comparison against the generic definition of the method, not the specific method instantiation MethodDesc genericDefinition = method.GetMethodDefinition(); MethodDesc slotDecl = _type.ResolveInterfaceMethodTarget(genericDefinition); if (slotDecl != null) @@ -212,9 +212,9 @@ namespace ILCompiler.DependencyAnalysis { return _optionalFieldsBuilder.GetBytes(); } - + public override bool StaticDependenciesAreComputed => true; - + public static string GetMangledName(TypeDesc type, NameMangler nameMangler) { return nameMangler.NodeMangler.MethodTable(type); @@ -323,7 +323,7 @@ namespace ILCompiler.DependencyAnalysis // If we're producing a full vtable, none of the dependencies are conditional. needsDependenciesForVirtualMethodImpls &= !factory.VTable(defType).HasFixedSlots; - + if (needsDependenciesForVirtualMethodImpls) { foreach (MethodDesc decl in defType.EnumAllVirtualSlots()) @@ -518,11 +518,11 @@ namespace ILCompiler.DependencyAnalysis { if (_type.IsArray || _type.IsDefType) { - // If the compilation group wants this type to be fully promoted, ensure that all non-generic methods of the + // If the compilation group wants this type to be fully promoted, ensure that all non-generic methods of the // type are generated. // This may be done for several reasons: // - The MethodTable may be going to be COMDAT folded with other EETypes generated in a different object file - // This means their generic dictionaries need to have identical contents. The only way to achieve that is + // This means their generic dictionaries need to have identical contents. The only way to achieve that is // by generating the entries for all methods that contribute to the dictionary, and sorting the dictionaries. // - The generic type may be imported into another module, in which case the generic dictionary imported // must represent all of the methods, as the set of used methods cannot be known at compile time @@ -632,7 +632,7 @@ namespace ILCompiler.DependencyAnalysis // Non-constructed EETypeNodes get no GC Desc Debug.Assert(GCDescSize == 0); } - + private void OutputComponentSize(ref ObjectDataBuilder objData) { if (_type.IsArray) @@ -847,7 +847,7 @@ namespace ILCompiler.DependencyAnalysis // class Derived : Middle { } // -> Template is Derived<__UniversalCanon> and needs a dictionary slot // // -> Basetype tempalte is Middle<__UniversalCanon, MyStruct>. It's a partial // Universal canonical type, so we need to fully canonicalize it. - // + // // class Middle : Base { } // -> Template is Middle<__UniversalCanon, __UniversalCanon> and needs a dictionary slot // // -> Basetype template is Base<__UniversalCanon> // @@ -922,7 +922,7 @@ namespace ILCompiler.DependencyAnalysis } } } - + protected virtual IEETypeNode GetInterfaceTypeNode(NodeFactory factory, TypeDesc interfaceType) { return factory.NecessaryTypeSymbol(interfaceType); @@ -1045,7 +1045,7 @@ namespace ILCompiler.DependencyAnalysis { _optionalFieldsBuilder.SetFieldValue(EETypeOptionalFieldTag.DispatchMap, checked((uint)factory.InterfaceDispatchMapIndirection(Type).IndexFromBeginningOfArray)); } - + ComputeRareFlags(factory, relocsOnly); ComputeNullableValueOffset(); ComputeValueTypeFieldPadding(); @@ -1123,7 +1123,7 @@ namespace ILCompiler.DependencyAnalysis protected virtual void ComputeValueTypeFieldPadding() { - // All objects that can have appreciable which can be derived from size compute ValueTypeFieldPadding. + // All objects that can have appreciable which can be derived from size compute ValueTypeFieldPadding. // Unfortunately, the name ValueTypeFieldPadding is now wrong to avoid integration conflicts. // Interfaces, sealed types, and non-DefTypes cannot be derived from @@ -1149,17 +1149,17 @@ namespace ILCompiler.DependencyAnalysis // Value types should have at least 1 byte of size Debug.Assert(numInstanceFieldBytes >= 1); - // The size doesn't currently include the MethodTable pointer size. We need to add this so that + // The size doesn't currently include the MethodTable pointer size. We need to add this so that // the number of instance field bytes consistently represents the boxed size. numInstanceFieldBytes += _type.Context.Target.PointerSize; } - // For unboxing to work correctly and for supporting dynamic type loading for derived types we need - // to record the actual size of the fields of a type without any padding for GC heap allocation (since + // For unboxing to work correctly and for supporting dynamic type loading for derived types we need + // to record the actual size of the fields of a type without any padding for GC heap allocation (since // we can unbox into locals or arrays where this padding is not used, and because field layout for derived - // types is effected by the unaligned base size). We don't want to store this information for all EETypes - // since it's only relevant for value types, and derivable types so it's added as an optional field. It's - // also enough to simply store the size of the padding (between 0 and 4 or 8 bytes for 32-bit and 0 and 8 or 16 bytes + // types is effected by the unaligned base size). We don't want to store this information for all EETypes + // since it's only relevant for value types, and derivable types so it's added as an optional field. It's + // also enough to simply store the size of the padding (between 0 and 4 or 8 bytes for 32-bit and 0 and 8 or 16 bytes // for 64-bit) which cuts down our storage requirements. uint valueTypeFieldPadding = checked((uint)((BaseSize - _type.Context.Target.PointerSize) - numInstanceFieldBytes)); @@ -1175,7 +1175,7 @@ namespace ILCompiler.DependencyAnalysis protected override void OnMarked(NodeFactory context) { if (!context.IsCppCodegenTemporaryWorkaround) - { + { Debug.Assert(_type.IsTypeDefinition || !_type.HasSameTypeDefinition(context.ArrayOfTClass), "Asking for Array MethodTable"); } } diff --git a/src/coreclr/tools/aot/ILCompiler.ReadyToRun/Compiler/DependencyAnalysis/ReadyToRun/DevirtualizationManager.cs b/src/coreclr/tools/aot/ILCompiler.ReadyToRun/Compiler/DependencyAnalysis/ReadyToRun/DevirtualizationManager.cs index ab85bb84936..f6522b1492b 100644 --- a/src/coreclr/tools/aot/ILCompiler.ReadyToRun/Compiler/DependencyAnalysis/ReadyToRun/DevirtualizationManager.cs +++ b/src/coreclr/tools/aot/ILCompiler.ReadyToRun/Compiler/DependencyAnalysis/ReadyToRun/DevirtualizationManager.cs @@ -168,7 +168,7 @@ namespace ILCompiler.DependencyAnalysis.ReadyToRun // If the resolved method is the declMethod, then only types which derive from the // OwningType of the decl method need to be within the version bubble. // - // If not, then then all the types from the implType to the Owning type of the resolved + // If not, then all the types from the implType to the Owning type of the resolved // virtual method must be within the version bubble. if (firstTypeInImplTypeHierarchyNotInVersionBubble == null) { diff --git a/src/coreclr/tools/r2rtest/ParallelRunner.cs b/src/coreclr/tools/r2rtest/ParallelRunner.cs index 1cd170dbed4..1e185468a21 100644 --- a/src/coreclr/tools/r2rtest/ParallelRunner.cs +++ b/src/coreclr/tools/r2rtest/ParallelRunner.cs @@ -26,7 +26,7 @@ public sealed class ParallelRunner /// error output streams to prevent them from interleaving in the final build output log. /// Multiple instances of this class representing the individual running processes /// can exist at the same time. - /// + /// class ProcessSlot { /// diff --git a/src/coreclr/tools/superpmi/superpmi-shared/methodcontext.cpp b/src/coreclr/tools/superpmi/superpmi-shared/methodcontext.cpp index df50466b476..036433ea31a 100644 --- a/src/coreclr/tools/superpmi/superpmi-shared/methodcontext.cpp +++ b/src/coreclr/tools/superpmi/superpmi-shared/methodcontext.cpp @@ -2773,7 +2773,7 @@ void MethodContext::recGetArgClass(CORINFO_SIG_INFO* sig, ZeroMemory(&key, sizeof(key)); // Zero key including any struct padding // Only setting values for CORINFO_SIG_INFO things the EE seems to pay attention to... this is necessary since some of the values - // are unset and fail our precise comparisions... + // are unset and fail our precise comparisons... SpmiRecordsHelper::StoreAgnostic_CORINFO_SIG_INST_HandleArray(sig->sigInst.classInstCount, sig->sigInst.classInst, SigInstHandleMap, &key.sigInst_classInstCount, &key.sigInst_classInst_Index); SpmiRecordsHelper::StoreAgnostic_CORINFO_SIG_INST_HandleArray(sig->sigInst.methInstCount, sig->sigInst.methInst, SigInstHandleMap, &key.sigInst_methInstCount, &key.sigInst_methInst_Index); diff --git a/src/coreclr/vm/amd64/cgenamd64.cpp b/src/coreclr/vm/amd64/cgenamd64.cpp index 1e2e3f64b46..ec0f890071c 100644 --- a/src/coreclr/vm/amd64/cgenamd64.cpp +++ b/src/coreclr/vm/amd64/cgenamd64.cpp @@ -772,7 +772,7 @@ void DynamicHelpers::EmitHelperWithArg(BYTE*& p, size_t rxOffset, LoaderAllocato } CONTRACTL_END; - // Move an an argument into the second argument register and jump to a target function. + // Move an argument into the second argument register and jump to a target function. #ifdef UNIX_AMD64_ABI *(UINT16 *)p = 0xBE48; // mov rsi, XXXXXX diff --git a/src/coreclr/vm/clrex.h b/src/coreclr/vm/clrex.h index 492104704b3..2918c5cd3b6 100644 --- a/src/coreclr/vm/clrex.h +++ b/src/coreclr/vm/clrex.h @@ -358,7 +358,7 @@ class EEResourceException : public EEException // Unmanaged message text containing only the resource name (GC safe) void GetMessage(SString &result); - // Throwable message containig the resource contents (not GC safe) + // Throwable message containing the resource contents (not GC safe) BOOL GetThrowableMessage(SString &result); protected: diff --git a/src/coreclr/vm/comcallablewrapper.cpp b/src/coreclr/vm/comcallablewrapper.cpp index 330858a4fba..724a72ec501 100644 --- a/src/coreclr/vm/comcallablewrapper.cpp +++ b/src/coreclr/vm/comcallablewrapper.cpp @@ -672,7 +672,7 @@ void SimpleComCallWrapper::BuildRefCountLogMessage(LPCSTR szOperation, StackSStr OBJECTHANDLE handle = GetMainWrapper()->GetObjectHandle(); _UNCHECKED_OBJECTREF obj = NULL; - // Force retriving the handle without using OBJECTREF and under cooperative mode + // Force retrieving the handle without using OBJECTREF and under cooperative mode // We only need the value in ETW events and it doesn't matter if it is super accurate if (handle != NULL) obj = *((_UNCHECKED_OBJECTREF *)(handle)); diff --git a/src/coreclr/vm/i386/cgenx86.cpp b/src/coreclr/vm/i386/cgenx86.cpp index 7b6fa220046..287dd810f90 100644 --- a/src/coreclr/vm/i386/cgenx86.cpp +++ b/src/coreclr/vm/i386/cgenx86.cpp @@ -1235,7 +1235,7 @@ void DynamicHelpers::EmitHelperWithArg(BYTE*& p, size_t rxOffset, LoaderAllocato } CONTRACTL_END; - // Move an an argument into the second argument register and jump to a target function. + // Move an argument into the second argument register and jump to a target function. *p++ = 0xBA; // mov edx, XXXXXX *(INT32 *)p = (INT32)arg; diff --git a/src/coreclr/vm/interpreter.cpp b/src/coreclr/vm/interpreter.cpp index 5e6d3e9f85c..62fc0e39b95 100644 --- a/src/coreclr/vm/interpreter.cpp +++ b/src/coreclr/vm/interpreter.cpp @@ -6921,7 +6921,7 @@ INT32 Interpreter::CompareOpRes(unsigned op1idx) } else { - VerificationError("Binary comparision operation: type mismatch."); + VerificationError("Binary comparison operation: type mismatch."); } break; case CORINFO_TYPE_NATIVEINT: @@ -6978,7 +6978,7 @@ INT32 Interpreter::CompareOpRes(unsigned op1idx) } else { - VerificationError("Binary comparision operation: type mismatch."); + VerificationError("Binary comparison operation: type mismatch."); } break; case CORINFO_TYPE_LONG: @@ -7015,7 +7015,7 @@ INT32 Interpreter::CompareOpRes(unsigned op1idx) } else { - VerificationError("Binary comparision operation: type mismatch."); + VerificationError("Binary comparison operation: type mismatch."); } } break; @@ -7037,12 +7037,12 @@ INT32 Interpreter::CompareOpRes(unsigned op1idx) } else { - VerificationError("Binary comparision operation: type mismatch."); + VerificationError("Binary comparison operation: type mismatch."); } } else { - VerificationError("Binary comparision operation: type mismatch."); + VerificationError("Binary comparison operation: type mismatch."); } break; @@ -7084,7 +7084,7 @@ INT32 Interpreter::CompareOpRes(unsigned op1idx) } else { - VerificationError("Binary comparision operation: type mismatch."); + VerificationError("Binary comparison operation: type mismatch."); } } break; @@ -7126,7 +7126,7 @@ INT32 Interpreter::CompareOpRes(unsigned op1idx) } else { - VerificationError("Binary comparision operation: type mismatch."); + VerificationError("Binary comparison operation: type mismatch."); } } break; @@ -7169,7 +7169,7 @@ INT32 Interpreter::CompareOpRes(unsigned op1idx) } else { - VerificationError("Binary comparision operation: type mismatch."); + VerificationError("Binary comparison operation: type mismatch."); } break; diff --git a/src/coreclr/vm/memberload.cpp b/src/coreclr/vm/memberload.cpp index 1bc51a075cc..6ab3ceb6b05 100644 --- a/src/coreclr/vm/memberload.cpp +++ b/src/coreclr/vm/memberload.cpp @@ -192,7 +192,7 @@ void MemberLoader::GetDescFromMemberRef(ModuleBase * pModule, } MethodDesc *pMethodDef = NULL; - + if (pModule->IsFullModule()) { Module* pNormalModule = static_cast(pModule); @@ -595,7 +595,7 @@ MethodDesc* MemberLoader::GetMethodDescFromMethodDef(Module *pModule, // For internal purposes we wish to resolve MethodDef from generic classes or for generic methods to // the corresponding fully uninstantiated descriptor. For example, for // class C { void m(); } - // then then MethodDef for m resolves to a method descriptor for C.m(). This is the + // then MethodDef for m resolves to a method descriptor for C.m(). This is the // descriptor that gets stored in the RID map. // // Normal IL code that uses generic code cannot use MethodDefs in this way: all calls diff --git a/src/coreclr/vm/method.hpp b/src/coreclr/vm/method.hpp index 387fade18fe..7ee14b8d83b 100644 --- a/src/coreclr/vm/method.hpp +++ b/src/coreclr/vm/method.hpp @@ -1566,7 +1566,7 @@ public: // True if a MD is an funny BoxedEntryPointStub (not from the method table) or // an MD for a generic instantiation...In other words the MethodDescs and the // MethodTable are guaranteed to be "tightly-knit", i.e. if one is present in - // an NGEN image then then other will be, and if one is "used" at runtime then + // an NGEN image then the other will be, and if one is "used" at runtime then // the other will be too. BOOL IsTightlyBoundToMethodTable(); diff --git a/src/coreclr/vm/methodtablebuilder.cpp b/src/coreclr/vm/methodtablebuilder.cpp index 0bc8773845f..bf332cde251 100644 --- a/src/coreclr/vm/methodtablebuilder.cpp +++ b/src/coreclr/vm/methodtablebuilder.cpp @@ -341,7 +341,7 @@ MethodTableBuilder::ExpandApproxInterface( bmtInterfaceEntry * pItfEntry = &bmtInterface->pInterfaceMap[i]; bmtRTType * pItfType = pItfEntry->GetInterfaceType(); - // Type Equivalence is not respected for this comparision as you can have multiple type equivalent interfaces on a class + // Type Equivalence is not respected for this comparison as you can have multiple type equivalent interfaces on a class TokenPairList newVisited = TokenPairList::AdjustForTypeEquivalenceForbiddenScope(NULL); if (MetaSig::CompareTypeDefsUnderSubstitutions(pItfType->GetMethodTable(), pNewInterface, @@ -5758,7 +5758,7 @@ MethodTableBuilder::ProcessMethodImpls() for (DWORD i = 0; i < bmtInterface->dwInterfaceMapSize; i++) { bmtRTType * pCurItf = bmtInterface->pInterfaceMap[i].GetInterfaceType(); - // Type Equivalence is not respected for this comparision as you can have multiple type equivalent interfaces on a class + // Type Equivalence is not respected for this comparison as you can have multiple type equivalent interfaces on a class TokenPairList newVisited = TokenPairList::AdjustForTypeEquivalenceForbiddenScope(NULL); if (MetaSig::CompareTypeDefsUnderSubstitutions( pCurItf->GetMethodTable(), pDeclMT, @@ -5788,7 +5788,7 @@ MethodTableBuilder::ProcessMethodImpls() for (DWORD i = 0; i < bmtInterface->dwInterfaceMapSize; i++) { bmtRTType * pCurItf = bmtInterface->pInterfaceMap[i].GetInterfaceType(); - // Type Equivalence is respected for this comparision as we just need to find an + // Type Equivalence is respected for this comparison as we just need to find an // equivalent interface, the particular interface is unimportant if (MetaSig::CompareTypeDefsUnderSubstitutions( pCurItf->GetMethodTable(), pDeclMT, @@ -9687,7 +9687,7 @@ MethodTableBuilder::ExpandExactInterface( // determined the layout of the interface map for the "generic" version of the class. for (DWORD i = 0; i < bmtInfo->nAssigned; i++) { - // Type Equivalence is not respected for this comparision as you can have multiple type equivalent interfaces on a class + // Type Equivalence is not respected for this comparison as you can have multiple type equivalent interfaces on a class TokenPairList newVisited = TokenPairList::AdjustForTypeEquivalenceForbiddenScope(NULL); if (MetaSig::CompareTypeDefsUnderSubstitutions(bmtInfo->pExactMTs[i], pIntf, @@ -9772,7 +9772,7 @@ void MethodTableBuilder::InterfaceAmbiguityCheck(bmtInterfaceAmbiguityCheckInfo // determined the layout of the interface map for the "generic" version of the class. for (DWORD i = 0; i < bmtCheckInfo->nAssigned; i++) { - // Type Equivalence is not respected for this comparision as you can have multiple type equivalent interfaces on a class + // Type Equivalence is not respected for this comparison as you can have multiple type equivalent interfaces on a class TokenPairList newVisited = TokenPairList::AdjustForTypeEquivalenceForbiddenScope(NULL); if (MetaSig::CompareTypeDefsUnderSubstitutions(bmtCheckInfo->ppExactDeclaredInterfaces[i], pIntf, @@ -11005,7 +11005,7 @@ BOOL MethodTableBuilder::HasDefaultInterfaceImplementation(bmtRTType *pDeclType, // If this is generic, we need to compare under substitutions Substitution curItfSubs(tkParent, pCurIntfModule, &pCurItf->GetSubstitution()); - // Type Equivalence is not respected for this comparision as you can have multiple type equivalent interfaces on a class + // Type Equivalence is not respected for this comparison as you can have multiple type equivalent interfaces on a class TokenPairList newVisited = TokenPairList::AdjustForTypeEquivalenceForbiddenScope(NULL); if (MetaSig::CompareTypeDefsUnderSubstitutions( pPotentialInterfaceMT, pDeclType->GetMethodTable(), diff --git a/src/coreclr/vm/runtimecallablewrapper.cpp b/src/coreclr/vm/runtimecallablewrapper.cpp index 84c0c5bdcd0..ad8eccd8b3a 100644 --- a/src/coreclr/vm/runtimecallablewrapper.cpp +++ b/src/coreclr/vm/runtimecallablewrapper.cpp @@ -2293,7 +2293,7 @@ HRESULT __stdcall RCW::ReleaseAllInterfacesCallBack(LPVOID pData) } //--------------------------------------------------------------------- -// Helper function called from ReleaseAllInterfacesCallBack do do the +// Helper function called from ReleaseAllInterfacesCallBack to do the // actual releases. void RCW::ReleaseAllInterfaces() { diff --git a/src/coreclr/vm/runtimecallablewrapper.h b/src/coreclr/vm/runtimecallablewrapper.h index 57dc8530524..0be5aaf97c0 100644 --- a/src/coreclr/vm/runtimecallablewrapper.h +++ b/src/coreclr/vm/runtimecallablewrapper.h @@ -520,7 +520,7 @@ private: static HRESULT __stdcall ReleaseAllInterfacesCallBack(LPVOID pData); //--------------------------------------------------------------------- - // Helper function called from ReleaseAllInterfaces_CallBack do do the + // Helper function called from ReleaseAllInterfaces_CallBack to do the // actual releases. void ReleaseAllInterfaces(); diff --git a/src/libraries/Common/tests/System/Runtime/Serialization/Utils.cs b/src/libraries/Common/tests/System/Runtime/Serialization/Utils.cs index 2e2ac299c2c..8d4e2586fba 100644 --- a/src/libraries/Common/tests/System/Runtime/Serialization/Utils.cs +++ b/src/libraries/Common/tests/System/Runtime/Serialization/Utils.cs @@ -114,7 +114,7 @@ internal static class Utils internal static CompareResult Compare(string expected, string actual, bool runSmartXmlComparerOnFailure = true) { - // for CORECLR we get different xml hence we have updated code for smartyXMLcomparision + // for CORECLR we get different xml hence we have updated code for smartyXMLcomparison CompareResult stringcompare = CompareString(expected, actual); diff --git a/src/libraries/Microsoft.Extensions.Logging/tests/DI.Common/Common/tests/LogValuesAssertTest.cs b/src/libraries/Microsoft.Extensions.Logging/tests/DI.Common/Common/tests/LogValuesAssertTest.cs index f733f2710bd..f0ea517f41e 100644 --- a/src/libraries/Microsoft.Extensions.Logging/tests/DI.Common/Common/tests/LogValuesAssertTest.cs +++ b/src/libraries/Microsoft.Extensions.Logging/tests/DI.Common/Common/tests/LogValuesAssertTest.cs @@ -161,7 +161,7 @@ namespace Microsoft.Extensions.Logging.Testing.Tests public static TheoryData< IEnumerable>, - IEnumerable>> CaseSensitivityComparisionData + IEnumerable>> CaseSensitivityComparisonData { get { @@ -198,8 +198,8 @@ namespace Microsoft.Extensions.Logging.Testing.Tests } [Theory] - [MemberData(nameof(CaseSensitivityComparisionData))] - public void DefaultComparer_Performs_CaseSensitiveComparision( + [MemberData(nameof(CaseSensitivityComparisonData))] + public void DefaultComparer_Performs_CaseSensitiveComparison( IEnumerable> expectedValues, IEnumerable> actualValues) { diff --git a/src/libraries/System.CodeDom/tests/System/CodeDom/CodeAttachEventStatementTests.cs b/src/libraries/System.CodeDom/tests/System/CodeDom/CodeAttachEventStatementTests.cs index 36093b2faed..ad2d0f2a4e3 100644 --- a/src/libraries/System.CodeDom/tests/System/CodeDom/CodeAttachEventStatementTests.cs +++ b/src/libraries/System.CodeDom/tests/System/CodeDom/CodeAttachEventStatementTests.cs @@ -42,11 +42,11 @@ namespace System.CodeDom.Tests [Theory] [MemberData(nameof(CodeEventReferenceExpression_CodeExpression_TestData))] - public void Ctor_CodeEventReferenceExpression_CodeExpression(CodeEventReferenceExpression eventExpresion, CodeExpression listener) + public void Ctor_CodeEventReferenceExpression_CodeExpression(CodeEventReferenceExpression eventExpression, CodeExpression listener) { - var attachEvent = new CodeAttachEventStatement(eventExpresion, listener); - Assert.Equal((eventExpresion ?? new CodeEventReferenceExpression()).TargetObject, attachEvent.Event.TargetObject); - Assert.Equal((eventExpresion ?? new CodeEventReferenceExpression()).EventName, attachEvent.Event.EventName); + var attachEvent = new CodeAttachEventStatement(eventExpression, listener); + Assert.Equal((eventExpression ?? new CodeEventReferenceExpression()).TargetObject, attachEvent.Event.TargetObject); + Assert.Equal((eventExpression ?? new CodeEventReferenceExpression()).EventName, attachEvent.Event.EventName); Assert.Equal(listener, attachEvent.Listener); } diff --git a/src/libraries/System.CodeDom/tests/System/CodeDom/CodeRemoveEventStatementTests.cs b/src/libraries/System.CodeDom/tests/System/CodeDom/CodeRemoveEventStatementTests.cs index 72a95c0dc73..c7d573f98e3 100644 --- a/src/libraries/System.CodeDom/tests/System/CodeDom/CodeRemoveEventStatementTests.cs +++ b/src/libraries/System.CodeDom/tests/System/CodeDom/CodeRemoveEventStatementTests.cs @@ -42,11 +42,11 @@ namespace System.CodeDom.Tests [Theory] [MemberData(nameof(CodeEventReferenceExpression_CodeExpression_TestData))] - public void Ctor_CodeEventReferenceExpression_CodeExpression(CodeEventReferenceExpression eventExpresion, CodeExpression listener) + public void Ctor_CodeEventReferenceExpression_CodeExpression(CodeEventReferenceExpression eventExpression, CodeExpression listener) { - var removeEvent = new CodeRemoveEventStatement(eventExpresion, listener); - Assert.Equal((eventExpresion ?? new CodeEventReferenceExpression()).TargetObject, removeEvent.Event.TargetObject); - Assert.Equal((eventExpresion ?? new CodeEventReferenceExpression()).EventName, removeEvent.Event.EventName); + var removeEvent = new CodeRemoveEventStatement(eventExpression, listener); + Assert.Equal((eventExpression ?? new CodeEventReferenceExpression()).TargetObject, removeEvent.Event.TargetObject); + Assert.Equal((eventExpression ?? new CodeEventReferenceExpression()).EventName, removeEvent.Event.EventName); Assert.Equal(listener, removeEvent.Listener); } diff --git a/src/libraries/System.ComponentModel.Composition/src/System/ComponentModel/Composition/Hosting/CompositionServices.cs b/src/libraries/System.ComponentModel.Composition/src/System/ComponentModel/Composition/Hosting/CompositionServices.cs index 8046b0b21d0..5ff26380bf9 100644 --- a/src/libraries/System.ComponentModel.Composition/src/System/ComponentModel/Composition/Hosting/CompositionServices.cs +++ b/src/libraries/System.ComponentModel.Composition/src/System/ComponentModel/Composition/Hosting/CompositionServices.cs @@ -64,7 +64,7 @@ namespace System.ComponentModel.Composition.Hosting if ((memberType != null) && memberType.IsGenericType && specifiedContractType.IsGenericType) { - // if the memeber type is closed and the specified contract type is open and they have exatly the same number of parameters + // if the member type is closed and the specified contract type is open and they have exatly the same number of parameters // we will close the specfied contract type if (specifiedContractType.ContainsGenericParameters && !memberType.ContainsGenericParameters) { @@ -476,7 +476,7 @@ namespace System.ComponentModel.Composition.Hosting return Enumerable.Empty>(); } - // A metadata view is required to be an Intrerface, and therefore only properties are allowed + // A metadata view is required to be an Interface, and therefore only properties are allowed List properties = metadataViewType.GetAllProperties(). Where(property => property.GetFirstAttribute() == null). ToList(); diff --git a/src/libraries/System.ComponentModel.Composition/src/System/ComponentModel/Composition/ReflectionModel/LazyMemberInfo.cs b/src/libraries/System.ComponentModel.Composition/src/System/ComponentModel/Composition/ReflectionModel/LazyMemberInfo.cs index 02d1f811e71..616f58136d3 100644 --- a/src/libraries/System.ComponentModel.Composition/src/System/ComponentModel/Composition/ReflectionModel/LazyMemberInfo.cs +++ b/src/libraries/System.ComponentModel.Composition/src/System/ComponentModel/Composition/ReflectionModel/LazyMemberInfo.cs @@ -120,7 +120,7 @@ namespace System.ComponentModel.Composition.ReflectionModel return false; } - // if any of the lazy memebers create accessors in a delay-loaded fashion, we simply compare the creators + // if any of the lazy members create accessors in a delay-loaded fashion, we simply compare the creators if ((_accessorsCreator != null) || (other._accessorsCreator != null)) { return object.Equals(_accessorsCreator, other._accessorsCreator); diff --git a/src/libraries/System.ComponentModel.TypeConverter/tests/MemberDescriptorTests.cs b/src/libraries/System.ComponentModel.TypeConverter/tests/MemberDescriptorTests.cs index 651a4858d49..0d468201dad 100644 --- a/src/libraries/System.ComponentModel.TypeConverter/tests/MemberDescriptorTests.cs +++ b/src/libraries/System.ComponentModel.TypeConverter/tests/MemberDescriptorTests.cs @@ -9,7 +9,7 @@ using Xunit; namespace System.ComponentModel.Tests { - // Mutable static comparision in the implementation + // Mutable static comparison in the implementation [Collection(nameof(DisableParallelization))] public class MemberDescriptorTests { diff --git a/src/libraries/System.Data.Common/src/System/Data/Common/DataStorage.cs b/src/libraries/System.Data.Common/src/System/Data/Common/DataStorage.cs index 8c28cc2210d..f25568c63eb 100644 --- a/src/libraries/System.Data.Common/src/System/Data/Common/DataStorage.cs +++ b/src/libraries/System.Data.Common/src/System/Data/Common/DataStorage.cs @@ -206,7 +206,7 @@ namespace System.Data.Common public abstract int Compare(int recordNo1, int recordNo2); - // only does comparision, expect value to be of the correct type + // only does comparison, expect value to be of the correct type public abstract int CompareValueTo(int recordNo1, object? value); // only does conversion with support for reference null diff --git a/src/libraries/System.Data.Common/src/System/Data/SQLTypes/SQLDecimal.cs b/src/libraries/System.Data.Common/src/System/Data/SQLTypes/SQLDecimal.cs index 21d13d53131..363175a9139 100644 --- a/src/libraries/System.Data.Common/src/System/Data/SQLTypes/SQLDecimal.cs +++ b/src/libraries/System.Data.Common/src/System/Data/SQLTypes/SQLDecimal.cs @@ -2762,7 +2762,7 @@ namespace System.Data.SqlTypes int Sign1; int Sign2; - int iFinalResult; //Final result of comparision: positive = greater + int iFinalResult; //Final result of comparison: positive = greater //than, 0 = equal, negative = less than //Initialize the sign values to be 1(positive) or -1(negative) diff --git a/src/libraries/System.Data.Common/tests/System/Data/DataViewTest2.cs b/src/libraries/System.Data.Common/tests/System/Data/DataViewTest2.cs index 913ab81c47e..157000f252e 100644 --- a/src/libraries/System.Data.Common/tests/System/Data/DataViewTest2.cs +++ b/src/libraries/System.Data.Common/tests/System/Data/DataViewTest2.cs @@ -398,7 +398,7 @@ namespace System.Data.Tests Assert.Equal(-1, findResult); dv.Sort = "ParentId"; - // Find + // Find findResult = dv.Find("3"); Assert.Equal(expectedResult, findResult); } @@ -1107,7 +1107,7 @@ namespace System.Data.Tests view1.AllowNew = view2.AllowNew; Assert.True(view1.Equals(view2)); - //ApplyDefaultSort doesnet affect the comparision + //ApplyDefaultSort doesnet affect the comparison view1.ApplyDefaultSort = !view2.ApplyDefaultSort; Assert.True(view1.Equals(view2)); diff --git a/src/libraries/System.Data.Odbc/src/System/Data/Odbc/Odbc32.cs b/src/libraries/System.Data.Odbc/src/System/Data/Odbc/Odbc32.cs index 0985c2f511e..917aa2d079e 100644 --- a/src/libraries/System.Data.Odbc/src/System/Data/Odbc/Odbc32.cs +++ b/src/libraries/System.Data.Odbc/src/System/Data/Odbc/Odbc32.cs @@ -404,7 +404,7 @@ namespace System.Data.Odbc NESTED = 0x00000008, // SQL_OJ_NESTED NOT_ORDERED = 0x00000010, // SQL_OJ_NOT_ORDERED INNER = 0x00000020, // SQL_OJ_INNER - ALL_COMPARISON_OPS = 0x00000040, //SQL_OJ_ALLCOMPARISION+OPS + ALL_COMPARISON_OPS = 0x00000040, //SQL_OJ_ALLCOMPARISON+OPS } internal enum SQL_UPDATABLE diff --git a/src/libraries/System.Data.OleDb/src/OleDbMetaDataFactory.cs b/src/libraries/System.Data.OleDb/src/OleDbMetaDataFactory.cs index 425457a085f..d13521df98d 100644 --- a/src/libraries/System.Data.OleDb/src/OleDbMetaDataFactory.cs +++ b/src/libraries/System.Data.OleDb/src/OleDbMetaDataFactory.cs @@ -537,7 +537,7 @@ namespace System.Data.OleDb DataTable metaDataCollectionsTable = CollectionDataSet.Tables[DbMetaDataCollectionNames.MetaDataCollections]!; int numberOfSupportedRestictions = -1; // prepare colletion is called with the exact collection name so - // we can do an exact string comparision here + // we can do an exact string comparison here foreach (DataRow row in metaDataCollectionsTable.Rows) { string candidateCollectionName = ((string)row[DbMetaDataColumnNames.CollectionName, DataRowVersion.Current]); diff --git a/src/libraries/System.Management/src/System/Management/WMIGenerator.cs b/src/libraries/System.Management/src/System/Management/WMIGenerator.cs index 63e80d453c8..e0e7c32673c 100644 --- a/src/libraries/System.Management/src/System/Management/WMIGenerator.cs +++ b/src/libraries/System.Management/src/System/Management/WMIGenerator.cs @@ -2521,7 +2521,7 @@ namespace System.Management cpde.Name = strLateBoundObject; cctor.Parameters.Add(cpde); - // call this to call function to initialize memeber variables + // call this to call function to initialize member variables InitPrivateMemberVariables(cctor); cis = new CodeConditionStatement(); @@ -2591,7 +2591,7 @@ namespace System.Management cpde.Name = strLateBoundObject; cctor.Parameters.Add(cpde); - // call this to call function to initialize memeber variables + // call this to call function to initialize member variables InitPrivateMemberVariables(cctor); cmie = new CodeMethodInvokeExpression(); @@ -2671,7 +2671,7 @@ namespace System.Management cmmInit.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(PublicNamesUsed["PathClass"].ToString()), strPathObject)); cmmInit.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(PublicNamesUsed["GetOptionsClass"].ToString()), strGetOptions)); - // call this to call function to initialize memeber variables + // call this to call function to initialize member variables InitPrivateMemberVariables(cmmInit); //First if path is not null, then we will check whether the class name is the same. diff --git a/src/libraries/System.Private.CoreLib/src/System/Numerics/INumberBase.cs b/src/libraries/System.Private.CoreLib/src/System/Numerics/INumberBase.cs index 7361d0a68c8..76d9fc7a49a 100644 --- a/src/libraries/System.Private.CoreLib/src/System/Numerics/INumberBase.cs +++ b/src/libraries/System.Private.CoreLib/src/System/Numerics/INumberBase.cs @@ -262,7 +262,7 @@ namespace System.Numerics /// is not representable by . static abstract TSelf Parse(ReadOnlySpan s, NumberStyles style, IFormatProvider? provider); - /// Tries to convert a value to an instance of the the current type, throwing an overflow exception for any values that fall outside the representable range of the current type. + /// Tries to convert a value to an instance of the current type, throwing an overflow exception for any values that fall outside the representable range of the current type. /// The type of . /// The value which is used to create the instance of . /// On return, contains an instance of converted from . @@ -271,7 +271,7 @@ namespace System.Numerics protected static abstract bool TryConvertFromChecked(TOther value, [NotNullWhen(true)] out TSelf? result) where TOther : INumberBase; - /// Tries to convert a value to an instance of the the current type, saturating any values that fall outside the representable range of the current type. + /// Tries to convert a value to an instance of the current type, saturating any values that fall outside the representable range of the current type. /// The type of . /// The value which is used to create the instance of . /// On return, contains an instance of converted from . @@ -279,7 +279,7 @@ namespace System.Numerics protected static abstract bool TryConvertFromSaturating(TOther value, [NotNullWhen(true)] out TSelf? result) where TOther : INumberBase; - /// Tries to convert a value to an instance of the the current type, truncating any values that fall outside the representable range of the current type. + /// Tries to convert a value to an instance of the current type, truncating any values that fall outside the representable range of the current type. /// The type of . /// The value which is used to create the instance of . /// On return, contains an instance of converted from . @@ -287,7 +287,7 @@ namespace System.Numerics protected static abstract bool TryConvertFromTruncating(TOther value, [NotNullWhen(true)] out TSelf? result) where TOther : INumberBase; - /// Tries to convert an instance of the the current type to another type, throwing an overflow exception for any values that fall outside the representable range of the current type. + /// Tries to convert an instance of the current type to another type, throwing an overflow exception for any values that fall outside the representable range of the current type. /// The type to which should be converted. /// The value which is used to create the instance of . /// On return, contains an instance of converted from . @@ -296,7 +296,7 @@ namespace System.Numerics protected static abstract bool TryConvertToChecked(TSelf value, [NotNullWhen(true)] out TOther? result) where TOther : INumberBase; - /// Tries to convert an instance of the the current type to another type, saturating any values that fall outside the representable range of the current type. + /// Tries to convert an instance of the current type to another type, saturating any values that fall outside the representable range of the current type. /// The type to which should be converted. /// The value which is used to create the instance of . /// On return, contains an instance of converted from . @@ -304,7 +304,7 @@ namespace System.Numerics protected static abstract bool TryConvertToSaturating(TSelf value, [NotNullWhen(true)] out TOther? result) where TOther : INumberBase; - /// Tries to convert an instance of the the current type to another type, truncating any values that fall outside the representable range of the current type. + /// Tries to convert an instance of the current type to another type, truncating any values that fall outside the representable range of the current type. /// The type to which should be converted. /// The value which is used to create the instance of . /// On return, contains an instance of converted from . diff --git a/src/libraries/System.Private.CoreLib/src/System/TimeZoneInfo.Win32.cs b/src/libraries/System.Private.CoreLib/src/System/TimeZoneInfo.Win32.cs index ad3cc1e2148..c0774303f3f 100644 --- a/src/libraries/System.Private.CoreLib/src/System/TimeZoneInfo.Win32.cs +++ b/src/libraries/System.Private.CoreLib/src/System/TimeZoneInfo.Win32.cs @@ -713,7 +713,7 @@ namespace System result = dstDisabled || CheckDaylightSavingTimeNotSupported(timeZone) || // - // since Daylight Saving Time is not "disabled", do a straight comparision between + // since Daylight Saving Time is not "disabled", do a straight comparison between // the Win32 API data and the registry data ... // (timeZone.DaylightBias == registryTimeZoneInfo.DaylightBias && diff --git a/src/libraries/System.Private.CoreLib/src/System/Type.Enum.cs b/src/libraries/System.Private.CoreLib/src/System/Type.Enum.cs index 59fe5a34a93..80b610aa811 100644 --- a/src/libraries/System.Private.CoreLib/src/System/Type.Enum.cs +++ b/src/libraries/System.Private.CoreLib/src/System/Type.Enum.cs @@ -130,7 +130,7 @@ namespace System object val = values[i]; bool exchanged = false; - // Since the elements are sorted we only need to do one comparision, we keep the check for j inside the loop. + // Since the elements are sorted we only need to do one comparison, we keep the check for j inside the loop. while (comparer.Compare(values[j - 1], val) > 0) { names[j] = names[j - 1]; diff --git a/src/libraries/System.Private.CoreLib/src/System/UInt128.cs b/src/libraries/System.Private.CoreLib/src/System/UInt128.cs index 111fcfd7b26..854289447c3 100644 --- a/src/libraries/System.Private.CoreLib/src/System/UInt128.cs +++ b/src/libraries/System.Private.CoreLib/src/System/UInt128.cs @@ -287,7 +287,7 @@ namespace System } else { - // For values greater than than 2^104 we basically do the same as before but we need to account + // For values greater than 2^104 we basically do the same as before but we need to account // for the precision loss that double will have. As such, the lower value effectively drops the // lowest 24 bits and then or's them back to ensure rounding stays correct. diff --git a/src/libraries/System.Private.Xml/src/System/Xml/Xsl/IlGen/XmlIlVisitor.cs b/src/libraries/System.Private.Xml/src/System/Xml/Xsl/IlGen/XmlIlVisitor.cs index 09a98e9b9db..70c38dfd734 100644 --- a/src/libraries/System.Private.Xml/src/System/Xml/Xsl/IlGen/XmlIlVisitor.cs +++ b/src/libraries/System.Private.Xml/src/System/Xml/Xsl/IlGen/XmlIlVisitor.cs @@ -678,7 +678,7 @@ namespace System.Xml.Xsl.IlGen break; default: - // If last condition evalutes to false, branch to false label + // If last condition evaluates to false, branch to false label // Else fall through to true code path _iterCurr.SetBranching(BranchingContext.OnFalse, lblOnFalse); break; @@ -752,7 +752,7 @@ namespace System.Xml.Xsl.IlGen break; default: - // If left condition evalutes to true, jump to code that pushes "true" + // If left condition evaluates to true, jump to code that pushes "true" Debug.Assert(_iterCurr.CurrentBranchingContext == BranchingContext.None); lblTemp = _helper.DefineLabel(); NestedVisitWithBranch(ndOr.Left, BranchingContext.OnTrue, lblTemp); @@ -773,7 +773,7 @@ namespace System.Xml.Xsl.IlGen break; default: - // If right condition evalutes to true, jump to code that pushes "true". + // If right condition evaluates to true, jump to code that pushes "true". // Otherwise, if both conditions evaluate to false, fall through code path // will push "false". NestedVisitWithBranch(ndOr.Right, BranchingContext.OnTrue, lblTemp); @@ -3439,7 +3439,7 @@ namespace System.Xml.Xsl.IlGen // If the expression is a singleton, if (ndVal.Child.XmlType.IsSingleton) { - // Then generate code to push expresion result onto the stack + // Then generate code to push expression result onto the stack NestedVisitEnsureStack(ndVal.Child, typeof(XPathNavigator), false); // navigator.Value; @@ -3514,7 +3514,7 @@ namespace System.Xml.Xsl.IlGen // If the expression is a singleton, if (ndGenId.Child.XmlType!.IsSingleton) { - // Then generate code to push expresion result onto the stack + // Then generate code to push expression result onto the stack NestedVisitEnsureStack(ndGenId.Child, typeof(XPathNavigator), false); // runtime.GenerateId(value); diff --git a/src/libraries/System.Private.Xml/src/System/Xml/Xsl/XPath/XPathBuilder.cs b/src/libraries/System.Private.Xml/src/System/Xml/Xsl/XPath/XPathBuilder.cs index 2489af2c5b0..64feb4c5560 100644 --- a/src/libraries/System.Private.Xml/src/System/Xml/Xsl/XPath/XPathBuilder.cs +++ b/src/libraries/System.Private.Xml/src/System/Xml/Xsl/XPath/XPathBuilder.cs @@ -458,7 +458,7 @@ namespace System.Xml.Xsl.XPath "ReverseAxe in Qil is actually reverse and we compile them here in builder by wrapping to DocOrderDistinct()" ); // The trick here is that we unwarp it back, compile as regular predicate and wrap again. - // this way this wat we hold invariant that path expresion are always DOD and make predicates on reverse axe + // this way this wat we hold invariant that path expression are always DOD and make predicates on reverse axe // work as specified in XPath 2.0 FS: http://www.w3.org/TR/xquery-semantics/#id-axis-steps nodeset = ((QilUnary)nodeset).Child; } diff --git a/src/libraries/System.Private.Xml/src/System/Xml/Xsl/XsltOld/Compiler.cs b/src/libraries/System.Private.Xml/src/System/Xml/Xsl/XsltOld/Compiler.cs index fd6e21ad29e..59db0080a2e 100644 --- a/src/libraries/System.Private.Xml/src/System/Xml/Xsl/XsltOld/Compiler.cs +++ b/src/libraries/System.Private.Xml/src/System/Xml/Xsl/XsltOld/Compiler.cs @@ -860,7 +860,7 @@ namespace System.Xml.Xsl.XsltOld case '}': i++; // include '}' if (i == start + 2) - { // empty XPathExpresion + { // empty XPathExpression throw XsltException.Create(SR.Xslt_EmptyAvtExpr, avt); } lex.Append(avt, start + 1, i - start - 2); // avt without {} diff --git a/src/libraries/System.Runtime.Serialization.Xml/tests/SerializationTestTypes/ComparisonHelper.cs b/src/libraries/System.Runtime.Serialization.Xml/tests/SerializationTestTypes/ComparisonHelper.cs index f45a35309de..250e3ae93e5 100644 --- a/src/libraries/System.Runtime.Serialization.Xml/tests/SerializationTestTypes/ComparisonHelper.cs +++ b/src/libraries/System.Runtime.Serialization.Xml/tests/SerializationTestTypes/ComparisonHelper.cs @@ -11,13 +11,13 @@ using System.Xml.Serialization; namespace SerializationTestTypes { - public enum ComparisionType + public enum ComparisonType { DCS, POCO } - #region ComparisionType passed as parameter + #region ComparisonType passed as parameter /// /// A type which does not have DataContract,MessageContract,Serializable,does not implements ISerializable or does not implement IXmlSerializable is considered a POCO type @@ -29,11 +29,11 @@ namespace SerializationTestTypes public static void CompareRecursively(object originalData, object deserializedData, bool approxComparisonForFloatingPointAnd64BitValues = false) { - ComparisionType cmpType = ComparisionType.DCS; + ComparisonType cmpType = ComparisonType.DCS; SerializationMechanism att = ComparisonHelper.GetSerializationMechanism(originalData); if (att.Equals(SerializationMechanism.POCO)) { - cmpType = ComparisionType.POCO; + cmpType = ComparisonType.POCO; } ComparisonHelper.CompareData(originalData, deserializedData, att, cmpType); } @@ -98,7 +98,7 @@ namespace SerializationTestTypes /// /// /// - private static void CompareData(object originalData, object deserializedData, SerializationMechanism containerTypeAttribute, ComparisionType cmpType) + private static void CompareData(object originalData, object deserializedData, SerializationMechanism containerTypeAttribute, ComparisonType cmpType) { if (originalData == null) // both are null, comparison succeeded { @@ -113,7 +113,7 @@ namespace SerializationTestTypes //Fail if only one of the objects is null if ((null == originalData) != (null == deserializedData)) { - string message = string.Format("Comparision failed: Original data is {0}, deserialized data is {1}", + string message = string.Format("Comparison failed: Original data is {0}, deserialized data is {1}", originalData == null ? "null" : "not null", deserializedData == null ? "null" : "not null"); if (originalData != null) @@ -133,7 +133,7 @@ namespace SerializationTestTypes bool result = originalData.Equals(deserializedData); if (!result) { - throw new Exception("Comparision failed for type " + originalData.GetType().Name); + throw new Exception("Comparison failed for type " + originalData.GetType().Name); } return; } @@ -144,7 +144,7 @@ namespace SerializationTestTypes if (!originalDataType.Equals(deserializedDataType)) { - throw new Exception(string.Format("Comparision failed : Original type {0} not same as deserialized type {1}", originalDataType.ToString(), deserializedDataType.ToString())); + throw new Exception(string.Format("Comparison failed : Original type {0} not same as deserialized type {1}", originalDataType.ToString(), deserializedDataType.ToString())); } object[] dataContractAttributes = originalDataType.GetCustomAttributes(typeof(DataContractAttribute), false); @@ -171,7 +171,7 @@ namespace SerializationTestTypes { if (!originalData.Equals(deserializedData)) { - throw new Exception(string.Format("Comparision failed: Original string data {0} is not same as deserialized string data {1}", originalData, deserializedData)); + throw new Exception(string.Format("Comparison failed: Original string data {0} is not same as deserialized string data {1}", originalData, deserializedData)); } } #endregion @@ -185,7 +185,7 @@ namespace SerializationTestTypes Trace.WriteLine(string.Format(LogMessage, originalDataType, originalDataXml, deserializedDataType, deserializedDataXml)); if (!originalDataXml.Equals(deserializedDataXml)) { - throw new Exception(string.Format("Comparision failed: Original XML data ({0}) is not the same as the deserialized XML data ({1})", + throw new Exception(string.Format("Comparison failed: Original XML data ({0}) is not the same as the deserialized XML data ({1})", originalDataXml, deserializedDataXml)); } } @@ -204,7 +204,7 @@ namespace SerializationTestTypes { if (!(((DateTime)originalData).ToUniversalTime().Equals(((DateTime)deserializedData).ToUniversalTime()))) { - throw new Exception(string.Format("Comparision failed: Original Datetime ticks {0} is not same as deserialized Datetime ticks {1}", ((DateTime)originalData).Ticks.ToString(), ((DateTime)deserializedData).Ticks.ToString())); + throw new Exception(string.Format("Comparison failed: Original Datetime ticks {0} is not same as deserialized Datetime ticks {1}", ((DateTime)originalData).Ticks.ToString(), ((DateTime)deserializedData).Ticks.ToString())); } } else if ( @@ -218,7 +218,7 @@ namespace SerializationTestTypes { if (!originalData.Equals(deserializedData)) { - throw new Exception(string.Format("Comparision failed : Original type data {0} is not same as deserialized type data {1}", originalData.ToString(), deserializedData.ToString())); + throw new Exception(string.Format("Comparison failed : Original type data {0} is not same as deserialized type data {1}", originalData.ToString(), deserializedData.ToString())); } } @@ -237,7 +237,7 @@ namespace SerializationTestTypes bool different = !originalData.Equals(deserializedData); if (different) { - throw new Exception(string.Format("Comparision failed: Original primitive data {0} is not same as deserialized primitive data {1}", originalData.ToString(), deserializedData.ToString())); + throw new Exception(string.Format("Comparison failed: Original primitive data {0} is not same as deserialized primitive data {1}", originalData.ToString(), deserializedData.ToString())); } } #endregion @@ -255,7 +255,7 @@ namespace SerializationTestTypes //Verify this will work for all scenarios if (!originalData.ToString().Equals(deserializedData.ToString())) { - throw new Exception(string.Format("Comparision failed: Original enum data {0} is not same as deserialized enum data {1}", originalData.ToString(), deserializedData.ToString())); + throw new Exception(string.Format("Comparison failed: Original enum data {0} is not same as deserialized enum data {1}", originalData.ToString(), deserializedData.ToString())); } } } @@ -285,7 +285,7 @@ namespace SerializationTestTypes // the type knows how to compare itself, we'll use it if (!originalData.Equals(deserializedData)) { - throw new Exception(string.Format("Comparision failed: Original type data {0} is not same as deserialized type data {1}", originalData.ToString(), deserializedData.ToString())); + throw new Exception(string.Format("Comparison failed: Original type data {0} is not same as deserialized type data {1}", originalData.ToString(), deserializedData.ToString())); } } #endregion @@ -311,7 +311,7 @@ namespace SerializationTestTypes } else { - throw new Exception(string.Format("Comparision failed: Original IDictionary type {0} and deserialized IDictionary type {1} are not of same", originalDataType.GetType().ToString(), deserializedDataType.GetType().ToString())); + throw new Exception(string.Format("Comparison failed: Original IDictionary type {0} and deserialized IDictionary type {1} are not of same", originalDataType.GetType().ToString(), deserializedDataType.GetType().ToString())); } } #endregion @@ -332,7 +332,7 @@ namespace SerializationTestTypes } else { - throw new Exception(string.Format("Comparision failed: Original type {0} and deserialized type {1} are not IEnumerable", originalDataType.GetType().ToString(), deserializedDataType.GetType().ToString())); + throw new Exception(string.Format("Comparison failed: Original type {0} and deserialized type {1} are not IEnumerable", originalDataType.GetType().ToString(), deserializedDataType.GetType().ToString())); } } @@ -352,12 +352,12 @@ namespace SerializationTestTypes #endregion } - private static bool IsMemberMarkedWithEnumMember(object data, ComparisionType cmpType) + private static bool IsMemberMarkedWithEnumMember(object data, ComparisonType cmpType) { bool isEnumMember = false; //Non-public members are not serialized for POCO types BindingFlags flag = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static; - if (cmpType.Equals(ComparisionType.DCS)) + if (cmpType.Equals(ComparisonType.DCS)) { flag = flag | BindingFlags.NonPublic; } @@ -377,11 +377,11 @@ namespace SerializationTestTypes /// /// /// - private static void CompareProperties(object originalData, object deserializedData, SerializationMechanism containerTypeAttribute, ComparisionType cmpType) + private static void CompareProperties(object originalData, object deserializedData, SerializationMechanism containerTypeAttribute, ComparisonType cmpType) { BindingFlags flag = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static; //Include private fields for DCS types - if (cmpType.Equals(ComparisionType.DCS)) + if (cmpType.Equals(ComparisonType.DCS)) { flag = flag | BindingFlags.NonPublic; } @@ -390,7 +390,7 @@ namespace SerializationTestTypes { object newData = property.GetValue(originalData, null); SerializationMechanism fieldAttribute = ComparisonHelper.GetSerializationMechanism(newData); - if (cmpType.Equals(ComparisionType.DCS)) + if (cmpType.Equals(ComparisonType.DCS)) { if (containerTypeAttribute.Equals(SerializationMechanism.DataContractAttribute)) { @@ -427,7 +427,7 @@ namespace SerializationTestTypes } } } - else if (cmpType.Equals(ComparisionType.POCO)) + else if (cmpType.Equals(ComparisonType.POCO)) { //Ignore member with [IgnoreDataMember] attribute on a POCO type if (property.GetCustomAttributes(typeof(IgnoreDataMemberAttribute), false).Length == 0) @@ -488,12 +488,12 @@ namespace SerializationTestTypes return complexType; } - private static void CompareFields(object originalData, object deserializedData, SerializationMechanism containerTypeAttribute, ComparisionType cmpType) + private static void CompareFields(object originalData, object deserializedData, SerializationMechanism containerTypeAttribute, ComparisonType cmpType) { //Compare fields //Non-public members are not serialized for POCO types BindingFlags flag = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static; - if (cmpType.Equals(ComparisionType.DCS)) + if (cmpType.Equals(ComparisonType.DCS)) { flag = flag | BindingFlags.NonPublic; } @@ -502,7 +502,7 @@ namespace SerializationTestTypes { object newData = field.GetValue(originalData); SerializationMechanism fieldAttribute = GetSerializationMechanism(newData); - if (cmpType.Equals(ComparisionType.DCS)) + if (cmpType.Equals(ComparisonType.DCS)) { if (containerTypeAttribute.Equals(SerializationMechanism.DataContractAttribute)) { @@ -539,7 +539,7 @@ namespace SerializationTestTypes } } } - else if (cmpType.Equals(ComparisionType.POCO)) + else if (cmpType.Equals(ComparisonType.POCO)) { //ReadOnly fields should be ignored for POCO type //Ignore member with [IgnoreDataMember] attribute on a POCO type diff --git a/src/libraries/System.Runtime/tests/System/ArrayTests.cs b/src/libraries/System.Runtime/tests/System/ArrayTests.cs index 4648ed9ed83..c079d463b3a 100644 --- a/src/libraries/System.Runtime/tests/System/ArrayTests.cs +++ b/src/libraries/System.Runtime/tests/System/ArrayTests.cs @@ -1609,7 +1609,7 @@ namespace System.Tests } } - public static IEnumerable Copy_UnreliableCoversion_CantPerform_TestData() + public static IEnumerable Copy_UnreliableConversion_CantPerform_TestData() { yield return new object[] { new object[] { "1" }, new int[1] }; @@ -1633,8 +1633,8 @@ namespace System.Tests } [Theory] - [MemberData(nameof(Copy_UnreliableCoversion_CantPerform_TestData))] - public static void Copy_UnreliableConverson_CantPerform_ThrowsInvalidCastException(Array sourceArray, Array destinationArray) + [MemberData(nameof(Copy_UnreliableConversion_CantPerform_TestData))] + public static void Copy_UnreliableConversion_CantPerform_ThrowsInvalidCastException(Array sourceArray, Array destinationArray) { int length = Math.Min(sourceArray.Length, destinationArray.Length); Assert.Throws(() => Array.Copy(sourceArray, destinationArray, length)); @@ -1651,7 +1651,7 @@ namespace System.Tests } [Theory] - [MemberData(nameof(Copy_UnreliableCoversion_CantPerform_TestData))] + [MemberData(nameof(Copy_UnreliableConversion_CantPerform_TestData))] public static void ConstrainedCopy_UnreliableConversion_CantPerform_ThrowsArrayTypeMismatchException(Array sourceArray, Array destinationArray) { int length = Math.Min(sourceArray.Length, destinationArray.Length); diff --git a/src/libraries/System.Runtime/tests/System/StringTests.cs b/src/libraries/System.Runtime/tests/System/StringTests.cs index dd9c7c59f40..6f886c6d5a9 100644 --- a/src/libraries/System.Runtime/tests/System/StringTests.cs +++ b/src/libraries/System.Runtime/tests/System/StringTests.cs @@ -215,9 +215,9 @@ namespace System.Tests [InlineData("Hello", 'e', StringComparison.OrdinalIgnoreCase, true)] [InlineData("Hello", 'E', StringComparison.OrdinalIgnoreCase, true)] [InlineData("", 'H', StringComparison.OrdinalIgnoreCase, false)] - public static void Contains_Char_StringComparison(string s, char value, StringComparison comparisionType, bool expected) + public static void Contains_Char_StringComparison(string s, char value, StringComparison comparisonType, bool expected) { - Assert.Equal(expected, s.Contains(value, comparisionType)); + Assert.Equal(expected, s.Contains(value, comparisonType)); } public static IEnumerable Contains_String_StringComparison_TestData() diff --git a/src/libraries/System.Security.Cryptography.Cose/tests/CoseMessageTests.Sign.CustomHeaderMaps.cs b/src/libraries/System.Security.Cryptography.Cose/tests/CoseMessageTests.Sign.CustomHeaderMaps.cs index e62aaa46b78..3ce9483edd4 100644 --- a/src/libraries/System.Security.Cryptography.Cose/tests/CoseMessageTests.Sign.CustomHeaderMaps.cs +++ b/src/libraries/System.Security.Cryptography.Cose/tests/CoseMessageTests.Sign.CustomHeaderMaps.cs @@ -27,7 +27,7 @@ namespace System.Security.Cryptography.Cose.Tests => Sign(content, GetCoseSigner(key, hashAlgorithm, protectedHeaders, unprotectedHeaders, padding), null, null, null, isDetached); // Returns the map that is set in CoseSigner and used for Signing. - // For sign1, it returns one of the the body header maps. + // For sign1, it returns one of the body header maps. // For multisign, it returns one of the sign header maps. internal abstract CoseHeaderMap GetSigningHeaderMap(CoseMessage msg, bool getProtectedMap); diff --git a/src/libraries/System.Text.Json/src/System/Text/Json/Serialization/Metadata/JsonPropertyInfo.cs b/src/libraries/System.Text.Json/src/System/Text/Json/Serialization/Metadata/JsonPropertyInfo.cs index 70ab2700449..a90f080f7dc 100644 --- a/src/libraries/System.Text.Json/src/System/Text/Json/Serialization/Metadata/JsonPropertyInfo.cs +++ b/src/libraries/System.Text.Json/src/System/Text/Json/Serialization/Metadata/JsonPropertyInfo.cs @@ -581,7 +581,7 @@ namespace System.Text.Json.Serialization.Metadata // There are 3 copies of the property name: // 1) Name. The unescaped property name. // 2) NameAsUtf8Bytes. The Utf8 version of Name. Used during during deserialization for property lookup. - // 3) EscapedNameSection. The escaped verson of NameAsUtf8Bytes plus the wrapping quotes and a trailing colon. Used during serialization. + // 3) EscapedNameSection. The escaped version of NameAsUtf8Bytes plus the wrapping quotes and a trailing colon. Used during serialization. /// /// Gets or sets the JSON property name used when serializing the property. diff --git a/src/libraries/apicompat/ApiCompat.proj b/src/libraries/apicompat/ApiCompat.proj index 42d5208aa42..d012f2da5fb 100644 --- a/src/libraries/apicompat/ApiCompat.proj +++ b/src/libraries/apicompat/ApiCompat.proj @@ -19,7 +19,7 @@ - + - + table 0x%02x row 0x%08x", token, table, return_val); return return_val; } else { - /* Otherwise we stopped either: because we saw an an entry for a row after + /* Otherwise we stopped either: because we saw an entry for a row after * the one we wanted - we were looking for a modification, but the encmap * has an addition; or, because we saw the last entry in the encmap and it * still wasn't for a row as high as the one we wanted. either way, the diff --git a/src/mono/mono/tests/libtest.c b/src/mono/mono/tests/libtest.c index 425d983666b..46f9ad5985c 100644 --- a/src/mono/mono/tests/libtest.c +++ b/src/mono/mono/tests/libtest.c @@ -7803,7 +7803,7 @@ TestStructWithUtf8Field(struct FieldWithUtf8 fieldStruct) pszNative = (char*)utf8Strings[stringIndex]; outLen = strlen(pszNative); - // do byte by byte comparision + // do byte by byte comparison for (size_t i = 0; i < outLen; i++) { if (pszNative[i] != pszManagedutf8[i]) diff --git a/src/mono/mono/utils/dlmalloc.c b/src/mono/mono/utils/dlmalloc.c index 5ec4f6b2926..48da5b15ea5 100644 --- a/src/mono/mono/utils/dlmalloc.c +++ b/src/mono/mono/utils/dlmalloc.c @@ -1789,7 +1789,7 @@ nextchunk-> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ of the same size are arranged in a circularly-linked list, with only the oldest chunk (the next to be used, in our FIFO ordering) actually in the tree. (Tree members are distinguished by a non-null - parent pointer.) If a chunk with the same size an an existing node + parent pointer.) If a chunk with the same size an existing node is inserted, it is linked off the existing node using pointers that work in the same way as fd/bk pointers of small chunks. diff --git a/src/mono/wasm/debugger/BrowserDebugProxy/EvaluateExpression.cs b/src/mono/wasm/debugger/BrowserDebugProxy/EvaluateExpression.cs index 159cb3ec5e2..c0fee6a7609 100644 --- a/src/mono/wasm/debugger/BrowserDebugProxy/EvaluateExpression.cs +++ b/src/mono/wasm/debugger/BrowserDebugProxy/EvaluateExpression.cs @@ -344,8 +344,8 @@ namespace Microsoft.WebAssembly.Diagnostics { /* Instead of invoking the method on the primitive type in the runtime, - we emit a local for the primitive, and emit the the method call - itself in the script. For example: + we emit a local for the primitive, and emit the method call itself + in the script. For example: double test_propUlong_2c64c = 12; return (test_propUlong_2c64c.ToString()); */ diff --git a/src/tests/Interop/StringMarshalling/UTF8/UTF8TestNative.cpp b/src/tests/Interop/StringMarshalling/UTF8/UTF8TestNative.cpp index 8aa0821e67f..bf50373737b 100644 --- a/src/tests/Interop/StringMarshalling/UTF8/UTF8TestNative.cpp +++ b/src/tests/Interop/StringMarshalling/UTF8/UTF8TestNative.cpp @@ -33,10 +33,10 @@ char* utf16_to_utf8(const wchar_t *srcstring) char *pszUTF8 = (char*)CoreClrAlloc(sizeof(char) * (cbUTF8 + 1)); int nc = WideCharToMultiByte(CP_UTF8, // convert to UTF-8 - 0, //default flags + 0, //default flags srcstring, //source wide string (int)cchUTF16, // length of wide string - pszUTF8, // destination buffer + pszUTF8, // destination buffer cbUTF8, // destination buffer size NULL, NULL); @@ -116,7 +116,7 @@ char *get_utf8_string(int index) { void free_utf8_string(char *str) { - // do nothing , we never allocated the temp buffer on non-windows + // do nothing , we never allocated the temp buffer on non-windows } #endif @@ -137,7 +137,7 @@ LPSTR build_return_string(const char* pReturn) // Modify the string builder in place, managed side validates. extern "C" DLL_EXPORT void __cdecl StringBuilderParameterInOut(/*[In,Out] StringBuilder*/ char *s, int index) { - // if string.empty + // if string.empty if (s == 0 || *s == 0) return; @@ -145,16 +145,16 @@ extern "C" DLL_EXPORT void __cdecl StringBuilderParameterInOut(/*[In,Out] String // do byte by byte validation of in string size_t szLen = strlen(s); - for (size_t i = 0; i < szLen; i++) + for (size_t i = 0; i < szLen; i++) { if (s[i] != pszTextutf8[i]) { printf("[in] managed string do not match native string\n"); throw; } - } + } - // modify the string inplace + // modify the string inplace size_t outLen = strlen(pszTextutf8); for (size_t i = 0; i < outLen; i++) { s[i] = pszTextutf8[i]; @@ -167,7 +167,7 @@ extern "C" DLL_EXPORT void __cdecl StringBuilderParameterInOut(/*[In,Out] String extern "C" DLL_EXPORT void __cdecl StringBuilderParameterOut(/*[Out] StringBuilder*/ char *s, int index) { char *pszTextutf8 = get_utf8_string(index); - // modify the string inplace + // modify the string inplace size_t outLen = strlen(pszTextutf8); for (size_t i = 0; i < outLen; i++) { s[i] = pszTextutf8[i]; @@ -177,7 +177,7 @@ extern "C" DLL_EXPORT void __cdecl StringBuilderParameterOut(/*[Out] StringBuil } // return utf8 stringbuilder -extern "C" DLL_EXPORT char* __cdecl StringBuilderParameterReturn(int index) +extern "C" DLL_EXPORT char* __cdecl StringBuilderParameterReturn(int index) { char *pszTextutf8 = get_utf8_string(index); size_t strLength = strlen(pszTextutf8); @@ -194,7 +194,7 @@ extern "C" DLL_EXPORT LPSTR __cdecl StringParameterOut(/*[Out]*/ char *s, int in return build_return_string(s); } -// string +// string extern "C" DLL_EXPORT LPSTR __cdecl StringParameterInOut(/*[In,Out]*/ char *s, int index) { // return a copy @@ -221,10 +221,10 @@ extern "C" DLL_EXPORT void __cdecl TestStructWithUtf8Field(struct FieldWithUtf8 pszNative = get_utf8_string(stringIndex); outLen = strlen(pszNative); - // do byte by byte comparision - for (size_t i = 0; i < outLen; i++) + // do byte by byte comparison + for (size_t i = 0; i < outLen; i++) { - if (pszNative[i] != pszManagedutf8[i]) + if (pszNative[i] != pszManagedutf8[i]) { printf("Native and managed string do not match.\n"); throw; @@ -274,7 +274,7 @@ extern "C" DLL_EXPORT void __cdecl StringParameterRef(/*ref*/ char **s, int inde { CoreClrFree(*s); } - // overwrite the orginal + // overwrite the orginal *s = (LPSTR)(CoreClrAlloc(sizeof(char)* (strLength + 1))); memcpy(*s, pszTextutf8, strLength); (*s)[strLength] = '\0'; @@ -285,8 +285,8 @@ extern "C" DLL_EXPORT void __cdecl StringParameterRef(/*ref*/ char **s, int inde typedef void (__cdecl * Callback)(char *text, int index); extern "C" DLL_EXPORT void __cdecl Utf8DelegateAsParameter(Callback managedCallback) { - for (int i = 0; i < NSTRINGS; ++i) - { + for (int i = 0; i < NSTRINGS; ++i) + { char *pszNative = get_utf8_string(i); managedCallback(pszNative, i); free_utf8_string(pszNative); diff --git a/src/tests/JIT/Directed/ConstantFolding/value_numbering_checked_integer_arithemtic_with_constants.cs b/src/tests/JIT/Directed/ConstantFolding/value_numbering_checked_integer_arithemtic_with_constants.cs index 98b3666571e..e29eda9900b 100644 --- a/src/tests/JIT/Directed/ConstantFolding/value_numbering_checked_integer_arithemtic_with_constants.cs +++ b/src/tests/JIT/Directed/ConstantFolding/value_numbering_checked_integer_arithemtic_with_constants.cs @@ -42,13 +42,13 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(value + zero) != value) { - Console.WriteLine($"Addition identity for int 'checked(value + zero)' was evaluted to '{checked(value + zero)}'. Expected: '{value}'."); + Console.WriteLine($"Addition identity for int 'checked(value + zero)' was evaluated to '{checked(value + zero)}'. Expected: '{value}'."); _counter++; } if (checked(zero + value) != value) { - Console.WriteLine($"Addition identity for int 'checked(zero + value)' was evaluted to '{checked(zero + value)}'. Expected: '{value}'."); + Console.WriteLine($"Addition identity for int 'checked(zero + value)' was evaluated to '{checked(zero + value)}'. Expected: '{value}'."); _counter++; } } @@ -63,13 +63,13 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(value - zero) != value) { - Console.WriteLine($"Subtraction identity for int 'checked(value - zero)' was evaluted to '{checked(value - zero)}'. Expected: '{value}'."); + Console.WriteLine($"Subtraction identity for int 'checked(value - zero)' was evaluated to '{checked(value - zero)}'. Expected: '{value}'."); _counter++; } if (checked(value - value) != 0) { - Console.WriteLine($"Subtraction identity for int 'checked(value - value)' was evaluted to '{checked(value - value)}'. Expected: '{0}'."); + Console.WriteLine($"Subtraction identity for int 'checked(value - value)' was evaluated to '{checked(value - value)}'. Expected: '{0}'."); _counter++; } } @@ -85,25 +85,25 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(value * zero) != 0) { - Console.WriteLine($"Multiplication identity for int 'checked(value * zero)' was evaluted to '{checked(value * zero)}'. Expected: '{0}'."); + Console.WriteLine($"Multiplication identity for int 'checked(value * zero)' was evaluated to '{checked(value * zero)}'. Expected: '{0}'."); _counter++; } if (checked(zero * value) != 0) { - Console.WriteLine($"Multiplication identity for int 'checked(zero * value)' was evaluted to '{checked(zero * value)}'. Expected: '{0}'."); + Console.WriteLine($"Multiplication identity for int 'checked(zero * value)' was evaluated to '{checked(zero * value)}'. Expected: '{0}'."); _counter++; } if (checked(value * one) != value) { - Console.WriteLine($"Multiplication identity for int 'checked(value * one)' was evaluted to '{checked(value * one)}'. Expected: '{value}'."); + Console.WriteLine($"Multiplication identity for int 'checked(value * one)' was evaluated to '{checked(value * one)}'. Expected: '{value}'."); _counter++; } if (checked(one * value) != value) { - Console.WriteLine($"Multiplication identity for int 'checked(one * value)' was evaluted to '{checked(one * value)}'. Expected: '{value}'."); + Console.WriteLine($"Multiplication identity for int 'checked(one * value)' was evaluated to '{checked(one * value)}'. Expected: '{value}'."); _counter++; } } @@ -166,7 +166,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(min + zero) != int.MinValue + 0) { - Console.WriteLine($"'checked(min + zero)' was evaluted to '{checked(min + zero)}'. Expected: '{int.MinValue + 0}'."); + Console.WriteLine($"'checked(min + zero)' was evaluated to '{checked(min + zero)}'. Expected: '{int.MinValue + 0}'."); _counter++; } } @@ -182,7 +182,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(min + one) != int.MinValue + 1) { - Console.WriteLine($"'checked(min + one)' was evaluted to '{checked(min + one)}'. Expected: '{int.MinValue + 1}'."); + Console.WriteLine($"'checked(min + one)' was evaluated to '{checked(min + one)}'. Expected: '{int.MinValue + 1}'."); _counter++; } } @@ -198,7 +198,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(min + half) != int.MinValue + int.MaxValue / 2) { - Console.WriteLine($"'checked(min + half)' was evaluted to '{checked(min + half)}'. Expected: '{int.MinValue + int.MaxValue / 2}'."); + Console.WriteLine($"'checked(min + half)' was evaluated to '{checked(min + half)}'. Expected: '{int.MinValue + int.MaxValue / 2}'."); _counter++; } } @@ -214,7 +214,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(min + max) != int.MinValue + int.MaxValue) { - Console.WriteLine($"'checked(min + max)' was evaluted to '{checked(min + max)}'. Expected: '{int.MinValue + int.MaxValue}'."); + Console.WriteLine($"'checked(min + max)' was evaluated to '{checked(min + max)}'. Expected: '{int.MinValue + int.MaxValue}'."); _counter++; } } @@ -245,7 +245,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(minusHalf + minusHalf) != int.MinValue / 2 + int.MinValue / 2) { - Console.WriteLine($"'checked(minusHalf + minusHalf)' was evaluted to '{checked(minusHalf + minusHalf)}'. Expected: '{int.MinValue / 2 + int.MinValue / 2}'."); + Console.WriteLine($"'checked(minusHalf + minusHalf)' was evaluated to '{checked(minusHalf + minusHalf)}'. Expected: '{int.MinValue / 2 + int.MinValue / 2}'."); _counter++; } } @@ -261,7 +261,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(minusHalf + minusOne) != int.MinValue / 2 + -1) { - Console.WriteLine($"'checked(minusHalf + minusOne)' was evaluted to '{checked(minusHalf + minusOne)}'. Expected: '{int.MinValue / 2 + -1}'."); + Console.WriteLine($"'checked(minusHalf + minusOne)' was evaluated to '{checked(minusHalf + minusOne)}'. Expected: '{int.MinValue / 2 + -1}'."); _counter++; } } @@ -277,7 +277,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(minusHalf + zero) != int.MinValue / 2 + 0) { - Console.WriteLine($"'checked(minusHalf + zero)' was evaluted to '{checked(minusHalf + zero)}'. Expected: '{int.MinValue / 2 + 0}'."); + Console.WriteLine($"'checked(minusHalf + zero)' was evaluated to '{checked(minusHalf + zero)}'. Expected: '{int.MinValue / 2 + 0}'."); _counter++; } } @@ -293,7 +293,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(minusHalf + one) != int.MinValue / 2 + 1) { - Console.WriteLine($"'checked(minusHalf + one)' was evaluted to '{checked(minusHalf + one)}'. Expected: '{int.MinValue / 2 + 1}'."); + Console.WriteLine($"'checked(minusHalf + one)' was evaluated to '{checked(minusHalf + one)}'. Expected: '{int.MinValue / 2 + 1}'."); _counter++; } } @@ -309,7 +309,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(minusHalf + half) != int.MinValue / 2 + int.MaxValue / 2) { - Console.WriteLine($"'checked(minusHalf + half)' was evaluted to '{checked(minusHalf + half)}'. Expected: '{int.MinValue / 2 + int.MaxValue / 2}'."); + Console.WriteLine($"'checked(minusHalf + half)' was evaluated to '{checked(minusHalf + half)}'. Expected: '{int.MinValue / 2 + int.MaxValue / 2}'."); _counter++; } } @@ -325,7 +325,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(minusHalf + max) != int.MinValue / 2 + int.MaxValue) { - Console.WriteLine($"'checked(minusHalf + max)' was evaluted to '{checked(minusHalf + max)}'. Expected: '{int.MinValue / 2 + int.MaxValue}'."); + Console.WriteLine($"'checked(minusHalf + max)' was evaluated to '{checked(minusHalf + max)}'. Expected: '{int.MinValue / 2 + int.MaxValue}'."); _counter++; } } @@ -357,7 +357,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(minusOne + minusHalf) != -1 + int.MinValue / 2) { - Console.WriteLine($"'checked(minusOne + minusHalf)' was evaluted to '{checked(minusOne + minusHalf)}'. Expected: '{-1 + int.MinValue / 2}'."); + Console.WriteLine($"'checked(minusOne + minusHalf)' was evaluated to '{checked(minusOne + minusHalf)}'. Expected: '{-1 + int.MinValue / 2}'."); _counter++; } } @@ -372,7 +372,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(minusOne + minusOne) != -1 + -1) { - Console.WriteLine($"'checked(minusOne + minusOne)' was evaluted to '{checked(minusOne + minusOne)}'. Expected: '{-1 + -1}'."); + Console.WriteLine($"'checked(minusOne + minusOne)' was evaluated to '{checked(minusOne + minusOne)}'. Expected: '{-1 + -1}'."); _counter++; } } @@ -388,7 +388,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(minusOne + zero) != -1 + 0) { - Console.WriteLine($"'checked(minusOne + zero)' was evaluted to '{checked(minusOne + zero)}'. Expected: '{-1 + 0}'."); + Console.WriteLine($"'checked(minusOne + zero)' was evaluated to '{checked(minusOne + zero)}'. Expected: '{-1 + 0}'."); _counter++; } } @@ -404,7 +404,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(minusOne + one) != -1 + 1) { - Console.WriteLine($"'checked(minusOne + one)' was evaluted to '{checked(minusOne + one)}'. Expected: '{-1 + 1}'."); + Console.WriteLine($"'checked(minusOne + one)' was evaluated to '{checked(minusOne + one)}'. Expected: '{-1 + 1}'."); _counter++; } } @@ -420,7 +420,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(minusOne + half) != -1 + int.MaxValue / 2) { - Console.WriteLine($"'checked(minusOne + half)' was evaluted to '{checked(minusOne + half)}'. Expected: '{-1 + int.MaxValue / 2}'."); + Console.WriteLine($"'checked(minusOne + half)' was evaluated to '{checked(minusOne + half)}'. Expected: '{-1 + int.MaxValue / 2}'."); _counter++; } } @@ -436,7 +436,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(minusOne + max) != -1 + int.MaxValue) { - Console.WriteLine($"'checked(minusOne + max)' was evaluted to '{checked(minusOne + max)}'. Expected: '{-1 + int.MaxValue}'."); + Console.WriteLine($"'checked(minusOne + max)' was evaluated to '{checked(minusOne + max)}'. Expected: '{-1 + int.MaxValue}'."); _counter++; } } @@ -452,7 +452,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(zero + min) != 0 + int.MinValue) { - Console.WriteLine($"'checked(zero + min)' was evaluted to '{checked(zero + min)}'. Expected: '{0 + int.MinValue}'."); + Console.WriteLine($"'checked(zero + min)' was evaluated to '{checked(zero + min)}'. Expected: '{0 + int.MinValue}'."); _counter++; } } @@ -468,7 +468,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(zero + minusHalf) != 0 + int.MinValue / 2) { - Console.WriteLine($"'checked(zero + minusHalf)' was evaluted to '{checked(zero + minusHalf)}'. Expected: '{0 + int.MinValue / 2}'."); + Console.WriteLine($"'checked(zero + minusHalf)' was evaluated to '{checked(zero + minusHalf)}'. Expected: '{0 + int.MinValue / 2}'."); _counter++; } } @@ -484,7 +484,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(zero + minusOne) != 0 + -1) { - Console.WriteLine($"'checked(zero + minusOne)' was evaluted to '{checked(zero + minusOne)}'. Expected: '{0 + -1}'."); + Console.WriteLine($"'checked(zero + minusOne)' was evaluated to '{checked(zero + minusOne)}'. Expected: '{0 + -1}'."); _counter++; } } @@ -499,7 +499,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(zero + zero) != 0 + 0) { - Console.WriteLine($"'checked(zero + zero)' was evaluted to '{checked(zero + zero)}'. Expected: '{0 + 0}'."); + Console.WriteLine($"'checked(zero + zero)' was evaluated to '{checked(zero + zero)}'. Expected: '{0 + 0}'."); _counter++; } } @@ -515,7 +515,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(zero + one) != 0 + 1) { - Console.WriteLine($"'checked(zero + one)' was evaluted to '{checked(zero + one)}'. Expected: '{0 + 1}'."); + Console.WriteLine($"'checked(zero + one)' was evaluated to '{checked(zero + one)}'. Expected: '{0 + 1}'."); _counter++; } } @@ -531,7 +531,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(zero + half) != 0 + int.MaxValue / 2) { - Console.WriteLine($"'checked(zero + half)' was evaluted to '{checked(zero + half)}'. Expected: '{0 + int.MaxValue / 2}'."); + Console.WriteLine($"'checked(zero + half)' was evaluated to '{checked(zero + half)}'. Expected: '{0 + int.MaxValue / 2}'."); _counter++; } } @@ -547,7 +547,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(zero + max) != 0 + int.MaxValue) { - Console.WriteLine($"'checked(zero + max)' was evaluted to '{checked(zero + max)}'. Expected: '{0 + int.MaxValue}'."); + Console.WriteLine($"'checked(zero + max)' was evaluated to '{checked(zero + max)}'. Expected: '{0 + int.MaxValue}'."); _counter++; } } @@ -563,7 +563,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(one + min) != 1 + int.MinValue) { - Console.WriteLine($"'checked(one + min)' was evaluted to '{checked(one + min)}'. Expected: '{1 + int.MinValue}'."); + Console.WriteLine($"'checked(one + min)' was evaluated to '{checked(one + min)}'. Expected: '{1 + int.MinValue}'."); _counter++; } } @@ -579,7 +579,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(one + minusHalf) != 1 + int.MinValue / 2) { - Console.WriteLine($"'checked(one + minusHalf)' was evaluted to '{checked(one + minusHalf)}'. Expected: '{1 + int.MinValue / 2}'."); + Console.WriteLine($"'checked(one + minusHalf)' was evaluated to '{checked(one + minusHalf)}'. Expected: '{1 + int.MinValue / 2}'."); _counter++; } } @@ -595,7 +595,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(one + minusOne) != 1 + -1) { - Console.WriteLine($"'checked(one + minusOne)' was evaluted to '{checked(one + minusOne)}'. Expected: '{1 + -1}'."); + Console.WriteLine($"'checked(one + minusOne)' was evaluated to '{checked(one + minusOne)}'. Expected: '{1 + -1}'."); _counter++; } } @@ -611,7 +611,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(one + zero) != 1 + 0) { - Console.WriteLine($"'checked(one + zero)' was evaluted to '{checked(one + zero)}'. Expected: '{1 + 0}'."); + Console.WriteLine($"'checked(one + zero)' was evaluated to '{checked(one + zero)}'. Expected: '{1 + 0}'."); _counter++; } } @@ -626,7 +626,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(one + one) != 1 + 1) { - Console.WriteLine($"'checked(one + one)' was evaluted to '{checked(one + one)}'. Expected: '{1 + 1}'."); + Console.WriteLine($"'checked(one + one)' was evaluated to '{checked(one + one)}'. Expected: '{1 + 1}'."); _counter++; } } @@ -642,7 +642,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(one + half) != 1 + int.MaxValue / 2) { - Console.WriteLine($"'checked(one + half)' was evaluted to '{checked(one + half)}'. Expected: '{1 + int.MaxValue / 2}'."); + Console.WriteLine($"'checked(one + half)' was evaluated to '{checked(one + half)}'. Expected: '{1 + int.MaxValue / 2}'."); _counter++; } } @@ -674,7 +674,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(half + min) != int.MaxValue / 2 + int.MinValue) { - Console.WriteLine($"'checked(half + min)' was evaluted to '{checked(half + min)}'. Expected: '{int.MaxValue / 2 + int.MinValue}'."); + Console.WriteLine($"'checked(half + min)' was evaluated to '{checked(half + min)}'. Expected: '{int.MaxValue / 2 + int.MinValue}'."); _counter++; } } @@ -690,7 +690,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(half + minusHalf) != int.MaxValue / 2 + int.MinValue / 2) { - Console.WriteLine($"'checked(half + minusHalf)' was evaluted to '{checked(half + minusHalf)}'. Expected: '{int.MaxValue / 2 + int.MinValue / 2}'."); + Console.WriteLine($"'checked(half + minusHalf)' was evaluated to '{checked(half + minusHalf)}'. Expected: '{int.MaxValue / 2 + int.MinValue / 2}'."); _counter++; } } @@ -706,7 +706,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(half + minusOne) != int.MaxValue / 2 + -1) { - Console.WriteLine($"'checked(half + minusOne)' was evaluted to '{checked(half + minusOne)}'. Expected: '{int.MaxValue / 2 + -1}'."); + Console.WriteLine($"'checked(half + minusOne)' was evaluated to '{checked(half + minusOne)}'. Expected: '{int.MaxValue / 2 + -1}'."); _counter++; } } @@ -722,7 +722,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(half + zero) != int.MaxValue / 2 + 0) { - Console.WriteLine($"'checked(half + zero)' was evaluted to '{checked(half + zero)}'. Expected: '{int.MaxValue / 2 + 0}'."); + Console.WriteLine($"'checked(half + zero)' was evaluated to '{checked(half + zero)}'. Expected: '{int.MaxValue / 2 + 0}'."); _counter++; } } @@ -738,7 +738,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(half + one) != int.MaxValue / 2 + 1) { - Console.WriteLine($"'checked(half + one)' was evaluted to '{checked(half + one)}'. Expected: '{int.MaxValue / 2 + 1}'."); + Console.WriteLine($"'checked(half + one)' was evaluated to '{checked(half + one)}'. Expected: '{int.MaxValue / 2 + 1}'."); _counter++; } } @@ -753,7 +753,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(half + half) != int.MaxValue / 2 + int.MaxValue / 2) { - Console.WriteLine($"'checked(half + half)' was evaluted to '{checked(half + half)}'. Expected: '{int.MaxValue / 2 + int.MaxValue / 2}'."); + Console.WriteLine($"'checked(half + half)' was evaluated to '{checked(half + half)}'. Expected: '{int.MaxValue / 2 + int.MaxValue / 2}'."); _counter++; } } @@ -785,7 +785,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(max + min) != int.MaxValue + int.MinValue) { - Console.WriteLine($"'checked(max + min)' was evaluted to '{checked(max + min)}'. Expected: '{int.MaxValue + int.MinValue}'."); + Console.WriteLine($"'checked(max + min)' was evaluated to '{checked(max + min)}'. Expected: '{int.MaxValue + int.MinValue}'."); _counter++; } } @@ -801,7 +801,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(max + minusHalf) != int.MaxValue + int.MinValue / 2) { - Console.WriteLine($"'checked(max + minusHalf)' was evaluted to '{checked(max + minusHalf)}'. Expected: '{int.MaxValue + int.MinValue / 2}'."); + Console.WriteLine($"'checked(max + minusHalf)' was evaluated to '{checked(max + minusHalf)}'. Expected: '{int.MaxValue + int.MinValue / 2}'."); _counter++; } } @@ -817,7 +817,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(max + minusOne) != int.MaxValue + -1) { - Console.WriteLine($"'checked(max + minusOne)' was evaluted to '{checked(max + minusOne)}'. Expected: '{int.MaxValue + -1}'."); + Console.WriteLine($"'checked(max + minusOne)' was evaluated to '{checked(max + minusOne)}'. Expected: '{int.MaxValue + -1}'."); _counter++; } } @@ -833,7 +833,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(max + zero) != int.MaxValue + 0) { - Console.WriteLine($"'checked(max + zero)' was evaluted to '{checked(max + zero)}'. Expected: '{int.MaxValue + 0}'."); + Console.WriteLine($"'checked(max + zero)' was evaluated to '{checked(max + zero)}'. Expected: '{int.MaxValue + 0}'."); _counter++; } } @@ -896,7 +896,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(min - min) != int.MinValue - int.MinValue) { - Console.WriteLine($"'checked(min - min)' was evaluted to '{checked(min - min)}'. Expected: '{int.MinValue - int.MinValue}'."); + Console.WriteLine($"'checked(min - min)' was evaluated to '{checked(min - min)}'. Expected: '{int.MinValue - int.MinValue}'."); _counter++; } } @@ -912,7 +912,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(min - minusHalf) != int.MinValue - int.MinValue / 2) { - Console.WriteLine($"'checked(min - minusHalf)' was evaluted to '{checked(min - minusHalf)}'. Expected: '{int.MinValue - int.MinValue / 2}'."); + Console.WriteLine($"'checked(min - minusHalf)' was evaluated to '{checked(min - minusHalf)}'. Expected: '{int.MinValue - int.MinValue / 2}'."); _counter++; } } @@ -928,7 +928,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(min - minusOne) != int.MinValue - -1) { - Console.WriteLine($"'checked(min - minusOne)' was evaluted to '{checked(min - minusOne)}'. Expected: '{int.MinValue - -1}'."); + Console.WriteLine($"'checked(min - minusOne)' was evaluated to '{checked(min - minusOne)}'. Expected: '{int.MinValue - -1}'."); _counter++; } } @@ -944,7 +944,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(min - zero) != int.MinValue - 0) { - Console.WriteLine($"'checked(min - zero)' was evaluted to '{checked(min - zero)}'. Expected: '{int.MinValue - 0}'."); + Console.WriteLine($"'checked(min - zero)' was evaluated to '{checked(min - zero)}'. Expected: '{int.MinValue - 0}'."); _counter++; } } @@ -1008,7 +1008,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(minusHalf - min) != int.MinValue / 2 - int.MinValue) { - Console.WriteLine($"'checked(minusHalf - min)' was evaluted to '{checked(minusHalf - min)}'. Expected: '{int.MinValue / 2 - int.MinValue}'."); + Console.WriteLine($"'checked(minusHalf - min)' was evaluated to '{checked(minusHalf - min)}'. Expected: '{int.MinValue / 2 - int.MinValue}'."); _counter++; } } @@ -1023,7 +1023,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(minusHalf - minusHalf) != int.MinValue / 2 - int.MinValue / 2) { - Console.WriteLine($"'checked(minusHalf - minusHalf)' was evaluted to '{checked(minusHalf - minusHalf)}'. Expected: '{int.MinValue / 2 - int.MinValue / 2}'."); + Console.WriteLine($"'checked(minusHalf - minusHalf)' was evaluated to '{checked(minusHalf - minusHalf)}'. Expected: '{int.MinValue / 2 - int.MinValue / 2}'."); _counter++; } } @@ -1039,7 +1039,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(minusHalf - minusOne) != int.MinValue / 2 - -1) { - Console.WriteLine($"'checked(minusHalf - minusOne)' was evaluted to '{checked(minusHalf - minusOne)}'. Expected: '{int.MinValue / 2 - -1}'."); + Console.WriteLine($"'checked(minusHalf - minusOne)' was evaluated to '{checked(minusHalf - minusOne)}'. Expected: '{int.MinValue / 2 - -1}'."); _counter++; } } @@ -1055,7 +1055,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(minusHalf - zero) != int.MinValue / 2 - 0) { - Console.WriteLine($"'checked(minusHalf - zero)' was evaluted to '{checked(minusHalf - zero)}'. Expected: '{int.MinValue / 2 - 0}'."); + Console.WriteLine($"'checked(minusHalf - zero)' was evaluated to '{checked(minusHalf - zero)}'. Expected: '{int.MinValue / 2 - 0}'."); _counter++; } } @@ -1071,7 +1071,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(minusHalf - one) != int.MinValue / 2 - 1) { - Console.WriteLine($"'checked(minusHalf - one)' was evaluted to '{checked(minusHalf - one)}'. Expected: '{int.MinValue / 2 - 1}'."); + Console.WriteLine($"'checked(minusHalf - one)' was evaluated to '{checked(minusHalf - one)}'. Expected: '{int.MinValue / 2 - 1}'."); _counter++; } } @@ -1087,7 +1087,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(minusHalf - half) != int.MinValue / 2 - int.MaxValue / 2) { - Console.WriteLine($"'checked(minusHalf - half)' was evaluted to '{checked(minusHalf - half)}'. Expected: '{int.MinValue / 2 - int.MaxValue / 2}'."); + Console.WriteLine($"'checked(minusHalf - half)' was evaluated to '{checked(minusHalf - half)}'. Expected: '{int.MinValue / 2 - int.MaxValue / 2}'."); _counter++; } } @@ -1119,7 +1119,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(minusOne - min) != -1 - int.MinValue) { - Console.WriteLine($"'checked(minusOne - min)' was evaluted to '{checked(minusOne - min)}'. Expected: '{-1 - int.MinValue}'."); + Console.WriteLine($"'checked(minusOne - min)' was evaluated to '{checked(minusOne - min)}'. Expected: '{-1 - int.MinValue}'."); _counter++; } } @@ -1135,7 +1135,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(minusOne - minusHalf) != -1 - int.MinValue / 2) { - Console.WriteLine($"'checked(minusOne - minusHalf)' was evaluted to '{checked(minusOne - minusHalf)}'. Expected: '{-1 - int.MinValue / 2}'."); + Console.WriteLine($"'checked(minusOne - minusHalf)' was evaluated to '{checked(minusOne - minusHalf)}'. Expected: '{-1 - int.MinValue / 2}'."); _counter++; } } @@ -1150,7 +1150,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(minusOne - minusOne) != -1 - -1) { - Console.WriteLine($"'checked(minusOne - minusOne)' was evaluted to '{checked(minusOne - minusOne)}'. Expected: '{-1 - -1}'."); + Console.WriteLine($"'checked(minusOne - minusOne)' was evaluated to '{checked(minusOne - minusOne)}'. Expected: '{-1 - -1}'."); _counter++; } } @@ -1166,7 +1166,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(minusOne - zero) != -1 - 0) { - Console.WriteLine($"'checked(minusOne - zero)' was evaluted to '{checked(minusOne - zero)}'. Expected: '{-1 - 0}'."); + Console.WriteLine($"'checked(minusOne - zero)' was evaluated to '{checked(minusOne - zero)}'. Expected: '{-1 - 0}'."); _counter++; } } @@ -1182,7 +1182,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(minusOne - one) != -1 - 1) { - Console.WriteLine($"'checked(minusOne - one)' was evaluted to '{checked(minusOne - one)}'. Expected: '{-1 - 1}'."); + Console.WriteLine($"'checked(minusOne - one)' was evaluated to '{checked(minusOne - one)}'. Expected: '{-1 - 1}'."); _counter++; } } @@ -1198,7 +1198,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(minusOne - half) != -1 - int.MaxValue / 2) { - Console.WriteLine($"'checked(minusOne - half)' was evaluted to '{checked(minusOne - half)}'. Expected: '{-1 - int.MaxValue / 2}'."); + Console.WriteLine($"'checked(minusOne - half)' was evaluated to '{checked(minusOne - half)}'. Expected: '{-1 - int.MaxValue / 2}'."); _counter++; } } @@ -1214,7 +1214,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(minusOne - max) != -1 - int.MaxValue) { - Console.WriteLine($"'checked(minusOne - max)' was evaluted to '{checked(minusOne - max)}'. Expected: '{-1 - int.MaxValue}'."); + Console.WriteLine($"'checked(minusOne - max)' was evaluated to '{checked(minusOne - max)}'. Expected: '{-1 - int.MaxValue}'."); _counter++; } } @@ -1246,7 +1246,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(zero - minusHalf) != 0 - int.MinValue / 2) { - Console.WriteLine($"'checked(zero - minusHalf)' was evaluted to '{checked(zero - minusHalf)}'. Expected: '{0 - int.MinValue / 2}'."); + Console.WriteLine($"'checked(zero - minusHalf)' was evaluated to '{checked(zero - minusHalf)}'. Expected: '{0 - int.MinValue / 2}'."); _counter++; } } @@ -1262,7 +1262,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(zero - minusOne) != 0 - -1) { - Console.WriteLine($"'checked(zero - minusOne)' was evaluted to '{checked(zero - minusOne)}'. Expected: '{0 - -1}'."); + Console.WriteLine($"'checked(zero - minusOne)' was evaluated to '{checked(zero - minusOne)}'. Expected: '{0 - -1}'."); _counter++; } } @@ -1277,7 +1277,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(zero - zero) != 0 - 0) { - Console.WriteLine($"'checked(zero - zero)' was evaluted to '{checked(zero - zero)}'. Expected: '{0 - 0}'."); + Console.WriteLine($"'checked(zero - zero)' was evaluated to '{checked(zero - zero)}'. Expected: '{0 - 0}'."); _counter++; } } @@ -1293,7 +1293,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(zero - one) != 0 - 1) { - Console.WriteLine($"'checked(zero - one)' was evaluted to '{checked(zero - one)}'. Expected: '{0 - 1}'."); + Console.WriteLine($"'checked(zero - one)' was evaluated to '{checked(zero - one)}'. Expected: '{0 - 1}'."); _counter++; } } @@ -1309,7 +1309,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(zero - half) != 0 - int.MaxValue / 2) { - Console.WriteLine($"'checked(zero - half)' was evaluted to '{checked(zero - half)}'. Expected: '{0 - int.MaxValue / 2}'."); + Console.WriteLine($"'checked(zero - half)' was evaluated to '{checked(zero - half)}'. Expected: '{0 - int.MaxValue / 2}'."); _counter++; } } @@ -1325,7 +1325,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(zero - max) != 0 - int.MaxValue) { - Console.WriteLine($"'checked(zero - max)' was evaluted to '{checked(zero - max)}'. Expected: '{0 - int.MaxValue}'."); + Console.WriteLine($"'checked(zero - max)' was evaluated to '{checked(zero - max)}'. Expected: '{0 - int.MaxValue}'."); _counter++; } } @@ -1357,7 +1357,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(one - minusHalf) != 1 - int.MinValue / 2) { - Console.WriteLine($"'checked(one - minusHalf)' was evaluted to '{checked(one - minusHalf)}'. Expected: '{1 - int.MinValue / 2}'."); + Console.WriteLine($"'checked(one - minusHalf)' was evaluated to '{checked(one - minusHalf)}'. Expected: '{1 - int.MinValue / 2}'."); _counter++; } } @@ -1373,7 +1373,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(one - minusOne) != 1 - -1) { - Console.WriteLine($"'checked(one - minusOne)' was evaluted to '{checked(one - minusOne)}'. Expected: '{1 - -1}'."); + Console.WriteLine($"'checked(one - minusOne)' was evaluated to '{checked(one - minusOne)}'. Expected: '{1 - -1}'."); _counter++; } } @@ -1389,7 +1389,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(one - zero) != 1 - 0) { - Console.WriteLine($"'checked(one - zero)' was evaluted to '{checked(one - zero)}'. Expected: '{1 - 0}'."); + Console.WriteLine($"'checked(one - zero)' was evaluated to '{checked(one - zero)}'. Expected: '{1 - 0}'."); _counter++; } } @@ -1404,7 +1404,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(one - one) != 1 - 1) { - Console.WriteLine($"'checked(one - one)' was evaluted to '{checked(one - one)}'. Expected: '{1 - 1}'."); + Console.WriteLine($"'checked(one - one)' was evaluated to '{checked(one - one)}'. Expected: '{1 - 1}'."); _counter++; } } @@ -1420,7 +1420,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(one - half) != 1 - int.MaxValue / 2) { - Console.WriteLine($"'checked(one - half)' was evaluted to '{checked(one - half)}'. Expected: '{1 - int.MaxValue / 2}'."); + Console.WriteLine($"'checked(one - half)' was evaluated to '{checked(one - half)}'. Expected: '{1 - int.MaxValue / 2}'."); _counter++; } } @@ -1436,7 +1436,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(one - max) != 1 - int.MaxValue) { - Console.WriteLine($"'checked(one - max)' was evaluted to '{checked(one - max)}'. Expected: '{1 - int.MaxValue}'."); + Console.WriteLine($"'checked(one - max)' was evaluated to '{checked(one - max)}'. Expected: '{1 - int.MaxValue}'."); _counter++; } } @@ -1468,7 +1468,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(half - minusHalf) != int.MaxValue / 2 - int.MinValue / 2) { - Console.WriteLine($"'checked(half - minusHalf)' was evaluted to '{checked(half - minusHalf)}'. Expected: '{int.MaxValue / 2 - int.MinValue / 2}'."); + Console.WriteLine($"'checked(half - minusHalf)' was evaluated to '{checked(half - minusHalf)}'. Expected: '{int.MaxValue / 2 - int.MinValue / 2}'."); _counter++; } } @@ -1484,7 +1484,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(half - minusOne) != int.MaxValue / 2 - -1) { - Console.WriteLine($"'checked(half - minusOne)' was evaluted to '{checked(half - minusOne)}'. Expected: '{int.MaxValue / 2 - -1}'."); + Console.WriteLine($"'checked(half - minusOne)' was evaluated to '{checked(half - minusOne)}'. Expected: '{int.MaxValue / 2 - -1}'."); _counter++; } } @@ -1500,7 +1500,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(half - zero) != int.MaxValue / 2 - 0) { - Console.WriteLine($"'checked(half - zero)' was evaluted to '{checked(half - zero)}'. Expected: '{int.MaxValue / 2 - 0}'."); + Console.WriteLine($"'checked(half - zero)' was evaluated to '{checked(half - zero)}'. Expected: '{int.MaxValue / 2 - 0}'."); _counter++; } } @@ -1516,7 +1516,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(half - one) != int.MaxValue / 2 - 1) { - Console.WriteLine($"'checked(half - one)' was evaluted to '{checked(half - one)}'. Expected: '{int.MaxValue / 2 - 1}'."); + Console.WriteLine($"'checked(half - one)' was evaluated to '{checked(half - one)}'. Expected: '{int.MaxValue / 2 - 1}'."); _counter++; } } @@ -1531,7 +1531,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(half - half) != int.MaxValue / 2 - int.MaxValue / 2) { - Console.WriteLine($"'checked(half - half)' was evaluted to '{checked(half - half)}'. Expected: '{int.MaxValue / 2 - int.MaxValue / 2}'."); + Console.WriteLine($"'checked(half - half)' was evaluated to '{checked(half - half)}'. Expected: '{int.MaxValue / 2 - int.MaxValue / 2}'."); _counter++; } } @@ -1547,7 +1547,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(half - max) != int.MaxValue / 2 - int.MaxValue) { - Console.WriteLine($"'checked(half - max)' was evaluted to '{checked(half - max)}'. Expected: '{int.MaxValue / 2 - int.MaxValue}'."); + Console.WriteLine($"'checked(half - max)' was evaluated to '{checked(half - max)}'. Expected: '{int.MaxValue / 2 - int.MaxValue}'."); _counter++; } } @@ -1611,7 +1611,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(max - zero) != int.MaxValue - 0) { - Console.WriteLine($"'checked(max - zero)' was evaluted to '{checked(max - zero)}'. Expected: '{int.MaxValue - 0}'."); + Console.WriteLine($"'checked(max - zero)' was evaluated to '{checked(max - zero)}'. Expected: '{int.MaxValue - 0}'."); _counter++; } } @@ -1627,7 +1627,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(max - one) != int.MaxValue - 1) { - Console.WriteLine($"'checked(max - one)' was evaluted to '{checked(max - one)}'. Expected: '{int.MaxValue - 1}'."); + Console.WriteLine($"'checked(max - one)' was evaluated to '{checked(max - one)}'. Expected: '{int.MaxValue - 1}'."); _counter++; } } @@ -1643,7 +1643,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(max - half) != int.MaxValue - int.MaxValue / 2) { - Console.WriteLine($"'checked(max - half)' was evaluted to '{checked(max - half)}'. Expected: '{int.MaxValue - int.MaxValue / 2}'."); + Console.WriteLine($"'checked(max - half)' was evaluated to '{checked(max - half)}'. Expected: '{int.MaxValue - int.MaxValue / 2}'."); _counter++; } } @@ -1658,7 +1658,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(max - max) != int.MaxValue - int.MaxValue) { - Console.WriteLine($"'checked(max - max)' was evaluted to '{checked(max - max)}'. Expected: '{int.MaxValue - int.MaxValue}'."); + Console.WriteLine($"'checked(max - max)' was evaluated to '{checked(max - max)}'. Expected: '{int.MaxValue - int.MaxValue}'."); _counter++; } } @@ -1722,7 +1722,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(min * zero) != int.MinValue * 0) { - Console.WriteLine($"'checked(min * zero)' was evaluted to '{checked(min * zero)}'. Expected: '{int.MinValue * 0}'."); + Console.WriteLine($"'checked(min * zero)' was evaluated to '{checked(min * zero)}'. Expected: '{int.MinValue * 0}'."); _counter++; } } @@ -1738,7 +1738,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(min * one) != int.MinValue * 1) { - Console.WriteLine($"'checked(min * one)' was evaluted to '{checked(min * one)}'. Expected: '{int.MinValue * 1}'."); + Console.WriteLine($"'checked(min * one)' was evaluated to '{checked(min * one)}'. Expected: '{int.MinValue * 1}'."); _counter++; } } @@ -1817,7 +1817,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(minusHalf * minusOne) != int.MinValue / 2 * -1) { - Console.WriteLine($"'checked(minusHalf * minusOne)' was evaluted to '{checked(minusHalf * minusOne)}'. Expected: '{int.MinValue / 2 * -1}'."); + Console.WriteLine($"'checked(minusHalf * minusOne)' was evaluated to '{checked(minusHalf * minusOne)}'. Expected: '{int.MinValue / 2 * -1}'."); _counter++; } } @@ -1833,7 +1833,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(minusHalf * zero) != int.MinValue / 2 * 0) { - Console.WriteLine($"'checked(minusHalf * zero)' was evaluted to '{checked(minusHalf * zero)}'. Expected: '{int.MinValue / 2 * 0}'."); + Console.WriteLine($"'checked(minusHalf * zero)' was evaluated to '{checked(minusHalf * zero)}'. Expected: '{int.MinValue / 2 * 0}'."); _counter++; } } @@ -1849,7 +1849,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(minusHalf * one) != int.MinValue / 2 * 1) { - Console.WriteLine($"'checked(minusHalf * one)' was evaluted to '{checked(minusHalf * one)}'. Expected: '{int.MinValue / 2 * 1}'."); + Console.WriteLine($"'checked(minusHalf * one)' was evaluated to '{checked(minusHalf * one)}'. Expected: '{int.MinValue / 2 * 1}'."); _counter++; } } @@ -1913,7 +1913,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(minusOne * minusHalf) != -1 * (int.MinValue / 2)) { - Console.WriteLine($"'checked(minusOne * minusHalf)' was evaluted to '{checked(minusOne * minusHalf)}'. Expected: '{-1 * (int.MinValue / 2)}'."); + Console.WriteLine($"'checked(minusOne * minusHalf)' was evaluated to '{checked(minusOne * minusHalf)}'. Expected: '{-1 * (int.MinValue / 2)}'."); _counter++; } } @@ -1928,7 +1928,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(minusOne * minusOne) != -1 * -1) { - Console.WriteLine($"'checked(minusOne * minusOne)' was evaluted to '{checked(minusOne * minusOne)}'. Expected: '{-1 * -1}'."); + Console.WriteLine($"'checked(minusOne * minusOne)' was evaluated to '{checked(minusOne * minusOne)}'. Expected: '{-1 * -1}'."); _counter++; } } @@ -1944,7 +1944,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(minusOne * zero) != -1 * 0) { - Console.WriteLine($"'checked(minusOne * zero)' was evaluted to '{checked(minusOne * zero)}'. Expected: '{-1 * 0}'."); + Console.WriteLine($"'checked(minusOne * zero)' was evaluated to '{checked(minusOne * zero)}'. Expected: '{-1 * 0}'."); _counter++; } } @@ -1960,7 +1960,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(minusOne * one) != -1 * 1) { - Console.WriteLine($"'checked(minusOne * one)' was evaluted to '{checked(minusOne * one)}'. Expected: '{-1 * 1}'."); + Console.WriteLine($"'checked(minusOne * one)' was evaluated to '{checked(minusOne * one)}'. Expected: '{-1 * 1}'."); _counter++; } } @@ -1976,7 +1976,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(minusOne * half) != -1 * (int.MaxValue / 2)) { - Console.WriteLine($"'checked(minusOne * half)' was evaluted to '{checked(minusOne * half)}'. Expected: '{-1 * (int.MaxValue / 2)}'."); + Console.WriteLine($"'checked(minusOne * half)' was evaluated to '{checked(minusOne * half)}'. Expected: '{-1 * (int.MaxValue / 2)}'."); _counter++; } } @@ -1992,7 +1992,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(minusOne * max) != -1 * int.MaxValue) { - Console.WriteLine($"'checked(minusOne * max)' was evaluted to '{checked(minusOne * max)}'. Expected: '{-1 * int.MaxValue}'."); + Console.WriteLine($"'checked(minusOne * max)' was evaluated to '{checked(minusOne * max)}'. Expected: '{-1 * int.MaxValue}'."); _counter++; } } @@ -2008,7 +2008,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(zero * min) != 0 * int.MinValue) { - Console.WriteLine($"'checked(zero * min)' was evaluted to '{checked(zero * min)}'. Expected: '{0 * int.MinValue}'."); + Console.WriteLine($"'checked(zero * min)' was evaluated to '{checked(zero * min)}'. Expected: '{0 * int.MinValue}'."); _counter++; } } @@ -2024,7 +2024,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(zero * minusHalf) != 0 * (int.MinValue / 2)) { - Console.WriteLine($"'checked(zero * minusHalf)' was evaluted to '{checked(zero * minusHalf)}'. Expected: '{0 * (int.MinValue / 2)}'."); + Console.WriteLine($"'checked(zero * minusHalf)' was evaluated to '{checked(zero * minusHalf)}'. Expected: '{0 * (int.MinValue / 2)}'."); _counter++; } } @@ -2040,7 +2040,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(zero * minusOne) != 0 * -1) { - Console.WriteLine($"'checked(zero * minusOne)' was evaluted to '{checked(zero * minusOne)}'. Expected: '{0 * -1}'."); + Console.WriteLine($"'checked(zero * minusOne)' was evaluated to '{checked(zero * minusOne)}'. Expected: '{0 * -1}'."); _counter++; } } @@ -2055,7 +2055,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(zero * zero) != 0 * 0) { - Console.WriteLine($"'checked(zero * zero)' was evaluted to '{checked(zero * zero)}'. Expected: '{0 * 0}'."); + Console.WriteLine($"'checked(zero * zero)' was evaluated to '{checked(zero * zero)}'. Expected: '{0 * 0}'."); _counter++; } } @@ -2071,7 +2071,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(zero * one) != 0 * 1) { - Console.WriteLine($"'checked(zero * one)' was evaluted to '{checked(zero * one)}'. Expected: '{0 * 1}'."); + Console.WriteLine($"'checked(zero * one)' was evaluated to '{checked(zero * one)}'. Expected: '{0 * 1}'."); _counter++; } } @@ -2087,7 +2087,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(zero * half) != 0 * (int.MaxValue / 2)) { - Console.WriteLine($"'checked(zero * half)' was evaluted to '{checked(zero * half)}'. Expected: '{0 * (int.MaxValue / 2)}'."); + Console.WriteLine($"'checked(zero * half)' was evaluated to '{checked(zero * half)}'. Expected: '{0 * (int.MaxValue / 2)}'."); _counter++; } } @@ -2103,7 +2103,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(zero * max) != 0 * int.MaxValue) { - Console.WriteLine($"'checked(zero * max)' was evaluted to '{checked(zero * max)}'. Expected: '{0 * int.MaxValue}'."); + Console.WriteLine($"'checked(zero * max)' was evaluated to '{checked(zero * max)}'. Expected: '{0 * int.MaxValue}'."); _counter++; } } @@ -2119,7 +2119,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(one * min) != 1 * int.MinValue) { - Console.WriteLine($"'checked(one * min)' was evaluted to '{checked(one * min)}'. Expected: '{1 * int.MinValue}'."); + Console.WriteLine($"'checked(one * min)' was evaluated to '{checked(one * min)}'. Expected: '{1 * int.MinValue}'."); _counter++; } } @@ -2135,7 +2135,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(one * minusHalf) != 1 * (int.MinValue / 2)) { - Console.WriteLine($"'checked(one * minusHalf)' was evaluted to '{checked(one * minusHalf)}'. Expected: '{1 * (int.MinValue / 2)}'."); + Console.WriteLine($"'checked(one * minusHalf)' was evaluated to '{checked(one * minusHalf)}'. Expected: '{1 * (int.MinValue / 2)}'."); _counter++; } } @@ -2151,7 +2151,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(one * minusOne) != 1 * -1) { - Console.WriteLine($"'checked(one * minusOne)' was evaluted to '{checked(one * minusOne)}'. Expected: '{1 * -1}'."); + Console.WriteLine($"'checked(one * minusOne)' was evaluated to '{checked(one * minusOne)}'. Expected: '{1 * -1}'."); _counter++; } } @@ -2167,7 +2167,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(one * zero) != 1 * 0) { - Console.WriteLine($"'checked(one * zero)' was evaluted to '{checked(one * zero)}'. Expected: '{1 * 0}'."); + Console.WriteLine($"'checked(one * zero)' was evaluated to '{checked(one * zero)}'. Expected: '{1 * 0}'."); _counter++; } } @@ -2182,7 +2182,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(one * one) != 1 * 1) { - Console.WriteLine($"'checked(one * one)' was evaluted to '{checked(one * one)}'. Expected: '{1 * 1}'."); + Console.WriteLine($"'checked(one * one)' was evaluated to '{checked(one * one)}'. Expected: '{1 * 1}'."); _counter++; } } @@ -2198,7 +2198,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(one * half) != 1 * (int.MaxValue / 2)) { - Console.WriteLine($"'checked(one * half)' was evaluted to '{checked(one * half)}'. Expected: '{1 * (int.MaxValue / 2)}'."); + Console.WriteLine($"'checked(one * half)' was evaluated to '{checked(one * half)}'. Expected: '{1 * (int.MaxValue / 2)}'."); _counter++; } } @@ -2214,7 +2214,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(one * max) != 1 * int.MaxValue) { - Console.WriteLine($"'checked(one * max)' was evaluted to '{checked(one * max)}'. Expected: '{1 * int.MaxValue}'."); + Console.WriteLine($"'checked(one * max)' was evaluated to '{checked(one * max)}'. Expected: '{1 * int.MaxValue}'."); _counter++; } } @@ -2262,7 +2262,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(half * minusOne) != int.MaxValue / 2 * -1) { - Console.WriteLine($"'checked(half * minusOne)' was evaluted to '{checked(half * minusOne)}'. Expected: '{int.MaxValue / 2 * -1}'."); + Console.WriteLine($"'checked(half * minusOne)' was evaluated to '{checked(half * minusOne)}'. Expected: '{int.MaxValue / 2 * -1}'."); _counter++; } } @@ -2278,7 +2278,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(half * zero) != int.MaxValue / 2 * 0) { - Console.WriteLine($"'checked(half * zero)' was evaluted to '{checked(half * zero)}'. Expected: '{int.MaxValue / 2 * 0}'."); + Console.WriteLine($"'checked(half * zero)' was evaluated to '{checked(half * zero)}'. Expected: '{int.MaxValue / 2 * 0}'."); _counter++; } } @@ -2294,7 +2294,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(half * one) != int.MaxValue / 2 * 1) { - Console.WriteLine($"'checked(half * one)' was evaluted to '{checked(half * one)}'. Expected: '{int.MaxValue / 2 * 1}'."); + Console.WriteLine($"'checked(half * one)' was evaluated to '{checked(half * one)}'. Expected: '{int.MaxValue / 2 * 1}'."); _counter++; } } @@ -2373,7 +2373,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(max * minusOne) != int.MaxValue * -1) { - Console.WriteLine($"'checked(max * minusOne)' was evaluted to '{checked(max * minusOne)}'. Expected: '{int.MaxValue * -1}'."); + Console.WriteLine($"'checked(max * minusOne)' was evaluated to '{checked(max * minusOne)}'. Expected: '{int.MaxValue * -1}'."); _counter++; } } @@ -2389,7 +2389,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(max * zero) != int.MaxValue * 0) { - Console.WriteLine($"'checked(max * zero)' was evaluted to '{checked(max * zero)}'. Expected: '{int.MaxValue * 0}'."); + Console.WriteLine($"'checked(max * zero)' was evaluated to '{checked(max * zero)}'. Expected: '{int.MaxValue * 0}'."); _counter++; } } @@ -2405,7 +2405,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(max * one) != int.MaxValue * 1) { - Console.WriteLine($"'checked(max * one)' was evaluted to '{checked(max * one)}'. Expected: '{int.MaxValue * 1}'."); + Console.WriteLine($"'checked(max * one)' was evaluated to '{checked(max * one)}'. Expected: '{int.MaxValue * 1}'."); _counter++; } } @@ -2455,13 +2455,13 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(value + zero) != value) { - Console.WriteLine($"Addition identity for uint 'checked(value + zero)' was evaluted to '{checked(value + zero)}'. Expected: '{value}'."); + Console.WriteLine($"Addition identity for uint 'checked(value + zero)' was evaluated to '{checked(value + zero)}'. Expected: '{value}'."); _counter++; } if (checked(zero + value) != value) { - Console.WriteLine($"Addition identity for uint 'checked(zero + value)' was evaluted to '{checked(zero + value)}'. Expected: '{value}'."); + Console.WriteLine($"Addition identity for uint 'checked(zero + value)' was evaluated to '{checked(zero + value)}'. Expected: '{value}'."); _counter++; } } @@ -2476,13 +2476,13 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(value - zero) != value) { - Console.WriteLine($"Subtraction identity for uint 'checked(value - zero)' was evaluted to '{checked(value - zero)}'. Expected: '{value}'."); + Console.WriteLine($"Subtraction identity for uint 'checked(value - zero)' was evaluated to '{checked(value - zero)}'. Expected: '{value}'."); _counter++; } if (checked(value - value) != 0) { - Console.WriteLine($"Subtraction identity for uint 'checked(value - value)' was evaluted to '{checked(value - value)}'. Expected: '{0}'."); + Console.WriteLine($"Subtraction identity for uint 'checked(value - value)' was evaluated to '{checked(value - value)}'. Expected: '{0}'."); _counter++; } } @@ -2498,25 +2498,25 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(value * zero) != 0) { - Console.WriteLine($"Multiplication identity for uint 'checked(value * zero)' was evaluted to '{checked(value * zero)}'. Expected: '{0}'."); + Console.WriteLine($"Multiplication identity for uint 'checked(value * zero)' was evaluated to '{checked(value * zero)}'. Expected: '{0}'."); _counter++; } if (checked(zero * value) != 0) { - Console.WriteLine($"Multiplication identity for uint 'checked(zero * value)' was evaluted to '{checked(zero * value)}'. Expected: '{0}'."); + Console.WriteLine($"Multiplication identity for uint 'checked(zero * value)' was evaluated to '{checked(zero * value)}'. Expected: '{0}'."); _counter++; } if (checked(value * one) != value) { - Console.WriteLine($"Multiplication identity for uint 'checked(value * one)' was evaluted to '{checked(value * one)}'. Expected: '{value}'."); + Console.WriteLine($"Multiplication identity for uint 'checked(value * one)' was evaluated to '{checked(value * one)}'. Expected: '{value}'."); _counter++; } if (checked(one * value) != value) { - Console.WriteLine($"Multiplication identity for uint 'checked(one * value)' was evaluted to '{checked(one * value)}'. Expected: '{value}'."); + Console.WriteLine($"Multiplication identity for uint 'checked(one * value)' was evaluated to '{checked(one * value)}'. Expected: '{value}'."); _counter++; } } @@ -2531,7 +2531,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(zero + zero) != 0 + 0) { - Console.WriteLine($"'checked(zero + zero)' was evaluted to '{checked(zero + zero)}'. Expected: '{0 + 0}'."); + Console.WriteLine($"'checked(zero + zero)' was evaluated to '{checked(zero + zero)}'. Expected: '{0 + 0}'."); _counter++; } } @@ -2547,7 +2547,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(zero + one) != 0 + 1) { - Console.WriteLine($"'checked(zero + one)' was evaluted to '{checked(zero + one)}'. Expected: '{0 + 1}'."); + Console.WriteLine($"'checked(zero + one)' was evaluated to '{checked(zero + one)}'. Expected: '{0 + 1}'."); _counter++; } } @@ -2563,7 +2563,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(zero + half) != 0 + uint.MaxValue / 2) { - Console.WriteLine($"'checked(zero + half)' was evaluted to '{checked(zero + half)}'. Expected: '{0 + uint.MaxValue / 2}'."); + Console.WriteLine($"'checked(zero + half)' was evaluated to '{checked(zero + half)}'. Expected: '{0 + uint.MaxValue / 2}'."); _counter++; } } @@ -2579,7 +2579,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(zero + max) != 0 + uint.MaxValue) { - Console.WriteLine($"'checked(zero + max)' was evaluted to '{checked(zero + max)}'. Expected: '{0 + uint.MaxValue}'."); + Console.WriteLine($"'checked(zero + max)' was evaluated to '{checked(zero + max)}'. Expected: '{0 + uint.MaxValue}'."); _counter++; } } @@ -2595,7 +2595,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(one + zero) != 1 + 0) { - Console.WriteLine($"'checked(one + zero)' was evaluted to '{checked(one + zero)}'. Expected: '{1 + 0}'."); + Console.WriteLine($"'checked(one + zero)' was evaluated to '{checked(one + zero)}'. Expected: '{1 + 0}'."); _counter++; } } @@ -2610,7 +2610,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(one + one) != 1 + 1) { - Console.WriteLine($"'checked(one + one)' was evaluted to '{checked(one + one)}'. Expected: '{1 + 1}'."); + Console.WriteLine($"'checked(one + one)' was evaluated to '{checked(one + one)}'. Expected: '{1 + 1}'."); _counter++; } } @@ -2626,7 +2626,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(one + half) != 1 + uint.MaxValue / 2) { - Console.WriteLine($"'checked(one + half)' was evaluted to '{checked(one + half)}'. Expected: '{1 + uint.MaxValue / 2}'."); + Console.WriteLine($"'checked(one + half)' was evaluated to '{checked(one + half)}'. Expected: '{1 + uint.MaxValue / 2}'."); _counter++; } } @@ -2658,7 +2658,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(half + zero) != uint.MaxValue / 2 + 0) { - Console.WriteLine($"'checked(half + zero)' was evaluted to '{checked(half + zero)}'. Expected: '{uint.MaxValue / 2 + 0}'."); + Console.WriteLine($"'checked(half + zero)' was evaluated to '{checked(half + zero)}'. Expected: '{uint.MaxValue / 2 + 0}'."); _counter++; } } @@ -2674,7 +2674,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(half + one) != uint.MaxValue / 2 + 1) { - Console.WriteLine($"'checked(half + one)' was evaluted to '{checked(half + one)}'. Expected: '{uint.MaxValue / 2 + 1}'."); + Console.WriteLine($"'checked(half + one)' was evaluated to '{checked(half + one)}'. Expected: '{uint.MaxValue / 2 + 1}'."); _counter++; } } @@ -2689,7 +2689,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(half + half) != uint.MaxValue / 2 + uint.MaxValue / 2) { - Console.WriteLine($"'checked(half + half)' was evaluted to '{checked(half + half)}'. Expected: '{uint.MaxValue / 2 + uint.MaxValue / 2}'."); + Console.WriteLine($"'checked(half + half)' was evaluated to '{checked(half + half)}'. Expected: '{uint.MaxValue / 2 + uint.MaxValue / 2}'."); _counter++; } } @@ -2721,7 +2721,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(max + zero) != uint.MaxValue + 0) { - Console.WriteLine($"'checked(max + zero)' was evaluted to '{checked(max + zero)}'. Expected: '{uint.MaxValue + 0}'."); + Console.WriteLine($"'checked(max + zero)' was evaluated to '{checked(max + zero)}'. Expected: '{uint.MaxValue + 0}'."); _counter++; } } @@ -2784,7 +2784,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(zero - zero) != 0 - 0) { - Console.WriteLine($"'checked(zero - zero)' was evaluted to '{checked(zero - zero)}'. Expected: '{0 - 0}'."); + Console.WriteLine($"'checked(zero - zero)' was evaluated to '{checked(zero - zero)}'. Expected: '{0 - 0}'."); _counter++; } } @@ -2848,7 +2848,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(one - zero) != 1 - 0) { - Console.WriteLine($"'checked(one - zero)' was evaluted to '{checked(one - zero)}'. Expected: '{1 - 0}'."); + Console.WriteLine($"'checked(one - zero)' was evaluated to '{checked(one - zero)}'. Expected: '{1 - 0}'."); _counter++; } } @@ -2863,7 +2863,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(one - one) != 1 - 1) { - Console.WriteLine($"'checked(one - one)' was evaluted to '{checked(one - one)}'. Expected: '{1 - 1}'."); + Console.WriteLine($"'checked(one - one)' was evaluated to '{checked(one - one)}'. Expected: '{1 - 1}'."); _counter++; } } @@ -2911,7 +2911,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(half - zero) != uint.MaxValue / 2 - 0) { - Console.WriteLine($"'checked(half - zero)' was evaluted to '{checked(half - zero)}'. Expected: '{uint.MaxValue / 2 - 0}'."); + Console.WriteLine($"'checked(half - zero)' was evaluated to '{checked(half - zero)}'. Expected: '{uint.MaxValue / 2 - 0}'."); _counter++; } } @@ -2927,7 +2927,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(half - one) != uint.MaxValue / 2 - 1) { - Console.WriteLine($"'checked(half - one)' was evaluted to '{checked(half - one)}'. Expected: '{uint.MaxValue / 2 - 1}'."); + Console.WriteLine($"'checked(half - one)' was evaluated to '{checked(half - one)}'. Expected: '{uint.MaxValue / 2 - 1}'."); _counter++; } } @@ -2942,7 +2942,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(half - half) != uint.MaxValue / 2 - uint.MaxValue / 2) { - Console.WriteLine($"'checked(half - half)' was evaluted to '{checked(half - half)}'. Expected: '{uint.MaxValue / 2 - uint.MaxValue / 2}'."); + Console.WriteLine($"'checked(half - half)' was evaluated to '{checked(half - half)}'. Expected: '{uint.MaxValue / 2 - uint.MaxValue / 2}'."); _counter++; } } @@ -2974,7 +2974,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(max - zero) != uint.MaxValue - 0) { - Console.WriteLine($"'checked(max - zero)' was evaluted to '{checked(max - zero)}'. Expected: '{uint.MaxValue - 0}'."); + Console.WriteLine($"'checked(max - zero)' was evaluated to '{checked(max - zero)}'. Expected: '{uint.MaxValue - 0}'."); _counter++; } } @@ -2990,7 +2990,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(max - one) != uint.MaxValue - 1) { - Console.WriteLine($"'checked(max - one)' was evaluted to '{checked(max - one)}'. Expected: '{uint.MaxValue - 1}'."); + Console.WriteLine($"'checked(max - one)' was evaluated to '{checked(max - one)}'. Expected: '{uint.MaxValue - 1}'."); _counter++; } } @@ -3006,7 +3006,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(max - half) != uint.MaxValue - uint.MaxValue / 2) { - Console.WriteLine($"'checked(max - half)' was evaluted to '{checked(max - half)}'. Expected: '{uint.MaxValue - uint.MaxValue / 2}'."); + Console.WriteLine($"'checked(max - half)' was evaluated to '{checked(max - half)}'. Expected: '{uint.MaxValue - uint.MaxValue / 2}'."); _counter++; } } @@ -3021,7 +3021,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(max - max) != uint.MaxValue - uint.MaxValue) { - Console.WriteLine($"'checked(max - max)' was evaluted to '{checked(max - max)}'. Expected: '{uint.MaxValue - uint.MaxValue}'."); + Console.WriteLine($"'checked(max - max)' was evaluated to '{checked(max - max)}'. Expected: '{uint.MaxValue - uint.MaxValue}'."); _counter++; } } @@ -3037,7 +3037,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(zero * zero) != 0 * 0) { - Console.WriteLine($"'checked(zero * zero)' was evaluted to '{checked(zero * zero)}'. Expected: '{0 * 0}'."); + Console.WriteLine($"'checked(zero * zero)' was evaluated to '{checked(zero * zero)}'. Expected: '{0 * 0}'."); _counter++; } } @@ -3053,7 +3053,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(zero * one) != 0 * 1) { - Console.WriteLine($"'checked(zero * one)' was evaluted to '{checked(zero * one)}'. Expected: '{0 * 1}'."); + Console.WriteLine($"'checked(zero * one)' was evaluated to '{checked(zero * one)}'. Expected: '{0 * 1}'."); _counter++; } } @@ -3069,7 +3069,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(zero * half) != 0 * (uint.MaxValue / 2)) { - Console.WriteLine($"'checked(zero * half)' was evaluted to '{checked(zero * half)}'. Expected: '{0 * (uint.MaxValue / 2)}'."); + Console.WriteLine($"'checked(zero * half)' was evaluated to '{checked(zero * half)}'. Expected: '{0 * (uint.MaxValue / 2)}'."); _counter++; } } @@ -3085,7 +3085,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(zero * max) != 0 * uint.MaxValue) { - Console.WriteLine($"'checked(zero * max)' was evaluted to '{checked(zero * max)}'. Expected: '{0 * uint.MaxValue}'."); + Console.WriteLine($"'checked(zero * max)' was evaluated to '{checked(zero * max)}'. Expected: '{0 * uint.MaxValue}'."); _counter++; } } @@ -3101,7 +3101,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(one * zero) != 1 * 0) { - Console.WriteLine($"'checked(one * zero)' was evaluted to '{checked(one * zero)}'. Expected: '{1 * 0}'."); + Console.WriteLine($"'checked(one * zero)' was evaluated to '{checked(one * zero)}'. Expected: '{1 * 0}'."); _counter++; } } @@ -3116,7 +3116,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(one * one) != 1 * 1) { - Console.WriteLine($"'checked(one * one)' was evaluted to '{checked(one * one)}'. Expected: '{1 * 1}'."); + Console.WriteLine($"'checked(one * one)' was evaluated to '{checked(one * one)}'. Expected: '{1 * 1}'."); _counter++; } } @@ -3132,7 +3132,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(one * half) != 1 * (uint.MaxValue / 2)) { - Console.WriteLine($"'checked(one * half)' was evaluted to '{checked(one * half)}'. Expected: '{1 * (uint.MaxValue / 2)}'."); + Console.WriteLine($"'checked(one * half)' was evaluated to '{checked(one * half)}'. Expected: '{1 * (uint.MaxValue / 2)}'."); _counter++; } } @@ -3148,7 +3148,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(one * max) != 1 * uint.MaxValue) { - Console.WriteLine($"'checked(one * max)' was evaluted to '{checked(one * max)}'. Expected: '{1 * uint.MaxValue}'."); + Console.WriteLine($"'checked(one * max)' was evaluated to '{checked(one * max)}'. Expected: '{1 * uint.MaxValue}'."); _counter++; } } @@ -3164,7 +3164,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(half * zero) != uint.MaxValue / 2 * 0) { - Console.WriteLine($"'checked(half * zero)' was evaluted to '{checked(half * zero)}'. Expected: '{uint.MaxValue / 2 * 0}'."); + Console.WriteLine($"'checked(half * zero)' was evaluated to '{checked(half * zero)}'. Expected: '{uint.MaxValue / 2 * 0}'."); _counter++; } } @@ -3180,7 +3180,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(half * one) != uint.MaxValue / 2 * 1) { - Console.WriteLine($"'checked(half * one)' was evaluted to '{checked(half * one)}'. Expected: '{uint.MaxValue / 2 * 1}'."); + Console.WriteLine($"'checked(half * one)' was evaluated to '{checked(half * one)}'. Expected: '{uint.MaxValue / 2 * 1}'."); _counter++; } } @@ -3227,7 +3227,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(max * zero) != uint.MaxValue * 0) { - Console.WriteLine($"'checked(max * zero)' was evaluted to '{checked(max * zero)}'. Expected: '{uint.MaxValue * 0}'."); + Console.WriteLine($"'checked(max * zero)' was evaluated to '{checked(max * zero)}'. Expected: '{uint.MaxValue * 0}'."); _counter++; } } @@ -3243,7 +3243,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(max * one) != uint.MaxValue * 1) { - Console.WriteLine($"'checked(max * one)' was evaluted to '{checked(max * one)}'. Expected: '{uint.MaxValue * 1}'."); + Console.WriteLine($"'checked(max * one)' was evaluated to '{checked(max * one)}'. Expected: '{uint.MaxValue * 1}'."); _counter++; } } @@ -3293,13 +3293,13 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(value + zero) != value) { - Console.WriteLine($"Addition identity for long 'checked(value + zero)' was evaluted to '{checked(value + zero)}'. Expected: '{value}'."); + Console.WriteLine($"Addition identity for long 'checked(value + zero)' was evaluated to '{checked(value + zero)}'. Expected: '{value}'."); _counter++; } if (checked(zero + value) != value) { - Console.WriteLine($"Addition identity for long 'checked(zero + value)' was evaluted to '{checked(zero + value)}'. Expected: '{value}'."); + Console.WriteLine($"Addition identity for long 'checked(zero + value)' was evaluated to '{checked(zero + value)}'. Expected: '{value}'."); _counter++; } } @@ -3314,13 +3314,13 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(value - zero) != value) { - Console.WriteLine($"Subtraction identity for long 'checked(value - zero)' was evaluted to '{checked(value - zero)}'. Expected: '{value}'."); + Console.WriteLine($"Subtraction identity for long 'checked(value - zero)' was evaluated to '{checked(value - zero)}'. Expected: '{value}'."); _counter++; } if (checked(value - value) != 0) { - Console.WriteLine($"Subtraction identity for long 'checked(value - value)' was evaluted to '{checked(value - value)}'. Expected: '{0}'."); + Console.WriteLine($"Subtraction identity for long 'checked(value - value)' was evaluated to '{checked(value - value)}'. Expected: '{0}'."); _counter++; } } @@ -3336,25 +3336,25 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(value * zero) != 0) { - Console.WriteLine($"Multiplication identity for long 'checked(value * zero)' was evaluted to '{checked(value * zero)}'. Expected: '{0}'."); + Console.WriteLine($"Multiplication identity for long 'checked(value * zero)' was evaluated to '{checked(value * zero)}'. Expected: '{0}'."); _counter++; } if (checked(zero * value) != 0) { - Console.WriteLine($"Multiplication identity for long 'checked(zero * value)' was evaluted to '{checked(zero * value)}'. Expected: '{0}'."); + Console.WriteLine($"Multiplication identity for long 'checked(zero * value)' was evaluated to '{checked(zero * value)}'. Expected: '{0}'."); _counter++; } if (checked(value * one) != value) { - Console.WriteLine($"Multiplication identity for long 'checked(value * one)' was evaluted to '{checked(value * one)}'. Expected: '{value}'."); + Console.WriteLine($"Multiplication identity for long 'checked(value * one)' was evaluated to '{checked(value * one)}'. Expected: '{value}'."); _counter++; } if (checked(one * value) != value) { - Console.WriteLine($"Multiplication identity for long 'checked(one * value)' was evaluted to '{checked(one * value)}'. Expected: '{value}'."); + Console.WriteLine($"Multiplication identity for long 'checked(one * value)' was evaluated to '{checked(one * value)}'. Expected: '{value}'."); _counter++; } } @@ -3417,7 +3417,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(min + zero) != long.MinValue + 0) { - Console.WriteLine($"'checked(min + zero)' was evaluted to '{checked(min + zero)}'. Expected: '{long.MinValue + 0}'."); + Console.WriteLine($"'checked(min + zero)' was evaluated to '{checked(min + zero)}'. Expected: '{long.MinValue + 0}'."); _counter++; } } @@ -3433,7 +3433,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(min + one) != long.MinValue + 1) { - Console.WriteLine($"'checked(min + one)' was evaluted to '{checked(min + one)}'. Expected: '{long.MinValue + 1}'."); + Console.WriteLine($"'checked(min + one)' was evaluated to '{checked(min + one)}'. Expected: '{long.MinValue + 1}'."); _counter++; } } @@ -3449,7 +3449,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(min + half) != long.MinValue + long.MaxValue / 2) { - Console.WriteLine($"'checked(min + half)' was evaluted to '{checked(min + half)}'. Expected: '{long.MinValue + long.MaxValue / 2}'."); + Console.WriteLine($"'checked(min + half)' was evaluated to '{checked(min + half)}'. Expected: '{long.MinValue + long.MaxValue / 2}'."); _counter++; } } @@ -3465,7 +3465,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(min + max) != long.MinValue + long.MaxValue) { - Console.WriteLine($"'checked(min + max)' was evaluted to '{checked(min + max)}'. Expected: '{long.MinValue + long.MaxValue}'."); + Console.WriteLine($"'checked(min + max)' was evaluated to '{checked(min + max)}'. Expected: '{long.MinValue + long.MaxValue}'."); _counter++; } } @@ -3496,7 +3496,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(minusHalf + minusHalf) != long.MinValue / 2 + long.MinValue / 2) { - Console.WriteLine($"'checked(minusHalf + minusHalf)' was evaluted to '{checked(minusHalf + minusHalf)}'. Expected: '{long.MinValue / 2 + long.MinValue / 2}'."); + Console.WriteLine($"'checked(minusHalf + minusHalf)' was evaluated to '{checked(minusHalf + minusHalf)}'. Expected: '{long.MinValue / 2 + long.MinValue / 2}'."); _counter++; } } @@ -3512,7 +3512,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(minusHalf + minusOne) != long.MinValue / 2 + -1) { - Console.WriteLine($"'checked(minusHalf + minusOne)' was evaluted to '{checked(minusHalf + minusOne)}'. Expected: '{long.MinValue / 2 + -1}'."); + Console.WriteLine($"'checked(minusHalf + minusOne)' was evaluated to '{checked(minusHalf + minusOne)}'. Expected: '{long.MinValue / 2 + -1}'."); _counter++; } } @@ -3528,7 +3528,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(minusHalf + zero) != long.MinValue / 2 + 0) { - Console.WriteLine($"'checked(minusHalf + zero)' was evaluted to '{checked(minusHalf + zero)}'. Expected: '{long.MinValue / 2 + 0}'."); + Console.WriteLine($"'checked(minusHalf + zero)' was evaluated to '{checked(minusHalf + zero)}'. Expected: '{long.MinValue / 2 + 0}'."); _counter++; } } @@ -3544,7 +3544,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(minusHalf + one) != long.MinValue / 2 + 1) { - Console.WriteLine($"'checked(minusHalf + one)' was evaluted to '{checked(minusHalf + one)}'. Expected: '{long.MinValue / 2 + 1}'."); + Console.WriteLine($"'checked(minusHalf + one)' was evaluated to '{checked(minusHalf + one)}'. Expected: '{long.MinValue / 2 + 1}'."); _counter++; } } @@ -3560,7 +3560,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(minusHalf + half) != long.MinValue / 2 + long.MaxValue / 2) { - Console.WriteLine($"'checked(minusHalf + half)' was evaluted to '{checked(minusHalf + half)}'. Expected: '{long.MinValue / 2 + long.MaxValue / 2}'."); + Console.WriteLine($"'checked(minusHalf + half)' was evaluated to '{checked(minusHalf + half)}'. Expected: '{long.MinValue / 2 + long.MaxValue / 2}'."); _counter++; } } @@ -3576,7 +3576,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(minusHalf + max) != long.MinValue / 2 + long.MaxValue) { - Console.WriteLine($"'checked(minusHalf + max)' was evaluted to '{checked(minusHalf + max)}'. Expected: '{long.MinValue / 2 + long.MaxValue}'."); + Console.WriteLine($"'checked(minusHalf + max)' was evaluated to '{checked(minusHalf + max)}'. Expected: '{long.MinValue / 2 + long.MaxValue}'."); _counter++; } } @@ -3608,7 +3608,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(minusOne + minusHalf) != -1 + long.MinValue / 2) { - Console.WriteLine($"'checked(minusOne + minusHalf)' was evaluted to '{checked(minusOne + minusHalf)}'. Expected: '{-1 + long.MinValue / 2}'."); + Console.WriteLine($"'checked(minusOne + minusHalf)' was evaluated to '{checked(minusOne + minusHalf)}'. Expected: '{-1 + long.MinValue / 2}'."); _counter++; } } @@ -3623,7 +3623,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(minusOne + minusOne) != -1 + -1) { - Console.WriteLine($"'checked(minusOne + minusOne)' was evaluted to '{checked(minusOne + minusOne)}'. Expected: '{-1 + -1}'."); + Console.WriteLine($"'checked(minusOne + minusOne)' was evaluated to '{checked(minusOne + minusOne)}'. Expected: '{-1 + -1}'."); _counter++; } } @@ -3639,7 +3639,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(minusOne + zero) != -1 + 0) { - Console.WriteLine($"'checked(minusOne + zero)' was evaluted to '{checked(minusOne + zero)}'. Expected: '{-1 + 0}'."); + Console.WriteLine($"'checked(minusOne + zero)' was evaluated to '{checked(minusOne + zero)}'. Expected: '{-1 + 0}'."); _counter++; } } @@ -3655,7 +3655,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(minusOne + one) != -1 + 1) { - Console.WriteLine($"'checked(minusOne + one)' was evaluted to '{checked(minusOne + one)}'. Expected: '{-1 + 1}'."); + Console.WriteLine($"'checked(minusOne + one)' was evaluated to '{checked(minusOne + one)}'. Expected: '{-1 + 1}'."); _counter++; } } @@ -3671,7 +3671,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(minusOne + half) != -1 + long.MaxValue / 2) { - Console.WriteLine($"'checked(minusOne + half)' was evaluted to '{checked(minusOne + half)}'. Expected: '{-1 + long.MaxValue / 2}'."); + Console.WriteLine($"'checked(minusOne + half)' was evaluated to '{checked(minusOne + half)}'. Expected: '{-1 + long.MaxValue / 2}'."); _counter++; } } @@ -3687,7 +3687,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(minusOne + max) != -1 + long.MaxValue) { - Console.WriteLine($"'checked(minusOne + max)' was evaluted to '{checked(minusOne + max)}'. Expected: '{-1 + long.MaxValue}'."); + Console.WriteLine($"'checked(minusOne + max)' was evaluated to '{checked(minusOne + max)}'. Expected: '{-1 + long.MaxValue}'."); _counter++; } } @@ -3703,7 +3703,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(zero + min) != 0 + long.MinValue) { - Console.WriteLine($"'checked(zero + min)' was evaluted to '{checked(zero + min)}'. Expected: '{0 + long.MinValue}'."); + Console.WriteLine($"'checked(zero + min)' was evaluated to '{checked(zero + min)}'. Expected: '{0 + long.MinValue}'."); _counter++; } } @@ -3719,7 +3719,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(zero + minusHalf) != 0 + long.MinValue / 2) { - Console.WriteLine($"'checked(zero + minusHalf)' was evaluted to '{checked(zero + minusHalf)}'. Expected: '{0 + long.MinValue / 2}'."); + Console.WriteLine($"'checked(zero + minusHalf)' was evaluated to '{checked(zero + minusHalf)}'. Expected: '{0 + long.MinValue / 2}'."); _counter++; } } @@ -3735,7 +3735,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(zero + minusOne) != 0 + -1) { - Console.WriteLine($"'checked(zero + minusOne)' was evaluted to '{checked(zero + minusOne)}'. Expected: '{0 + -1}'."); + Console.WriteLine($"'checked(zero + minusOne)' was evaluated to '{checked(zero + minusOne)}'. Expected: '{0 + -1}'."); _counter++; } } @@ -3750,7 +3750,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(zero + zero) != 0 + 0) { - Console.WriteLine($"'checked(zero + zero)' was evaluted to '{checked(zero + zero)}'. Expected: '{0 + 0}'."); + Console.WriteLine($"'checked(zero + zero)' was evaluated to '{checked(zero + zero)}'. Expected: '{0 + 0}'."); _counter++; } } @@ -3766,7 +3766,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(zero + one) != 0 + 1) { - Console.WriteLine($"'checked(zero + one)' was evaluted to '{checked(zero + one)}'. Expected: '{0 + 1}'."); + Console.WriteLine($"'checked(zero + one)' was evaluated to '{checked(zero + one)}'. Expected: '{0 + 1}'."); _counter++; } } @@ -3782,7 +3782,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(zero + half) != 0 + long.MaxValue / 2) { - Console.WriteLine($"'checked(zero + half)' was evaluted to '{checked(zero + half)}'. Expected: '{0 + long.MaxValue / 2}'."); + Console.WriteLine($"'checked(zero + half)' was evaluated to '{checked(zero + half)}'. Expected: '{0 + long.MaxValue / 2}'."); _counter++; } } @@ -3798,7 +3798,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(zero + max) != 0 + long.MaxValue) { - Console.WriteLine($"'checked(zero + max)' was evaluted to '{checked(zero + max)}'. Expected: '{0 + long.MaxValue}'."); + Console.WriteLine($"'checked(zero + max)' was evaluated to '{checked(zero + max)}'. Expected: '{0 + long.MaxValue}'."); _counter++; } } @@ -3814,7 +3814,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(one + min) != 1 + long.MinValue) { - Console.WriteLine($"'checked(one + min)' was evaluted to '{checked(one + min)}'. Expected: '{1 + long.MinValue}'."); + Console.WriteLine($"'checked(one + min)' was evaluated to '{checked(one + min)}'. Expected: '{1 + long.MinValue}'."); _counter++; } } @@ -3830,7 +3830,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(one + minusHalf) != 1 + long.MinValue / 2) { - Console.WriteLine($"'checked(one + minusHalf)' was evaluted to '{checked(one + minusHalf)}'. Expected: '{1 + long.MinValue / 2}'."); + Console.WriteLine($"'checked(one + minusHalf)' was evaluated to '{checked(one + minusHalf)}'. Expected: '{1 + long.MinValue / 2}'."); _counter++; } } @@ -3846,7 +3846,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(one + minusOne) != 1 + -1) { - Console.WriteLine($"'checked(one + minusOne)' was evaluted to '{checked(one + minusOne)}'. Expected: '{1 + -1}'."); + Console.WriteLine($"'checked(one + minusOne)' was evaluated to '{checked(one + minusOne)}'. Expected: '{1 + -1}'."); _counter++; } } @@ -3862,7 +3862,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(one + zero) != 1 + 0) { - Console.WriteLine($"'checked(one + zero)' was evaluted to '{checked(one + zero)}'. Expected: '{1 + 0}'."); + Console.WriteLine($"'checked(one + zero)' was evaluated to '{checked(one + zero)}'. Expected: '{1 + 0}'."); _counter++; } } @@ -3877,7 +3877,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(one + one) != 1 + 1) { - Console.WriteLine($"'checked(one + one)' was evaluted to '{checked(one + one)}'. Expected: '{1 + 1}'."); + Console.WriteLine($"'checked(one + one)' was evaluated to '{checked(one + one)}'. Expected: '{1 + 1}'."); _counter++; } } @@ -3893,7 +3893,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(one + half) != 1 + long.MaxValue / 2) { - Console.WriteLine($"'checked(one + half)' was evaluted to '{checked(one + half)}'. Expected: '{1 + long.MaxValue / 2}'."); + Console.WriteLine($"'checked(one + half)' was evaluated to '{checked(one + half)}'. Expected: '{1 + long.MaxValue / 2}'."); _counter++; } } @@ -3925,7 +3925,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(half + min) != long.MaxValue / 2 + long.MinValue) { - Console.WriteLine($"'checked(half + min)' was evaluted to '{checked(half + min)}'. Expected: '{long.MaxValue / 2 + long.MinValue}'."); + Console.WriteLine($"'checked(half + min)' was evaluated to '{checked(half + min)}'. Expected: '{long.MaxValue / 2 + long.MinValue}'."); _counter++; } } @@ -3941,7 +3941,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(half + minusHalf) != long.MaxValue / 2 + long.MinValue / 2) { - Console.WriteLine($"'checked(half + minusHalf)' was evaluted to '{checked(half + minusHalf)}'. Expected: '{long.MaxValue / 2 + long.MinValue / 2}'."); + Console.WriteLine($"'checked(half + minusHalf)' was evaluated to '{checked(half + minusHalf)}'. Expected: '{long.MaxValue / 2 + long.MinValue / 2}'."); _counter++; } } @@ -3957,7 +3957,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(half + minusOne) != long.MaxValue / 2 + -1) { - Console.WriteLine($"'checked(half + minusOne)' was evaluted to '{checked(half + minusOne)}'. Expected: '{long.MaxValue / 2 + -1}'."); + Console.WriteLine($"'checked(half + minusOne)' was evaluated to '{checked(half + minusOne)}'. Expected: '{long.MaxValue / 2 + -1}'."); _counter++; } } @@ -3973,7 +3973,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(half + zero) != long.MaxValue / 2 + 0) { - Console.WriteLine($"'checked(half + zero)' was evaluted to '{checked(half + zero)}'. Expected: '{long.MaxValue / 2 + 0}'."); + Console.WriteLine($"'checked(half + zero)' was evaluated to '{checked(half + zero)}'. Expected: '{long.MaxValue / 2 + 0}'."); _counter++; } } @@ -3989,7 +3989,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(half + one) != long.MaxValue / 2 + 1) { - Console.WriteLine($"'checked(half + one)' was evaluted to '{checked(half + one)}'. Expected: '{long.MaxValue / 2 + 1}'."); + Console.WriteLine($"'checked(half + one)' was evaluated to '{checked(half + one)}'. Expected: '{long.MaxValue / 2 + 1}'."); _counter++; } } @@ -4004,7 +4004,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(half + half) != long.MaxValue / 2 + long.MaxValue / 2) { - Console.WriteLine($"'checked(half + half)' was evaluted to '{checked(half + half)}'. Expected: '{long.MaxValue / 2 + long.MaxValue / 2}'."); + Console.WriteLine($"'checked(half + half)' was evaluated to '{checked(half + half)}'. Expected: '{long.MaxValue / 2 + long.MaxValue / 2}'."); _counter++; } } @@ -4036,7 +4036,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(max + min) != long.MaxValue + long.MinValue) { - Console.WriteLine($"'checked(max + min)' was evaluted to '{checked(max + min)}'. Expected: '{long.MaxValue + long.MinValue}'."); + Console.WriteLine($"'checked(max + min)' was evaluated to '{checked(max + min)}'. Expected: '{long.MaxValue + long.MinValue}'."); _counter++; } } @@ -4052,7 +4052,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(max + minusHalf) != long.MaxValue + long.MinValue / 2) { - Console.WriteLine($"'checked(max + minusHalf)' was evaluted to '{checked(max + minusHalf)}'. Expected: '{long.MaxValue + long.MinValue / 2}'."); + Console.WriteLine($"'checked(max + minusHalf)' was evaluated to '{checked(max + minusHalf)}'. Expected: '{long.MaxValue + long.MinValue / 2}'."); _counter++; } } @@ -4068,7 +4068,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(max + minusOne) != long.MaxValue + -1) { - Console.WriteLine($"'checked(max + minusOne)' was evaluted to '{checked(max + minusOne)}'. Expected: '{long.MaxValue + -1}'."); + Console.WriteLine($"'checked(max + minusOne)' was evaluated to '{checked(max + minusOne)}'. Expected: '{long.MaxValue + -1}'."); _counter++; } } @@ -4084,7 +4084,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(max + zero) != long.MaxValue + 0) { - Console.WriteLine($"'checked(max + zero)' was evaluted to '{checked(max + zero)}'. Expected: '{long.MaxValue + 0}'."); + Console.WriteLine($"'checked(max + zero)' was evaluated to '{checked(max + zero)}'. Expected: '{long.MaxValue + 0}'."); _counter++; } } @@ -4147,7 +4147,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(min - min) != long.MinValue - long.MinValue) { - Console.WriteLine($"'checked(min - min)' was evaluted to '{checked(min - min)}'. Expected: '{long.MinValue - long.MinValue}'."); + Console.WriteLine($"'checked(min - min)' was evaluated to '{checked(min - min)}'. Expected: '{long.MinValue - long.MinValue}'."); _counter++; } } @@ -4163,7 +4163,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(min - minusHalf) != long.MinValue - long.MinValue / 2) { - Console.WriteLine($"'checked(min - minusHalf)' was evaluted to '{checked(min - minusHalf)}'. Expected: '{long.MinValue - long.MinValue / 2}'."); + Console.WriteLine($"'checked(min - minusHalf)' was evaluated to '{checked(min - minusHalf)}'. Expected: '{long.MinValue - long.MinValue / 2}'."); _counter++; } } @@ -4179,7 +4179,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(min - minusOne) != long.MinValue - -1) { - Console.WriteLine($"'checked(min - minusOne)' was evaluted to '{checked(min - minusOne)}'. Expected: '{long.MinValue - -1}'."); + Console.WriteLine($"'checked(min - minusOne)' was evaluated to '{checked(min - minusOne)}'. Expected: '{long.MinValue - -1}'."); _counter++; } } @@ -4195,7 +4195,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(min - zero) != long.MinValue - 0) { - Console.WriteLine($"'checked(min - zero)' was evaluted to '{checked(min - zero)}'. Expected: '{long.MinValue - 0}'."); + Console.WriteLine($"'checked(min - zero)' was evaluated to '{checked(min - zero)}'. Expected: '{long.MinValue - 0}'."); _counter++; } } @@ -4259,7 +4259,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(minusHalf - min) != long.MinValue / 2 - long.MinValue) { - Console.WriteLine($"'checked(minusHalf - min)' was evaluted to '{checked(minusHalf - min)}'. Expected: '{long.MinValue / 2 - long.MinValue}'."); + Console.WriteLine($"'checked(minusHalf - min)' was evaluated to '{checked(minusHalf - min)}'. Expected: '{long.MinValue / 2 - long.MinValue}'."); _counter++; } } @@ -4274,7 +4274,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(minusHalf - minusHalf) != long.MinValue / 2 - long.MinValue / 2) { - Console.WriteLine($"'checked(minusHalf - minusHalf)' was evaluted to '{checked(minusHalf - minusHalf)}'. Expected: '{long.MinValue / 2 - long.MinValue / 2}'."); + Console.WriteLine($"'checked(minusHalf - minusHalf)' was evaluated to '{checked(minusHalf - minusHalf)}'. Expected: '{long.MinValue / 2 - long.MinValue / 2}'."); _counter++; } } @@ -4290,7 +4290,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(minusHalf - minusOne) != long.MinValue / 2 - -1) { - Console.WriteLine($"'checked(minusHalf - minusOne)' was evaluted to '{checked(minusHalf - minusOne)}'. Expected: '{long.MinValue / 2 - -1}'."); + Console.WriteLine($"'checked(minusHalf - minusOne)' was evaluated to '{checked(minusHalf - minusOne)}'. Expected: '{long.MinValue / 2 - -1}'."); _counter++; } } @@ -4306,7 +4306,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(minusHalf - zero) != long.MinValue / 2 - 0) { - Console.WriteLine($"'checked(minusHalf - zero)' was evaluted to '{checked(minusHalf - zero)}'. Expected: '{long.MinValue / 2 - 0}'."); + Console.WriteLine($"'checked(minusHalf - zero)' was evaluated to '{checked(minusHalf - zero)}'. Expected: '{long.MinValue / 2 - 0}'."); _counter++; } } @@ -4322,7 +4322,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(minusHalf - one) != long.MinValue / 2 - 1) { - Console.WriteLine($"'checked(minusHalf - one)' was evaluted to '{checked(minusHalf - one)}'. Expected: '{long.MinValue / 2 - 1}'."); + Console.WriteLine($"'checked(minusHalf - one)' was evaluated to '{checked(minusHalf - one)}'. Expected: '{long.MinValue / 2 - 1}'."); _counter++; } } @@ -4338,7 +4338,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(minusHalf - half) != long.MinValue / 2 - long.MaxValue / 2) { - Console.WriteLine($"'checked(minusHalf - half)' was evaluted to '{checked(minusHalf - half)}'. Expected: '{long.MinValue / 2 - long.MaxValue / 2}'."); + Console.WriteLine($"'checked(minusHalf - half)' was evaluated to '{checked(minusHalf - half)}'. Expected: '{long.MinValue / 2 - long.MaxValue / 2}'."); _counter++; } } @@ -4370,7 +4370,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(minusOne - min) != -1 - long.MinValue) { - Console.WriteLine($"'checked(minusOne - min)' was evaluted to '{checked(minusOne - min)}'. Expected: '{-1 - long.MinValue}'."); + Console.WriteLine($"'checked(minusOne - min)' was evaluated to '{checked(minusOne - min)}'. Expected: '{-1 - long.MinValue}'."); _counter++; } } @@ -4386,7 +4386,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(minusOne - minusHalf) != -1 - long.MinValue / 2) { - Console.WriteLine($"'checked(minusOne - minusHalf)' was evaluted to '{checked(minusOne - minusHalf)}'. Expected: '{-1 - long.MinValue / 2}'."); + Console.WriteLine($"'checked(minusOne - minusHalf)' was evaluated to '{checked(minusOne - minusHalf)}'. Expected: '{-1 - long.MinValue / 2}'."); _counter++; } } @@ -4401,7 +4401,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(minusOne - minusOne) != -1 - -1) { - Console.WriteLine($"'checked(minusOne - minusOne)' was evaluted to '{checked(minusOne - minusOne)}'. Expected: '{-1 - -1}'."); + Console.WriteLine($"'checked(minusOne - minusOne)' was evaluated to '{checked(minusOne - minusOne)}'. Expected: '{-1 - -1}'."); _counter++; } } @@ -4417,7 +4417,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(minusOne - zero) != -1 - 0) { - Console.WriteLine($"'checked(minusOne - zero)' was evaluted to '{checked(minusOne - zero)}'. Expected: '{-1 - 0}'."); + Console.WriteLine($"'checked(minusOne - zero)' was evaluated to '{checked(minusOne - zero)}'. Expected: '{-1 - 0}'."); _counter++; } } @@ -4433,7 +4433,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(minusOne - one) != -1 - 1) { - Console.WriteLine($"'checked(minusOne - one)' was evaluted to '{checked(minusOne - one)}'. Expected: '{-1 - 1}'."); + Console.WriteLine($"'checked(minusOne - one)' was evaluated to '{checked(minusOne - one)}'. Expected: '{-1 - 1}'."); _counter++; } } @@ -4449,7 +4449,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(minusOne - half) != -1 - long.MaxValue / 2) { - Console.WriteLine($"'checked(minusOne - half)' was evaluted to '{checked(minusOne - half)}'. Expected: '{-1 - long.MaxValue / 2}'."); + Console.WriteLine($"'checked(minusOne - half)' was evaluated to '{checked(minusOne - half)}'. Expected: '{-1 - long.MaxValue / 2}'."); _counter++; } } @@ -4465,7 +4465,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(minusOne - max) != -1 - long.MaxValue) { - Console.WriteLine($"'checked(minusOne - max)' was evaluted to '{checked(minusOne - max)}'. Expected: '{-1 - long.MaxValue}'."); + Console.WriteLine($"'checked(minusOne - max)' was evaluated to '{checked(minusOne - max)}'. Expected: '{-1 - long.MaxValue}'."); _counter++; } } @@ -4497,7 +4497,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(zero - minusHalf) != 0 - long.MinValue / 2) { - Console.WriteLine($"'checked(zero - minusHalf)' was evaluted to '{checked(zero - minusHalf)}'. Expected: '{0 - long.MinValue / 2}'."); + Console.WriteLine($"'checked(zero - minusHalf)' was evaluated to '{checked(zero - minusHalf)}'. Expected: '{0 - long.MinValue / 2}'."); _counter++; } } @@ -4513,7 +4513,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(zero - minusOne) != 0 - -1) { - Console.WriteLine($"'checked(zero - minusOne)' was evaluted to '{checked(zero - minusOne)}'. Expected: '{0 - -1}'."); + Console.WriteLine($"'checked(zero - minusOne)' was evaluated to '{checked(zero - minusOne)}'. Expected: '{0 - -1}'."); _counter++; } } @@ -4528,7 +4528,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(zero - zero) != 0 - 0) { - Console.WriteLine($"'checked(zero - zero)' was evaluted to '{checked(zero - zero)}'. Expected: '{0 - 0}'."); + Console.WriteLine($"'checked(zero - zero)' was evaluated to '{checked(zero - zero)}'. Expected: '{0 - 0}'."); _counter++; } } @@ -4544,7 +4544,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(zero - one) != 0 - 1) { - Console.WriteLine($"'checked(zero - one)' was evaluted to '{checked(zero - one)}'. Expected: '{0 - 1}'."); + Console.WriteLine($"'checked(zero - one)' was evaluated to '{checked(zero - one)}'. Expected: '{0 - 1}'."); _counter++; } } @@ -4560,7 +4560,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(zero - half) != 0 - long.MaxValue / 2) { - Console.WriteLine($"'checked(zero - half)' was evaluted to '{checked(zero - half)}'. Expected: '{0 - long.MaxValue / 2}'."); + Console.WriteLine($"'checked(zero - half)' was evaluated to '{checked(zero - half)}'. Expected: '{0 - long.MaxValue / 2}'."); _counter++; } } @@ -4576,7 +4576,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(zero - max) != 0 - long.MaxValue) { - Console.WriteLine($"'checked(zero - max)' was evaluted to '{checked(zero - max)}'. Expected: '{0 - long.MaxValue}'."); + Console.WriteLine($"'checked(zero - max)' was evaluated to '{checked(zero - max)}'. Expected: '{0 - long.MaxValue}'."); _counter++; } } @@ -4608,7 +4608,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(one - minusHalf) != 1 - long.MinValue / 2) { - Console.WriteLine($"'checked(one - minusHalf)' was evaluted to '{checked(one - minusHalf)}'. Expected: '{1 - long.MinValue / 2}'."); + Console.WriteLine($"'checked(one - minusHalf)' was evaluated to '{checked(one - minusHalf)}'. Expected: '{1 - long.MinValue / 2}'."); _counter++; } } @@ -4624,7 +4624,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(one - minusOne) != 1 - -1) { - Console.WriteLine($"'checked(one - minusOne)' was evaluted to '{checked(one - minusOne)}'. Expected: '{1 - -1}'."); + Console.WriteLine($"'checked(one - minusOne)' was evaluated to '{checked(one - minusOne)}'. Expected: '{1 - -1}'."); _counter++; } } @@ -4640,7 +4640,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(one - zero) != 1 - 0) { - Console.WriteLine($"'checked(one - zero)' was evaluted to '{checked(one - zero)}'. Expected: '{1 - 0}'."); + Console.WriteLine($"'checked(one - zero)' was evaluated to '{checked(one - zero)}'. Expected: '{1 - 0}'."); _counter++; } } @@ -4655,7 +4655,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(one - one) != 1 - 1) { - Console.WriteLine($"'checked(one - one)' was evaluted to '{checked(one - one)}'. Expected: '{1 - 1}'."); + Console.WriteLine($"'checked(one - one)' was evaluated to '{checked(one - one)}'. Expected: '{1 - 1}'."); _counter++; } } @@ -4671,7 +4671,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(one - half) != 1 - long.MaxValue / 2) { - Console.WriteLine($"'checked(one - half)' was evaluted to '{checked(one - half)}'. Expected: '{1 - long.MaxValue / 2}'."); + Console.WriteLine($"'checked(one - half)' was evaluated to '{checked(one - half)}'. Expected: '{1 - long.MaxValue / 2}'."); _counter++; } } @@ -4687,7 +4687,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(one - max) != 1 - long.MaxValue) { - Console.WriteLine($"'checked(one - max)' was evaluted to '{checked(one - max)}'. Expected: '{1 - long.MaxValue}'."); + Console.WriteLine($"'checked(one - max)' was evaluated to '{checked(one - max)}'. Expected: '{1 - long.MaxValue}'."); _counter++; } } @@ -4719,7 +4719,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(half - minusHalf) != long.MaxValue / 2 - long.MinValue / 2) { - Console.WriteLine($"'checked(half - minusHalf)' was evaluted to '{checked(half - minusHalf)}'. Expected: '{long.MaxValue / 2 - long.MinValue / 2}'."); + Console.WriteLine($"'checked(half - minusHalf)' was evaluated to '{checked(half - minusHalf)}'. Expected: '{long.MaxValue / 2 - long.MinValue / 2}'."); _counter++; } } @@ -4735,7 +4735,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(half - minusOne) != long.MaxValue / 2 - -1) { - Console.WriteLine($"'checked(half - minusOne)' was evaluted to '{checked(half - minusOne)}'. Expected: '{long.MaxValue / 2 - -1}'."); + Console.WriteLine($"'checked(half - minusOne)' was evaluated to '{checked(half - minusOne)}'. Expected: '{long.MaxValue / 2 - -1}'."); _counter++; } } @@ -4751,7 +4751,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(half - zero) != long.MaxValue / 2 - 0) { - Console.WriteLine($"'checked(half - zero)' was evaluted to '{checked(half - zero)}'. Expected: '{long.MaxValue / 2 - 0}'."); + Console.WriteLine($"'checked(half - zero)' was evaluated to '{checked(half - zero)}'. Expected: '{long.MaxValue / 2 - 0}'."); _counter++; } } @@ -4767,7 +4767,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(half - one) != long.MaxValue / 2 - 1) { - Console.WriteLine($"'checked(half - one)' was evaluted to '{checked(half - one)}'. Expected: '{long.MaxValue / 2 - 1}'."); + Console.WriteLine($"'checked(half - one)' was evaluated to '{checked(half - one)}'. Expected: '{long.MaxValue / 2 - 1}'."); _counter++; } } @@ -4782,7 +4782,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(half - half) != long.MaxValue / 2 - long.MaxValue / 2) { - Console.WriteLine($"'checked(half - half)' was evaluted to '{checked(half - half)}'. Expected: '{long.MaxValue / 2 - long.MaxValue / 2}'."); + Console.WriteLine($"'checked(half - half)' was evaluated to '{checked(half - half)}'. Expected: '{long.MaxValue / 2 - long.MaxValue / 2}'."); _counter++; } } @@ -4798,7 +4798,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(half - max) != long.MaxValue / 2 - long.MaxValue) { - Console.WriteLine($"'checked(half - max)' was evaluted to '{checked(half - max)}'. Expected: '{long.MaxValue / 2 - long.MaxValue}'."); + Console.WriteLine($"'checked(half - max)' was evaluated to '{checked(half - max)}'. Expected: '{long.MaxValue / 2 - long.MaxValue}'."); _counter++; } } @@ -4862,7 +4862,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(max - zero) != long.MaxValue - 0) { - Console.WriteLine($"'checked(max - zero)' was evaluted to '{checked(max - zero)}'. Expected: '{long.MaxValue - 0}'."); + Console.WriteLine($"'checked(max - zero)' was evaluated to '{checked(max - zero)}'. Expected: '{long.MaxValue - 0}'."); _counter++; } } @@ -4878,7 +4878,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(max - one) != long.MaxValue - 1) { - Console.WriteLine($"'checked(max - one)' was evaluted to '{checked(max - one)}'. Expected: '{long.MaxValue - 1}'."); + Console.WriteLine($"'checked(max - one)' was evaluated to '{checked(max - one)}'. Expected: '{long.MaxValue - 1}'."); _counter++; } } @@ -4894,7 +4894,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(max - half) != long.MaxValue - long.MaxValue / 2) { - Console.WriteLine($"'checked(max - half)' was evaluted to '{checked(max - half)}'. Expected: '{long.MaxValue - long.MaxValue / 2}'."); + Console.WriteLine($"'checked(max - half)' was evaluated to '{checked(max - half)}'. Expected: '{long.MaxValue - long.MaxValue / 2}'."); _counter++; } } @@ -4909,7 +4909,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(max - max) != long.MaxValue - long.MaxValue) { - Console.WriteLine($"'checked(max - max)' was evaluted to '{checked(max - max)}'. Expected: '{long.MaxValue - long.MaxValue}'."); + Console.WriteLine($"'checked(max - max)' was evaluated to '{checked(max - max)}'. Expected: '{long.MaxValue - long.MaxValue}'."); _counter++; } } @@ -4973,7 +4973,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(min * zero) != long.MinValue * 0) { - Console.WriteLine($"'checked(min * zero)' was evaluted to '{checked(min * zero)}'. Expected: '{long.MinValue * 0}'."); + Console.WriteLine($"'checked(min * zero)' was evaluated to '{checked(min * zero)}'. Expected: '{long.MinValue * 0}'."); _counter++; } } @@ -4989,7 +4989,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(min * one) != long.MinValue * 1) { - Console.WriteLine($"'checked(min * one)' was evaluted to '{checked(min * one)}'. Expected: '{long.MinValue * 1}'."); + Console.WriteLine($"'checked(min * one)' was evaluated to '{checked(min * one)}'. Expected: '{long.MinValue * 1}'."); _counter++; } } @@ -5068,7 +5068,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(minusHalf * minusOne) != long.MinValue / 2 * -1) { - Console.WriteLine($"'checked(minusHalf * minusOne)' was evaluted to '{checked(minusHalf * minusOne)}'. Expected: '{long.MinValue / 2 * -1}'."); + Console.WriteLine($"'checked(minusHalf * minusOne)' was evaluated to '{checked(minusHalf * minusOne)}'. Expected: '{long.MinValue / 2 * -1}'."); _counter++; } } @@ -5084,7 +5084,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(minusHalf * zero) != long.MinValue / 2 * 0) { - Console.WriteLine($"'checked(minusHalf * zero)' was evaluted to '{checked(minusHalf * zero)}'. Expected: '{long.MinValue / 2 * 0}'."); + Console.WriteLine($"'checked(minusHalf * zero)' was evaluated to '{checked(minusHalf * zero)}'. Expected: '{long.MinValue / 2 * 0}'."); _counter++; } } @@ -5100,7 +5100,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(minusHalf * one) != long.MinValue / 2 * 1) { - Console.WriteLine($"'checked(minusHalf * one)' was evaluted to '{checked(minusHalf * one)}'. Expected: '{long.MinValue / 2 * 1}'."); + Console.WriteLine($"'checked(minusHalf * one)' was evaluated to '{checked(minusHalf * one)}'. Expected: '{long.MinValue / 2 * 1}'."); _counter++; } } @@ -5164,7 +5164,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(minusOne * minusHalf) != -1 * (long.MinValue / 2)) { - Console.WriteLine($"'checked(minusOne * minusHalf)' was evaluted to '{checked(minusOne * minusHalf)}'. Expected: '{-1 * (long.MinValue / 2)}'."); + Console.WriteLine($"'checked(minusOne * minusHalf)' was evaluated to '{checked(minusOne * minusHalf)}'. Expected: '{-1 * (long.MinValue / 2)}'."); _counter++; } } @@ -5179,7 +5179,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(minusOne * minusOne) != -1 * -1) { - Console.WriteLine($"'checked(minusOne * minusOne)' was evaluted to '{checked(minusOne * minusOne)}'. Expected: '{-1 * -1}'."); + Console.WriteLine($"'checked(minusOne * minusOne)' was evaluated to '{checked(minusOne * minusOne)}'. Expected: '{-1 * -1}'."); _counter++; } } @@ -5195,7 +5195,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(minusOne * zero) != -1 * 0) { - Console.WriteLine($"'checked(minusOne * zero)' was evaluted to '{checked(minusOne * zero)}'. Expected: '{-1 * 0}'."); + Console.WriteLine($"'checked(minusOne * zero)' was evaluated to '{checked(minusOne * zero)}'. Expected: '{-1 * 0}'."); _counter++; } } @@ -5211,7 +5211,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(minusOne * one) != -1 * 1) { - Console.WriteLine($"'checked(minusOne * one)' was evaluted to '{checked(minusOne * one)}'. Expected: '{-1 * 1}'."); + Console.WriteLine($"'checked(minusOne * one)' was evaluated to '{checked(minusOne * one)}'. Expected: '{-1 * 1}'."); _counter++; } } @@ -5227,7 +5227,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(minusOne * half) != -1 * (long.MaxValue / 2)) { - Console.WriteLine($"'checked(minusOne * half)' was evaluted to '{checked(minusOne * half)}'. Expected: '{-1 * (long.MaxValue / 2)}'."); + Console.WriteLine($"'checked(minusOne * half)' was evaluated to '{checked(minusOne * half)}'. Expected: '{-1 * (long.MaxValue / 2)}'."); _counter++; } } @@ -5243,7 +5243,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(minusOne * max) != -1 * long.MaxValue) { - Console.WriteLine($"'checked(minusOne * max)' was evaluted to '{checked(minusOne * max)}'. Expected: '{-1 * long.MaxValue}'."); + Console.WriteLine($"'checked(minusOne * max)' was evaluated to '{checked(minusOne * max)}'. Expected: '{-1 * long.MaxValue}'."); _counter++; } } @@ -5259,7 +5259,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(zero * min) != 0 * long.MinValue) { - Console.WriteLine($"'checked(zero * min)' was evaluted to '{checked(zero * min)}'. Expected: '{0 * long.MinValue}'."); + Console.WriteLine($"'checked(zero * min)' was evaluated to '{checked(zero * min)}'. Expected: '{0 * long.MinValue}'."); _counter++; } } @@ -5275,7 +5275,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(zero * minusHalf) != 0 * (long.MinValue / 2)) { - Console.WriteLine($"'checked(zero * minusHalf)' was evaluted to '{checked(zero * minusHalf)}'. Expected: '{0 * (long.MinValue / 2)}'."); + Console.WriteLine($"'checked(zero * minusHalf)' was evaluated to '{checked(zero * minusHalf)}'. Expected: '{0 * (long.MinValue / 2)}'."); _counter++; } } @@ -5291,7 +5291,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(zero * minusOne) != 0 * -1) { - Console.WriteLine($"'checked(zero * minusOne)' was evaluted to '{checked(zero * minusOne)}'. Expected: '{0 * -1}'."); + Console.WriteLine($"'checked(zero * minusOne)' was evaluated to '{checked(zero * minusOne)}'. Expected: '{0 * -1}'."); _counter++; } } @@ -5306,7 +5306,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(zero * zero) != 0 * 0) { - Console.WriteLine($"'checked(zero * zero)' was evaluted to '{checked(zero * zero)}'. Expected: '{0 * 0}'."); + Console.WriteLine($"'checked(zero * zero)' was evaluated to '{checked(zero * zero)}'. Expected: '{0 * 0}'."); _counter++; } } @@ -5322,7 +5322,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(zero * one) != 0 * 1) { - Console.WriteLine($"'checked(zero * one)' was evaluted to '{checked(zero * one)}'. Expected: '{0 * 1}'."); + Console.WriteLine($"'checked(zero * one)' was evaluated to '{checked(zero * one)}'. Expected: '{0 * 1}'."); _counter++; } } @@ -5338,7 +5338,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(zero * half) != 0 * (long.MaxValue / 2)) { - Console.WriteLine($"'checked(zero * half)' was evaluted to '{checked(zero * half)}'. Expected: '{0 * (long.MaxValue / 2)}'."); + Console.WriteLine($"'checked(zero * half)' was evaluated to '{checked(zero * half)}'. Expected: '{0 * (long.MaxValue / 2)}'."); _counter++; } } @@ -5354,7 +5354,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(zero * max) != 0 * long.MaxValue) { - Console.WriteLine($"'checked(zero * max)' was evaluted to '{checked(zero * max)}'. Expected: '{0 * long.MaxValue}'."); + Console.WriteLine($"'checked(zero * max)' was evaluated to '{checked(zero * max)}'. Expected: '{0 * long.MaxValue}'."); _counter++; } } @@ -5370,7 +5370,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(one * min) != 1 * long.MinValue) { - Console.WriteLine($"'checked(one * min)' was evaluted to '{checked(one * min)}'. Expected: '{1 * long.MinValue}'."); + Console.WriteLine($"'checked(one * min)' was evaluated to '{checked(one * min)}'. Expected: '{1 * long.MinValue}'."); _counter++; } } @@ -5386,7 +5386,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(one * minusHalf) != 1 * (long.MinValue / 2)) { - Console.WriteLine($"'checked(one * minusHalf)' was evaluted to '{checked(one * minusHalf)}'. Expected: '{1 * (long.MinValue / 2)}'."); + Console.WriteLine($"'checked(one * minusHalf)' was evaluated to '{checked(one * minusHalf)}'. Expected: '{1 * (long.MinValue / 2)}'."); _counter++; } } @@ -5402,7 +5402,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(one * minusOne) != 1 * -1) { - Console.WriteLine($"'checked(one * minusOne)' was evaluted to '{checked(one * minusOne)}'. Expected: '{1 * -1}'."); + Console.WriteLine($"'checked(one * minusOne)' was evaluated to '{checked(one * minusOne)}'. Expected: '{1 * -1}'."); _counter++; } } @@ -5418,7 +5418,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(one * zero) != 1 * 0) { - Console.WriteLine($"'checked(one * zero)' was evaluted to '{checked(one * zero)}'. Expected: '{1 * 0}'."); + Console.WriteLine($"'checked(one * zero)' was evaluated to '{checked(one * zero)}'. Expected: '{1 * 0}'."); _counter++; } } @@ -5433,7 +5433,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(one * one) != 1 * 1) { - Console.WriteLine($"'checked(one * one)' was evaluted to '{checked(one * one)}'. Expected: '{1 * 1}'."); + Console.WriteLine($"'checked(one * one)' was evaluated to '{checked(one * one)}'. Expected: '{1 * 1}'."); _counter++; } } @@ -5449,7 +5449,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(one * half) != 1 * (long.MaxValue / 2)) { - Console.WriteLine($"'checked(one * half)' was evaluted to '{checked(one * half)}'. Expected: '{1 * (long.MaxValue / 2)}'."); + Console.WriteLine($"'checked(one * half)' was evaluated to '{checked(one * half)}'. Expected: '{1 * (long.MaxValue / 2)}'."); _counter++; } } @@ -5465,7 +5465,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(one * max) != 1 * long.MaxValue) { - Console.WriteLine($"'checked(one * max)' was evaluted to '{checked(one * max)}'. Expected: '{1 * long.MaxValue}'."); + Console.WriteLine($"'checked(one * max)' was evaluated to '{checked(one * max)}'. Expected: '{1 * long.MaxValue}'."); _counter++; } } @@ -5513,7 +5513,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(half * minusOne) != long.MaxValue / 2 * -1) { - Console.WriteLine($"'checked(half * minusOne)' was evaluted to '{checked(half * minusOne)}'. Expected: '{long.MaxValue / 2 * -1}'."); + Console.WriteLine($"'checked(half * minusOne)' was evaluated to '{checked(half * minusOne)}'. Expected: '{long.MaxValue / 2 * -1}'."); _counter++; } } @@ -5529,7 +5529,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(half * zero) != long.MaxValue / 2 * 0) { - Console.WriteLine($"'checked(half * zero)' was evaluted to '{checked(half * zero)}'. Expected: '{long.MaxValue / 2 * 0}'."); + Console.WriteLine($"'checked(half * zero)' was evaluated to '{checked(half * zero)}'. Expected: '{long.MaxValue / 2 * 0}'."); _counter++; } } @@ -5545,7 +5545,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(half * one) != long.MaxValue / 2 * 1) { - Console.WriteLine($"'checked(half * one)' was evaluted to '{checked(half * one)}'. Expected: '{long.MaxValue / 2 * 1}'."); + Console.WriteLine($"'checked(half * one)' was evaluated to '{checked(half * one)}'. Expected: '{long.MaxValue / 2 * 1}'."); _counter++; } } @@ -5624,7 +5624,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(max * minusOne) != long.MaxValue * -1) { - Console.WriteLine($"'checked(max * minusOne)' was evaluted to '{checked(max * minusOne)}'. Expected: '{long.MaxValue * -1}'."); + Console.WriteLine($"'checked(max * minusOne)' was evaluated to '{checked(max * minusOne)}'. Expected: '{long.MaxValue * -1}'."); _counter++; } } @@ -5640,7 +5640,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(max * zero) != long.MaxValue * 0) { - Console.WriteLine($"'checked(max * zero)' was evaluted to '{checked(max * zero)}'. Expected: '{long.MaxValue * 0}'."); + Console.WriteLine($"'checked(max * zero)' was evaluated to '{checked(max * zero)}'. Expected: '{long.MaxValue * 0}'."); _counter++; } } @@ -5656,7 +5656,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(max * one) != long.MaxValue * 1) { - Console.WriteLine($"'checked(max * one)' was evaluted to '{checked(max * one)}'. Expected: '{long.MaxValue * 1}'."); + Console.WriteLine($"'checked(max * one)' was evaluated to '{checked(max * one)}'. Expected: '{long.MaxValue * 1}'."); _counter++; } } @@ -5706,13 +5706,13 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(value + zero) != value) { - Console.WriteLine($"Addition identity for ulong 'checked(value + zero)' was evaluted to '{checked(value + zero)}'. Expected: '{value}'."); + Console.WriteLine($"Addition identity for ulong 'checked(value + zero)' was evaluated to '{checked(value + zero)}'. Expected: '{value}'."); _counter++; } if (checked(zero + value) != value) { - Console.WriteLine($"Addition identity for ulong 'checked(zero + value)' was evaluted to '{checked(zero + value)}'. Expected: '{value}'."); + Console.WriteLine($"Addition identity for ulong 'checked(zero + value)' was evaluated to '{checked(zero + value)}'. Expected: '{value}'."); _counter++; } } @@ -5727,13 +5727,13 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(value - zero) != value) { - Console.WriteLine($"Subtraction identity for ulong 'checked(value - zero)' was evaluted to '{checked(value - zero)}'. Expected: '{value}'."); + Console.WriteLine($"Subtraction identity for ulong 'checked(value - zero)' was evaluated to '{checked(value - zero)}'. Expected: '{value}'."); _counter++; } if (checked(value - value) != 0) { - Console.WriteLine($"Subtraction identity for ulong 'checked(value - value)' was evaluted to '{checked(value - value)}'. Expected: '{0}'."); + Console.WriteLine($"Subtraction identity for ulong 'checked(value - value)' was evaluated to '{checked(value - value)}'. Expected: '{0}'."); _counter++; } } @@ -5749,25 +5749,25 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(value * zero) != 0) { - Console.WriteLine($"Multiplication identity for ulong 'checked(value * zero)' was evaluted to '{checked(value * zero)}'. Expected: '{0}'."); + Console.WriteLine($"Multiplication identity for ulong 'checked(value * zero)' was evaluated to '{checked(value * zero)}'. Expected: '{0}'."); _counter++; } if (checked(zero * value) != 0) { - Console.WriteLine($"Multiplication identity for ulong 'checked(zero * value)' was evaluted to '{checked(zero * value)}'. Expected: '{0}'."); + Console.WriteLine($"Multiplication identity for ulong 'checked(zero * value)' was evaluated to '{checked(zero * value)}'. Expected: '{0}'."); _counter++; } if (checked(value * one) != value) { - Console.WriteLine($"Multiplication identity for ulong 'checked(value * one)' was evaluted to '{checked(value * one)}'. Expected: '{value}'."); + Console.WriteLine($"Multiplication identity for ulong 'checked(value * one)' was evaluated to '{checked(value * one)}'. Expected: '{value}'."); _counter++; } if (checked(one * value) != value) { - Console.WriteLine($"Multiplication identity for ulong 'checked(one * value)' was evaluted to '{checked(one * value)}'. Expected: '{value}'."); + Console.WriteLine($"Multiplication identity for ulong 'checked(one * value)' was evaluated to '{checked(one * value)}'. Expected: '{value}'."); _counter++; } } @@ -5782,7 +5782,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(zero + zero) != 0 + 0) { - Console.WriteLine($"'checked(zero + zero)' was evaluted to '{checked(zero + zero)}'. Expected: '{0 + 0}'."); + Console.WriteLine($"'checked(zero + zero)' was evaluated to '{checked(zero + zero)}'. Expected: '{0 + 0}'."); _counter++; } } @@ -5798,7 +5798,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(zero + one) != 0 + 1) { - Console.WriteLine($"'checked(zero + one)' was evaluted to '{checked(zero + one)}'. Expected: '{0 + 1}'."); + Console.WriteLine($"'checked(zero + one)' was evaluated to '{checked(zero + one)}'. Expected: '{0 + 1}'."); _counter++; } } @@ -5814,7 +5814,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(zero + half) != 0 + ulong.MaxValue / 2) { - Console.WriteLine($"'checked(zero + half)' was evaluted to '{checked(zero + half)}'. Expected: '{0 + ulong.MaxValue / 2}'."); + Console.WriteLine($"'checked(zero + half)' was evaluated to '{checked(zero + half)}'. Expected: '{0 + ulong.MaxValue / 2}'."); _counter++; } } @@ -5830,7 +5830,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(zero + max) != 0 + ulong.MaxValue) { - Console.WriteLine($"'checked(zero + max)' was evaluted to '{checked(zero + max)}'. Expected: '{0 + ulong.MaxValue}'."); + Console.WriteLine($"'checked(zero + max)' was evaluated to '{checked(zero + max)}'. Expected: '{0 + ulong.MaxValue}'."); _counter++; } } @@ -5846,7 +5846,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(one + zero) != 1 + 0) { - Console.WriteLine($"'checked(one + zero)' was evaluted to '{checked(one + zero)}'. Expected: '{1 + 0}'."); + Console.WriteLine($"'checked(one + zero)' was evaluated to '{checked(one + zero)}'. Expected: '{1 + 0}'."); _counter++; } } @@ -5861,7 +5861,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(one + one) != 1 + 1) { - Console.WriteLine($"'checked(one + one)' was evaluted to '{checked(one + one)}'. Expected: '{1 + 1}'."); + Console.WriteLine($"'checked(one + one)' was evaluated to '{checked(one + one)}'. Expected: '{1 + 1}'."); _counter++; } } @@ -5877,7 +5877,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(one + half) != 1 + ulong.MaxValue / 2) { - Console.WriteLine($"'checked(one + half)' was evaluted to '{checked(one + half)}'. Expected: '{1 + ulong.MaxValue / 2}'."); + Console.WriteLine($"'checked(one + half)' was evaluated to '{checked(one + half)}'. Expected: '{1 + ulong.MaxValue / 2}'."); _counter++; } } @@ -5909,7 +5909,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(half + zero) != ulong.MaxValue / 2 + 0) { - Console.WriteLine($"'checked(half + zero)' was evaluted to '{checked(half + zero)}'. Expected: '{ulong.MaxValue / 2 + 0}'."); + Console.WriteLine($"'checked(half + zero)' was evaluated to '{checked(half + zero)}'. Expected: '{ulong.MaxValue / 2 + 0}'."); _counter++; } } @@ -5925,7 +5925,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(half + one) != ulong.MaxValue / 2 + 1) { - Console.WriteLine($"'checked(half + one)' was evaluted to '{checked(half + one)}'. Expected: '{ulong.MaxValue / 2 + 1}'."); + Console.WriteLine($"'checked(half + one)' was evaluated to '{checked(half + one)}'. Expected: '{ulong.MaxValue / 2 + 1}'."); _counter++; } } @@ -5940,7 +5940,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(half + half) != ulong.MaxValue / 2 + ulong.MaxValue / 2) { - Console.WriteLine($"'checked(half + half)' was evaluted to '{checked(half + half)}'. Expected: '{ulong.MaxValue / 2 + ulong.MaxValue / 2}'."); + Console.WriteLine($"'checked(half + half)' was evaluated to '{checked(half + half)}'. Expected: '{ulong.MaxValue / 2 + ulong.MaxValue / 2}'."); _counter++; } } @@ -5972,7 +5972,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(max + zero) != ulong.MaxValue + 0) { - Console.WriteLine($"'checked(max + zero)' was evaluted to '{checked(max + zero)}'. Expected: '{ulong.MaxValue + 0}'."); + Console.WriteLine($"'checked(max + zero)' was evaluated to '{checked(max + zero)}'. Expected: '{ulong.MaxValue + 0}'."); _counter++; } } @@ -6035,7 +6035,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(zero - zero) != 0 - 0) { - Console.WriteLine($"'checked(zero - zero)' was evaluted to '{checked(zero - zero)}'. Expected: '{0 - 0}'."); + Console.WriteLine($"'checked(zero - zero)' was evaluated to '{checked(zero - zero)}'. Expected: '{0 - 0}'."); _counter++; } } @@ -6099,7 +6099,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(one - zero) != 1 - 0) { - Console.WriteLine($"'checked(one - zero)' was evaluted to '{checked(one - zero)}'. Expected: '{1 - 0}'."); + Console.WriteLine($"'checked(one - zero)' was evaluated to '{checked(one - zero)}'. Expected: '{1 - 0}'."); _counter++; } } @@ -6114,7 +6114,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(one - one) != 1 - 1) { - Console.WriteLine($"'checked(one - one)' was evaluted to '{checked(one - one)}'. Expected: '{1 - 1}'."); + Console.WriteLine($"'checked(one - one)' was evaluated to '{checked(one - one)}'. Expected: '{1 - 1}'."); _counter++; } } @@ -6162,7 +6162,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(half - zero) != ulong.MaxValue / 2 - 0) { - Console.WriteLine($"'checked(half - zero)' was evaluted to '{checked(half - zero)}'. Expected: '{ulong.MaxValue / 2 - 0}'."); + Console.WriteLine($"'checked(half - zero)' was evaluated to '{checked(half - zero)}'. Expected: '{ulong.MaxValue / 2 - 0}'."); _counter++; } } @@ -6178,7 +6178,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(half - one) != ulong.MaxValue / 2 - 1) { - Console.WriteLine($"'checked(half - one)' was evaluted to '{checked(half - one)}'. Expected: '{ulong.MaxValue / 2 - 1}'."); + Console.WriteLine($"'checked(half - one)' was evaluated to '{checked(half - one)}'. Expected: '{ulong.MaxValue / 2 - 1}'."); _counter++; } } @@ -6193,7 +6193,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(half - half) != ulong.MaxValue / 2 - ulong.MaxValue / 2) { - Console.WriteLine($"'checked(half - half)' was evaluted to '{checked(half - half)}'. Expected: '{ulong.MaxValue / 2 - ulong.MaxValue / 2}'."); + Console.WriteLine($"'checked(half - half)' was evaluated to '{checked(half - half)}'. Expected: '{ulong.MaxValue / 2 - ulong.MaxValue / 2}'."); _counter++; } } @@ -6225,7 +6225,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(max - zero) != ulong.MaxValue - 0) { - Console.WriteLine($"'checked(max - zero)' was evaluted to '{checked(max - zero)}'. Expected: '{ulong.MaxValue - 0}'."); + Console.WriteLine($"'checked(max - zero)' was evaluated to '{checked(max - zero)}'. Expected: '{ulong.MaxValue - 0}'."); _counter++; } } @@ -6241,7 +6241,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(max - one) != ulong.MaxValue - 1) { - Console.WriteLine($"'checked(max - one)' was evaluted to '{checked(max - one)}'. Expected: '{ulong.MaxValue - 1}'."); + Console.WriteLine($"'checked(max - one)' was evaluated to '{checked(max - one)}'. Expected: '{ulong.MaxValue - 1}'."); _counter++; } } @@ -6257,7 +6257,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(max - half) != ulong.MaxValue - ulong.MaxValue / 2) { - Console.WriteLine($"'checked(max - half)' was evaluted to '{checked(max - half)}'. Expected: '{ulong.MaxValue - ulong.MaxValue / 2}'."); + Console.WriteLine($"'checked(max - half)' was evaluated to '{checked(max - half)}'. Expected: '{ulong.MaxValue - ulong.MaxValue / 2}'."); _counter++; } } @@ -6272,7 +6272,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(max - max) != ulong.MaxValue - ulong.MaxValue) { - Console.WriteLine($"'checked(max - max)' was evaluted to '{checked(max - max)}'. Expected: '{ulong.MaxValue - ulong.MaxValue}'."); + Console.WriteLine($"'checked(max - max)' was evaluated to '{checked(max - max)}'. Expected: '{ulong.MaxValue - ulong.MaxValue}'."); _counter++; } } @@ -6288,7 +6288,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(zero * zero) != 0 * 0) { - Console.WriteLine($"'checked(zero * zero)' was evaluted to '{checked(zero * zero)}'. Expected: '{0 * 0}'."); + Console.WriteLine($"'checked(zero * zero)' was evaluated to '{checked(zero * zero)}'. Expected: '{0 * 0}'."); _counter++; } } @@ -6304,7 +6304,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(zero * one) != 0 * 1) { - Console.WriteLine($"'checked(zero * one)' was evaluted to '{checked(zero * one)}'. Expected: '{0 * 1}'."); + Console.WriteLine($"'checked(zero * one)' was evaluated to '{checked(zero * one)}'. Expected: '{0 * 1}'."); _counter++; } } @@ -6320,7 +6320,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(zero * half) != 0 * (ulong.MaxValue / 2)) { - Console.WriteLine($"'checked(zero * half)' was evaluted to '{checked(zero * half)}'. Expected: '{0 * (ulong.MaxValue / 2)}'."); + Console.WriteLine($"'checked(zero * half)' was evaluated to '{checked(zero * half)}'. Expected: '{0 * (ulong.MaxValue / 2)}'."); _counter++; } } @@ -6336,7 +6336,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(zero * max) != 0 * ulong.MaxValue) { - Console.WriteLine($"'checked(zero * max)' was evaluted to '{checked(zero * max)}'. Expected: '{0 * ulong.MaxValue}'."); + Console.WriteLine($"'checked(zero * max)' was evaluated to '{checked(zero * max)}'. Expected: '{0 * ulong.MaxValue}'."); _counter++; } } @@ -6352,7 +6352,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(one * zero) != 1 * 0) { - Console.WriteLine($"'checked(one * zero)' was evaluted to '{checked(one * zero)}'. Expected: '{1 * 0}'."); + Console.WriteLine($"'checked(one * zero)' was evaluated to '{checked(one * zero)}'. Expected: '{1 * 0}'."); _counter++; } } @@ -6367,7 +6367,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(one * one) != 1 * 1) { - Console.WriteLine($"'checked(one * one)' was evaluted to '{checked(one * one)}'. Expected: '{1 * 1}'."); + Console.WriteLine($"'checked(one * one)' was evaluated to '{checked(one * one)}'. Expected: '{1 * 1}'."); _counter++; } } @@ -6383,7 +6383,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(one * half) != 1 * (ulong.MaxValue / 2)) { - Console.WriteLine($"'checked(one * half)' was evaluted to '{checked(one * half)}'. Expected: '{1 * (ulong.MaxValue / 2)}'."); + Console.WriteLine($"'checked(one * half)' was evaluated to '{checked(one * half)}'. Expected: '{1 * (ulong.MaxValue / 2)}'."); _counter++; } } @@ -6399,7 +6399,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(one * max) != 1 * ulong.MaxValue) { - Console.WriteLine($"'checked(one * max)' was evaluted to '{checked(one * max)}'. Expected: '{1 * ulong.MaxValue}'."); + Console.WriteLine($"'checked(one * max)' was evaluated to '{checked(one * max)}'. Expected: '{1 * ulong.MaxValue}'."); _counter++; } } @@ -6415,7 +6415,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(half * zero) != ulong.MaxValue / 2 * 0) { - Console.WriteLine($"'checked(half * zero)' was evaluted to '{checked(half * zero)}'. Expected: '{ulong.MaxValue / 2 * 0}'."); + Console.WriteLine($"'checked(half * zero)' was evaluated to '{checked(half * zero)}'. Expected: '{ulong.MaxValue / 2 * 0}'."); _counter++; } } @@ -6431,7 +6431,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(half * one) != ulong.MaxValue / 2 * 1) { - Console.WriteLine($"'checked(half * one)' was evaluted to '{checked(half * one)}'. Expected: '{ulong.MaxValue / 2 * 1}'."); + Console.WriteLine($"'checked(half * one)' was evaluated to '{checked(half * one)}'. Expected: '{ulong.MaxValue / 2 * 1}'."); _counter++; } } @@ -6478,7 +6478,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(max * zero) != ulong.MaxValue * 0) { - Console.WriteLine($"'checked(max * zero)' was evaluted to '{checked(max * zero)}'. Expected: '{ulong.MaxValue * 0}'."); + Console.WriteLine($"'checked(max * zero)' was evaluated to '{checked(max * zero)}'. Expected: '{ulong.MaxValue * 0}'."); _counter++; } } @@ -6494,7 +6494,7 @@ public class ValueNumberingCheckedIntegerArithemticWithConstants if (checked(max * one) != ulong.MaxValue * 1) { - Console.WriteLine($"'checked(max * one)' was evaluted to '{checked(max * one)}'. Expected: '{ulong.MaxValue * 1}'."); + Console.WriteLine($"'checked(max * one)' was evaluated to '{checked(max * one)}'. Expected: '{ulong.MaxValue * 1}'."); _counter++; } } diff --git a/src/tests/JIT/Directed/Convert/value_numbering_checked_casts_of_constants_byte.cs b/src/tests/JIT/Directed/Convert/value_numbering_checked_casts_of_constants_byte.cs index 0cfbe687950..2f2fb43920e 100644 --- a/src/tests/JIT/Directed/Convert/value_numbering_checked_casts_of_constants_byte.cs +++ b/src/tests/JIT/Directed/Convert/value_numbering_checked_casts_of_constants_byte.cs @@ -19,7 +19,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerZero) != 0f) { - Console.WriteLine($"'(float)0' was evaluted to '{(float)integerZero}'. Expected: '0f'."); + Console.WriteLine($"'(float)0' was evaluated to '{(float)integerZero}'. Expected: '0f'."); _counter++; } } @@ -34,7 +34,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)sByteMinValue) != -128f) { - Console.WriteLine($"'(float)-128' was evaluted to '{(float)sByteMinValue}'. Expected: '-128f'."); + Console.WriteLine($"'(float)-128' was evaluated to '{(float)sByteMinValue}'. Expected: '-128f'."); _counter++; } } @@ -49,7 +49,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)sByteMaxValue) != 127f) { - Console.WriteLine($"'(float)127' was evaluted to '{(float)sByteMaxValue}'. Expected: '127f'."); + Console.WriteLine($"'(float)127' was evaluated to '{(float)sByteMaxValue}'. Expected: '127f'."); _counter++; } } @@ -64,7 +64,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneIncrementAboveSByteMinValue) != -127f) { - Console.WriteLine($"'(float)-127' was evaluted to '{(float)integerOneIncrementAboveSByteMinValue}'. Expected: '-127f'."); + Console.WriteLine($"'(float)-127' was evaluated to '{(float)integerOneIncrementAboveSByteMinValue}'. Expected: '-127f'."); _counter++; } } @@ -79,7 +79,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneDecrementUnderSByteMaxValue) != 126f) { - Console.WriteLine($"'(float)126' was evaluted to '{(float)integerOneDecrementUnderSByteMaxValue}'. Expected: '126f'."); + Console.WriteLine($"'(float)126' was evaluated to '{(float)integerOneDecrementUnderSByteMaxValue}'. Expected: '126f'."); _counter++; } } @@ -94,7 +94,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneDecrementUnderByteMinValue) != -1f) { - Console.WriteLine($"'(float)-1' was evaluted to '{(float)integerOneDecrementUnderByteMinValue}'. Expected: '-1f'."); + Console.WriteLine($"'(float)-1' was evaluated to '{(float)integerOneDecrementUnderByteMinValue}'. Expected: '-1f'."); _counter++; } } @@ -109,7 +109,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneIncrementAboveByteMinValue) != 1f) { - Console.WriteLine($"'(float)1' was evaluted to '{(float)integerOneIncrementAboveByteMinValue}'. Expected: '1f'."); + Console.WriteLine($"'(float)1' was evaluated to '{(float)integerOneIncrementAboveByteMinValue}'. Expected: '1f'."); _counter++; } } @@ -128,7 +128,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerZero) != 0d) { - Console.WriteLine($"'(double)0' was evaluted to '{(double)integerZero}'. Expected: '0d'."); + Console.WriteLine($"'(double)0' was evaluated to '{(double)integerZero}'. Expected: '0d'."); _counter++; } } @@ -143,7 +143,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)sByteMinValue) != -128d) { - Console.WriteLine($"'(double)-128' was evaluted to '{(double)sByteMinValue}'. Expected: '-128d'."); + Console.WriteLine($"'(double)-128' was evaluated to '{(double)sByteMinValue}'. Expected: '-128d'."); _counter++; } } @@ -158,7 +158,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)sByteMaxValue) != 127d) { - Console.WriteLine($"'(double)127' was evaluted to '{(double)sByteMaxValue}'. Expected: '127d'."); + Console.WriteLine($"'(double)127' was evaluated to '{(double)sByteMaxValue}'. Expected: '127d'."); _counter++; } } @@ -173,7 +173,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneIncrementAboveSByteMinValue) != -127d) { - Console.WriteLine($"'(double)-127' was evaluted to '{(double)integerOneIncrementAboveSByteMinValue}'. Expected: '-127d'."); + Console.WriteLine($"'(double)-127' was evaluated to '{(double)integerOneIncrementAboveSByteMinValue}'. Expected: '-127d'."); _counter++; } } @@ -188,7 +188,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneDecrementUnderSByteMaxValue) != 126d) { - Console.WriteLine($"'(double)126' was evaluted to '{(double)integerOneDecrementUnderSByteMaxValue}'. Expected: '126d'."); + Console.WriteLine($"'(double)126' was evaluated to '{(double)integerOneDecrementUnderSByteMaxValue}'. Expected: '126d'."); _counter++; } } @@ -203,7 +203,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneDecrementUnderByteMinValue) != -1d) { - Console.WriteLine($"'(double)-1' was evaluted to '{(double)integerOneDecrementUnderByteMinValue}'. Expected: '-1d'."); + Console.WriteLine($"'(double)-1' was evaluated to '{(double)integerOneDecrementUnderByteMinValue}'. Expected: '-1d'."); _counter++; } } @@ -218,7 +218,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneIncrementAboveByteMinValue) != 1d) { - Console.WriteLine($"'(double)1' was evaluted to '{(double)integerOneIncrementAboveByteMinValue}'. Expected: '1d'."); + Console.WriteLine($"'(double)1' was evaluated to '{(double)integerOneIncrementAboveByteMinValue}'. Expected: '1d'."); _counter++; } } @@ -237,7 +237,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)integerZero) != 0) { - Console.WriteLine($"'(sbyte)0' was evaluted to '{(sbyte)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(sbyte)0' was evaluated to '{(sbyte)integerZero}'. Expected: '0'."); _counter++; } } @@ -252,7 +252,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)sByteMinValue) != -128) { - Console.WriteLine($"'(sbyte)-128' was evaluted to '{(sbyte)sByteMinValue}'. Expected: '-128'."); + Console.WriteLine($"'(sbyte)-128' was evaluated to '{(sbyte)sByteMinValue}'. Expected: '-128'."); _counter++; } } @@ -267,7 +267,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)sByteMaxValue) != 127) { - Console.WriteLine($"'(sbyte)127' was evaluted to '{(sbyte)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(sbyte)127' was evaluated to '{(sbyte)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -282,7 +282,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)integerOneIncrementAboveSByteMinValue) != -127) { - Console.WriteLine($"'(sbyte)-127' was evaluted to '{(sbyte)integerOneIncrementAboveSByteMinValue}'. Expected: '-127'."); + Console.WriteLine($"'(sbyte)-127' was evaluated to '{(sbyte)integerOneIncrementAboveSByteMinValue}'. Expected: '-127'."); _counter++; } } @@ -297,7 +297,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(sbyte)126' was evaluted to '{(sbyte)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(sbyte)126' was evaluated to '{(sbyte)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -312,7 +312,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)integerOneDecrementUnderByteMinValue) != -1) { - Console.WriteLine($"'(sbyte)-1' was evaluted to '{(sbyte)integerOneDecrementUnderByteMinValue}'. Expected: '-1'."); + Console.WriteLine($"'(sbyte)-1' was evaluated to '{(sbyte)integerOneDecrementUnderByteMinValue}'. Expected: '-1'."); _counter++; } } @@ -327,7 +327,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(sbyte)1' was evaluted to '{(sbyte)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(sbyte)1' was evaluated to '{(sbyte)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -346,7 +346,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)integerZero) != 0) { - Console.WriteLine($"'(byte)0' was evaluted to '{(byte)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(byte)0' was evaluated to '{(byte)integerZero}'. Expected: '0'."); _counter++; } } @@ -375,7 +375,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)sByteMaxValue) != 127) { - Console.WriteLine($"'(byte)127' was evaluted to '{(byte)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(byte)127' was evaluated to '{(byte)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -404,7 +404,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(byte)126' was evaluted to '{(byte)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(byte)126' was evaluated to '{(byte)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -433,7 +433,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(byte)1' was evaluted to '{(byte)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(byte)1' was evaluated to '{(byte)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -452,7 +452,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerZero) != 0) { - Console.WriteLine($"'(short)0' was evaluted to '{(short)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(short)0' was evaluated to '{(short)integerZero}'. Expected: '0'."); _counter++; } } @@ -467,7 +467,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)sByteMinValue) != -128) { - Console.WriteLine($"'(short)-128' was evaluted to '{(short)sByteMinValue}'. Expected: '-128'."); + Console.WriteLine($"'(short)-128' was evaluated to '{(short)sByteMinValue}'. Expected: '-128'."); _counter++; } } @@ -482,7 +482,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)sByteMaxValue) != 127) { - Console.WriteLine($"'(short)127' was evaluted to '{(short)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(short)127' was evaluated to '{(short)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -497,7 +497,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneIncrementAboveSByteMinValue) != -127) { - Console.WriteLine($"'(short)-127' was evaluted to '{(short)integerOneIncrementAboveSByteMinValue}'. Expected: '-127'."); + Console.WriteLine($"'(short)-127' was evaluated to '{(short)integerOneIncrementAboveSByteMinValue}'. Expected: '-127'."); _counter++; } } @@ -512,7 +512,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(short)126' was evaluted to '{(short)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(short)126' was evaluated to '{(short)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -527,7 +527,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneDecrementUnderByteMinValue) != -1) { - Console.WriteLine($"'(short)-1' was evaluted to '{(short)integerOneDecrementUnderByteMinValue}'. Expected: '-1'."); + Console.WriteLine($"'(short)-1' was evaluated to '{(short)integerOneDecrementUnderByteMinValue}'. Expected: '-1'."); _counter++; } } @@ -542,7 +542,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(short)1' was evaluted to '{(short)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(short)1' was evaluated to '{(short)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -561,7 +561,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerZero) != 0) { - Console.WriteLine($"'(ushort)0' was evaluted to '{(ushort)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(ushort)0' was evaluated to '{(ushort)integerZero}'. Expected: '0'."); _counter++; } } @@ -590,7 +590,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)sByteMaxValue) != 127) { - Console.WriteLine($"'(ushort)127' was evaluted to '{(ushort)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(ushort)127' was evaluated to '{(ushort)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -619,7 +619,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(ushort)126' was evaluted to '{(ushort)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(ushort)126' was evaluated to '{(ushort)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -648,7 +648,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(ushort)1' was evaluted to '{(ushort)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(ushort)1' was evaluated to '{(ushort)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -667,7 +667,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerZero) != 0) { - Console.WriteLine($"'(int)0' was evaluted to '{(int)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(int)0' was evaluated to '{(int)integerZero}'. Expected: '0'."); _counter++; } } @@ -682,7 +682,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)sByteMinValue) != -128) { - Console.WriteLine($"'(int)-128' was evaluted to '{(int)sByteMinValue}'. Expected: '-128'."); + Console.WriteLine($"'(int)-128' was evaluated to '{(int)sByteMinValue}'. Expected: '-128'."); _counter++; } } @@ -697,7 +697,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)sByteMaxValue) != 127) { - Console.WriteLine($"'(int)127' was evaluted to '{(int)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(int)127' was evaluated to '{(int)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -712,7 +712,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneIncrementAboveSByteMinValue) != -127) { - Console.WriteLine($"'(int)-127' was evaluted to '{(int)integerOneIncrementAboveSByteMinValue}'. Expected: '-127'."); + Console.WriteLine($"'(int)-127' was evaluated to '{(int)integerOneIncrementAboveSByteMinValue}'. Expected: '-127'."); _counter++; } } @@ -727,7 +727,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(int)126' was evaluted to '{(int)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(int)126' was evaluated to '{(int)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -742,7 +742,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneDecrementUnderByteMinValue) != -1) { - Console.WriteLine($"'(int)-1' was evaluted to '{(int)integerOneDecrementUnderByteMinValue}'. Expected: '-1'."); + Console.WriteLine($"'(int)-1' was evaluated to '{(int)integerOneDecrementUnderByteMinValue}'. Expected: '-1'."); _counter++; } } @@ -757,7 +757,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(int)1' was evaluted to '{(int)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(int)1' was evaluated to '{(int)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -776,7 +776,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerZero) != 0) { - Console.WriteLine($"'(uint)0' was evaluted to '{(uint)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(uint)0' was evaluated to '{(uint)integerZero}'. Expected: '0'."); _counter++; } } @@ -805,7 +805,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)sByteMaxValue) != 127) { - Console.WriteLine($"'(uint)127' was evaluted to '{(uint)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(uint)127' was evaluated to '{(uint)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -834,7 +834,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(uint)126' was evaluted to '{(uint)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(uint)126' was evaluated to '{(uint)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -863,7 +863,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(uint)1' was evaluted to '{(uint)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(uint)1' was evaluated to '{(uint)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -882,7 +882,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerZero) != 0) { - Console.WriteLine($"'(long)0' was evaluted to '{(long)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(long)0' was evaluated to '{(long)integerZero}'. Expected: '0'."); _counter++; } } @@ -897,7 +897,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)sByteMinValue) != -128) { - Console.WriteLine($"'(long)-128' was evaluted to '{(long)sByteMinValue}'. Expected: '-128'."); + Console.WriteLine($"'(long)-128' was evaluated to '{(long)sByteMinValue}'. Expected: '-128'."); _counter++; } } @@ -912,7 +912,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)sByteMaxValue) != 127) { - Console.WriteLine($"'(long)127' was evaluted to '{(long)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(long)127' was evaluated to '{(long)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -927,7 +927,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneIncrementAboveSByteMinValue) != -127) { - Console.WriteLine($"'(long)-127' was evaluted to '{(long)integerOneIncrementAboveSByteMinValue}'. Expected: '-127'."); + Console.WriteLine($"'(long)-127' was evaluated to '{(long)integerOneIncrementAboveSByteMinValue}'. Expected: '-127'."); _counter++; } } @@ -942,7 +942,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(long)126' was evaluted to '{(long)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(long)126' was evaluated to '{(long)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -957,7 +957,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneDecrementUnderByteMinValue) != -1) { - Console.WriteLine($"'(long)-1' was evaluted to '{(long)integerOneDecrementUnderByteMinValue}'. Expected: '-1'."); + Console.WriteLine($"'(long)-1' was evaluated to '{(long)integerOneDecrementUnderByteMinValue}'. Expected: '-1'."); _counter++; } } @@ -972,7 +972,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(long)1' was evaluted to '{(long)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(long)1' was evaluated to '{(long)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -991,7 +991,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerZero) != 0) { - Console.WriteLine($"'(ulong)0' was evaluted to '{(ulong)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(ulong)0' was evaluated to '{(ulong)integerZero}'. Expected: '0'."); _counter++; } } @@ -1020,7 +1020,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)sByteMaxValue) != 127) { - Console.WriteLine($"'(ulong)127' was evaluted to '{(ulong)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(ulong)127' was evaluated to '{(ulong)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -1049,7 +1049,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(ulong)126' was evaluted to '{(ulong)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(ulong)126' was evaluated to '{(ulong)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -1078,7 +1078,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(ulong)1' was evaluted to '{(ulong)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(ulong)1' was evaluated to '{(ulong)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -1097,7 +1097,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerZero) != 0f) { - Console.WriteLine($"'(float)0' was evaluted to '{(float)integerZero}'. Expected: '0f'."); + Console.WriteLine($"'(float)0' was evaluated to '{(float)integerZero}'. Expected: '0f'."); _counter++; } } @@ -1112,7 +1112,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)sByteMaxValue) != 127f) { - Console.WriteLine($"'(float)127' was evaluted to '{(float)sByteMaxValue}'. Expected: '127f'."); + Console.WriteLine($"'(float)127' was evaluated to '{(float)sByteMaxValue}'. Expected: '127f'."); _counter++; } } @@ -1127,7 +1127,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneDecrementUnderSByteMaxValue) != 126f) { - Console.WriteLine($"'(float)126' was evaluted to '{(float)integerOneDecrementUnderSByteMaxValue}'. Expected: '126f'."); + Console.WriteLine($"'(float)126' was evaluated to '{(float)integerOneDecrementUnderSByteMaxValue}'. Expected: '126f'."); _counter++; } } @@ -1142,7 +1142,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneIncrementAboveSByteMaxValue) != 128f) { - Console.WriteLine($"'(float)128' was evaluted to '{(float)integerOneIncrementAboveSByteMaxValue}'. Expected: '128f'."); + Console.WriteLine($"'(float)128' was evaluated to '{(float)integerOneIncrementAboveSByteMaxValue}'. Expected: '128f'."); _counter++; } } @@ -1157,7 +1157,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)byteMaxValue) != 255f) { - Console.WriteLine($"'(float)255' was evaluted to '{(float)byteMaxValue}'. Expected: '255f'."); + Console.WriteLine($"'(float)255' was evaluated to '{(float)byteMaxValue}'. Expected: '255f'."); _counter++; } } @@ -1172,7 +1172,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneIncrementAboveByteMinValue) != 1f) { - Console.WriteLine($"'(float)1' was evaluted to '{(float)integerOneIncrementAboveByteMinValue}'. Expected: '1f'."); + Console.WriteLine($"'(float)1' was evaluated to '{(float)integerOneIncrementAboveByteMinValue}'. Expected: '1f'."); _counter++; } } @@ -1187,7 +1187,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneDecrementUnderByteMaxValue) != 254f) { - Console.WriteLine($"'(float)254' was evaluted to '{(float)integerOneDecrementUnderByteMaxValue}'. Expected: '254f'."); + Console.WriteLine($"'(float)254' was evaluated to '{(float)integerOneDecrementUnderByteMaxValue}'. Expected: '254f'."); _counter++; } } @@ -1206,7 +1206,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerZero) != 0d) { - Console.WriteLine($"'(double)0' was evaluted to '{(double)integerZero}'. Expected: '0d'."); + Console.WriteLine($"'(double)0' was evaluated to '{(double)integerZero}'. Expected: '0d'."); _counter++; } } @@ -1221,7 +1221,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)sByteMaxValue) != 127d) { - Console.WriteLine($"'(double)127' was evaluted to '{(double)sByteMaxValue}'. Expected: '127d'."); + Console.WriteLine($"'(double)127' was evaluated to '{(double)sByteMaxValue}'. Expected: '127d'."); _counter++; } } @@ -1236,7 +1236,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneDecrementUnderSByteMaxValue) != 126d) { - Console.WriteLine($"'(double)126' was evaluted to '{(double)integerOneDecrementUnderSByteMaxValue}'. Expected: '126d'."); + Console.WriteLine($"'(double)126' was evaluated to '{(double)integerOneDecrementUnderSByteMaxValue}'. Expected: '126d'."); _counter++; } } @@ -1251,7 +1251,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneIncrementAboveSByteMaxValue) != 128d) { - Console.WriteLine($"'(double)128' was evaluted to '{(double)integerOneIncrementAboveSByteMaxValue}'. Expected: '128d'."); + Console.WriteLine($"'(double)128' was evaluated to '{(double)integerOneIncrementAboveSByteMaxValue}'. Expected: '128d'."); _counter++; } } @@ -1266,7 +1266,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)byteMaxValue) != 255d) { - Console.WriteLine($"'(double)255' was evaluted to '{(double)byteMaxValue}'. Expected: '255d'."); + Console.WriteLine($"'(double)255' was evaluated to '{(double)byteMaxValue}'. Expected: '255d'."); _counter++; } } @@ -1281,7 +1281,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneIncrementAboveByteMinValue) != 1d) { - Console.WriteLine($"'(double)1' was evaluted to '{(double)integerOneIncrementAboveByteMinValue}'. Expected: '1d'."); + Console.WriteLine($"'(double)1' was evaluated to '{(double)integerOneIncrementAboveByteMinValue}'. Expected: '1d'."); _counter++; } } @@ -1296,7 +1296,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneDecrementUnderByteMaxValue) != 254d) { - Console.WriteLine($"'(double)254' was evaluted to '{(double)integerOneDecrementUnderByteMaxValue}'. Expected: '254d'."); + Console.WriteLine($"'(double)254' was evaluated to '{(double)integerOneDecrementUnderByteMaxValue}'. Expected: '254d'."); _counter++; } } @@ -1315,7 +1315,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)integerZero) != 0) { - Console.WriteLine($"'(sbyte)0' was evaluted to '{(sbyte)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(sbyte)0' was evaluated to '{(sbyte)integerZero}'. Expected: '0'."); _counter++; } } @@ -1330,7 +1330,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)sByteMaxValue) != 127) { - Console.WriteLine($"'(sbyte)127' was evaluted to '{(sbyte)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(sbyte)127' was evaluated to '{(sbyte)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -1345,7 +1345,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(sbyte)126' was evaluted to '{(sbyte)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(sbyte)126' was evaluated to '{(sbyte)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -1388,7 +1388,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(sbyte)1' was evaluted to '{(sbyte)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(sbyte)1' was evaluated to '{(sbyte)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -1421,7 +1421,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)integerZero) != 0) { - Console.WriteLine($"'(byte)0' was evaluted to '{(byte)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(byte)0' was evaluated to '{(byte)integerZero}'. Expected: '0'."); _counter++; } } @@ -1436,7 +1436,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)sByteMaxValue) != 127) { - Console.WriteLine($"'(byte)127' was evaluted to '{(byte)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(byte)127' was evaluated to '{(byte)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -1451,7 +1451,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(byte)126' was evaluted to '{(byte)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(byte)126' was evaluated to '{(byte)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -1466,7 +1466,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)integerOneIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(byte)128' was evaluted to '{(byte)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(byte)128' was evaluated to '{(byte)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -1481,7 +1481,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)byteMaxValue) != 255) { - Console.WriteLine($"'(byte)255' was evaluted to '{(byte)byteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(byte)255' was evaluated to '{(byte)byteMaxValue}'. Expected: '255'."); _counter++; } } @@ -1496,7 +1496,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(byte)1' was evaluted to '{(byte)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(byte)1' was evaluated to '{(byte)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -1511,7 +1511,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)integerOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(byte)254' was evaluted to '{(byte)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(byte)254' was evaluated to '{(byte)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -1530,7 +1530,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerZero) != 0) { - Console.WriteLine($"'(short)0' was evaluted to '{(short)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(short)0' was evaluated to '{(short)integerZero}'. Expected: '0'."); _counter++; } } @@ -1545,7 +1545,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)sByteMaxValue) != 127) { - Console.WriteLine($"'(short)127' was evaluted to '{(short)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(short)127' was evaluated to '{(short)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -1560,7 +1560,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(short)126' was evaluted to '{(short)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(short)126' was evaluated to '{(short)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -1575,7 +1575,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(short)128' was evaluted to '{(short)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(short)128' was evaluated to '{(short)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -1590,7 +1590,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)byteMaxValue) != 255) { - Console.WriteLine($"'(short)255' was evaluted to '{(short)byteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(short)255' was evaluated to '{(short)byteMaxValue}'. Expected: '255'."); _counter++; } } @@ -1605,7 +1605,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(short)1' was evaluted to '{(short)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(short)1' was evaluated to '{(short)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -1620,7 +1620,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(short)254' was evaluted to '{(short)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(short)254' was evaluated to '{(short)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -1639,7 +1639,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerZero) != 0) { - Console.WriteLine($"'(ushort)0' was evaluted to '{(ushort)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(ushort)0' was evaluated to '{(ushort)integerZero}'. Expected: '0'."); _counter++; } } @@ -1654,7 +1654,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)sByteMaxValue) != 127) { - Console.WriteLine($"'(ushort)127' was evaluted to '{(ushort)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(ushort)127' was evaluated to '{(ushort)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -1669,7 +1669,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(ushort)126' was evaluted to '{(ushort)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(ushort)126' was evaluated to '{(ushort)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -1684,7 +1684,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerOneIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(ushort)128' was evaluted to '{(ushort)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(ushort)128' was evaluated to '{(ushort)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -1699,7 +1699,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)byteMaxValue) != 255) { - Console.WriteLine($"'(ushort)255' was evaluted to '{(ushort)byteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(ushort)255' was evaluated to '{(ushort)byteMaxValue}'. Expected: '255'."); _counter++; } } @@ -1714,7 +1714,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(ushort)1' was evaluted to '{(ushort)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(ushort)1' was evaluated to '{(ushort)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -1729,7 +1729,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(ushort)254' was evaluted to '{(ushort)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(ushort)254' was evaluated to '{(ushort)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -1748,7 +1748,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerZero) != 0) { - Console.WriteLine($"'(int)0' was evaluted to '{(int)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(int)0' was evaluated to '{(int)integerZero}'. Expected: '0'."); _counter++; } } @@ -1763,7 +1763,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)sByteMaxValue) != 127) { - Console.WriteLine($"'(int)127' was evaluted to '{(int)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(int)127' was evaluated to '{(int)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -1778,7 +1778,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(int)126' was evaluted to '{(int)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(int)126' was evaluated to '{(int)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -1793,7 +1793,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(int)128' was evaluted to '{(int)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(int)128' was evaluated to '{(int)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -1808,7 +1808,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)byteMaxValue) != 255) { - Console.WriteLine($"'(int)255' was evaluted to '{(int)byteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(int)255' was evaluated to '{(int)byteMaxValue}'. Expected: '255'."); _counter++; } } @@ -1823,7 +1823,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(int)1' was evaluted to '{(int)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(int)1' was evaluated to '{(int)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -1838,7 +1838,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(int)254' was evaluted to '{(int)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(int)254' was evaluated to '{(int)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -1857,7 +1857,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerZero) != 0) { - Console.WriteLine($"'(uint)0' was evaluted to '{(uint)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(uint)0' was evaluated to '{(uint)integerZero}'. Expected: '0'."); _counter++; } } @@ -1872,7 +1872,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)sByteMaxValue) != 127) { - Console.WriteLine($"'(uint)127' was evaluted to '{(uint)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(uint)127' was evaluated to '{(uint)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -1887,7 +1887,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(uint)126' was evaluted to '{(uint)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(uint)126' was evaluated to '{(uint)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -1902,7 +1902,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(uint)128' was evaluted to '{(uint)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(uint)128' was evaluated to '{(uint)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -1917,7 +1917,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)byteMaxValue) != 255) { - Console.WriteLine($"'(uint)255' was evaluted to '{(uint)byteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(uint)255' was evaluated to '{(uint)byteMaxValue}'. Expected: '255'."); _counter++; } } @@ -1932,7 +1932,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(uint)1' was evaluted to '{(uint)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(uint)1' was evaluated to '{(uint)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -1947,7 +1947,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(uint)254' was evaluted to '{(uint)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(uint)254' was evaluated to '{(uint)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -1966,7 +1966,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerZero) != 0) { - Console.WriteLine($"'(long)0' was evaluted to '{(long)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(long)0' was evaluated to '{(long)integerZero}'. Expected: '0'."); _counter++; } } @@ -1981,7 +1981,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)sByteMaxValue) != 127) { - Console.WriteLine($"'(long)127' was evaluted to '{(long)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(long)127' was evaluated to '{(long)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -1996,7 +1996,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(long)126' was evaluted to '{(long)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(long)126' was evaluated to '{(long)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -2011,7 +2011,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(long)128' was evaluted to '{(long)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(long)128' was evaluated to '{(long)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -2026,7 +2026,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)byteMaxValue) != 255) { - Console.WriteLine($"'(long)255' was evaluted to '{(long)byteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(long)255' was evaluated to '{(long)byteMaxValue}'. Expected: '255'."); _counter++; } } @@ -2041,7 +2041,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(long)1' was evaluted to '{(long)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(long)1' was evaluated to '{(long)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -2056,7 +2056,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(long)254' was evaluted to '{(long)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(long)254' was evaluated to '{(long)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -2075,7 +2075,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerZero) != 0) { - Console.WriteLine($"'(ulong)0' was evaluted to '{(ulong)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(ulong)0' was evaluated to '{(ulong)integerZero}'. Expected: '0'."); _counter++; } } @@ -2090,7 +2090,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)sByteMaxValue) != 127) { - Console.WriteLine($"'(ulong)127' was evaluted to '{(ulong)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(ulong)127' was evaluated to '{(ulong)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -2105,7 +2105,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(ulong)126' was evaluted to '{(ulong)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(ulong)126' was evaluated to '{(ulong)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -2120,7 +2120,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(ulong)128' was evaluted to '{(ulong)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(ulong)128' was evaluated to '{(ulong)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -2135,7 +2135,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)byteMaxValue) != 255) { - Console.WriteLine($"'(ulong)255' was evaluted to '{(ulong)byteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(ulong)255' was evaluated to '{(ulong)byteMaxValue}'. Expected: '255'."); _counter++; } } @@ -2150,7 +2150,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(ulong)1' was evaluted to '{(ulong)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(ulong)1' was evaluated to '{(ulong)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -2165,7 +2165,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(ulong)254' was evaluted to '{(ulong)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(ulong)254' was evaluated to '{(ulong)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } diff --git a/src/tests/JIT/Directed/Convert/value_numbering_checked_casts_of_constants_double.cs b/src/tests/JIT/Directed/Convert/value_numbering_checked_casts_of_constants_double.cs index 6b8dd82c0a4..31562b536ff 100644 --- a/src/tests/JIT/Directed/Convert/value_numbering_checked_casts_of_constants_double.cs +++ b/src/tests/JIT/Directed/Convert/value_numbering_checked_casts_of_constants_double.cs @@ -19,7 +19,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)integerZero) != 0) { - Console.WriteLine($"'(sbyte)0.0' was evaluted to '{(sbyte)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(sbyte)0.0' was evaluated to '{(sbyte)integerZero}'. Expected: '0'."); _counter++; } } @@ -34,7 +34,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)doubleMinusZero) != 0) { - Console.WriteLine($"'(sbyte)-0d' was evaluted to '{(sbyte)doubleMinusZero}'. Expected: '0'."); + Console.WriteLine($"'(sbyte)-0d' was evaluated to '{(sbyte)doubleMinusZero}'. Expected: '0'."); _counter++; } } @@ -49,7 +49,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)doubleZero) != 0) { - Console.WriteLine($"'(sbyte)0d' was evaluted to '{(sbyte)doubleZero}'. Expected: '0'."); + Console.WriteLine($"'(sbyte)0d' was evaluated to '{(sbyte)doubleZero}'. Expected: '0'."); _counter++; } } @@ -92,7 +92,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)sByteMinValue) != -128) { - Console.WriteLine($"'(sbyte)-128.0' was evaluted to '{(sbyte)sByteMinValue}'. Expected: '-128'."); + Console.WriteLine($"'(sbyte)-128.0' was evaluated to '{(sbyte)sByteMinValue}'. Expected: '-128'."); _counter++; } } @@ -107,7 +107,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)sByteMaxValue) != 127) { - Console.WriteLine($"'(sbyte)127.0' was evaluted to '{(sbyte)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(sbyte)127.0' was evaluated to '{(sbyte)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -122,7 +122,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)doubleOneDecrementUnderSByteMinValue) != -128) { - Console.WriteLine($"'(sbyte)-128.00000000000003d' was evaluted to '{(sbyte)doubleOneDecrementUnderSByteMinValue}'. Expected: '-128'."); + Console.WriteLine($"'(sbyte)-128.00000000000003d' was evaluated to '{(sbyte)doubleOneDecrementUnderSByteMinValue}'. Expected: '-128'."); _counter++; } } @@ -151,7 +151,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)doubleOneIncrementAboveSByteMinValue) != -127) { - Console.WriteLine($"'(sbyte)-127.99999999999999d' was evaluted to '{(sbyte)doubleOneIncrementAboveSByteMinValue}'. Expected: '-127'."); + Console.WriteLine($"'(sbyte)-127.99999999999999d' was evaluated to '{(sbyte)doubleOneIncrementAboveSByteMinValue}'. Expected: '-127'."); _counter++; } } @@ -166,7 +166,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)doubleOneFullIncrementAboveSByteMinValue) != -127) { - Console.WriteLine($"'(sbyte)-127d' was evaluted to '{(sbyte)doubleOneFullIncrementAboveSByteMinValue}'. Expected: '-127'."); + Console.WriteLine($"'(sbyte)-127d' was evaluated to '{(sbyte)doubleOneFullIncrementAboveSByteMinValue}'. Expected: '-127'."); _counter++; } } @@ -181,7 +181,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)doubleOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(sbyte)126.99999999999999d' was evaluted to '{(sbyte)doubleOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(sbyte)126.99999999999999d' was evaluated to '{(sbyte)doubleOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -196,7 +196,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)doubleOneFullDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(sbyte)126d' was evaluted to '{(sbyte)doubleOneFullDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(sbyte)126d' was evaluated to '{(sbyte)doubleOneFullDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -211,7 +211,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)doubleOneIncrementAboveSByteMaxValue) != 127) { - Console.WriteLine($"'(sbyte)127.00000000000001d' was evaluted to '{(sbyte)doubleOneIncrementAboveSByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(sbyte)127.00000000000001d' was evaluated to '{(sbyte)doubleOneIncrementAboveSByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -254,7 +254,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)integerOneIncrementAboveSByteMinValue) != -127) { - Console.WriteLine($"'(sbyte)-127.0' was evaluted to '{(sbyte)integerOneIncrementAboveSByteMinValue}'. Expected: '-127'."); + Console.WriteLine($"'(sbyte)-127.0' was evaluated to '{(sbyte)integerOneIncrementAboveSByteMinValue}'. Expected: '-127'."); _counter++; } } @@ -269,7 +269,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(sbyte)126.0' was evaluted to '{(sbyte)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(sbyte)126.0' was evaluated to '{(sbyte)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -312,7 +312,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)doubleOneDecrementUnderByteMinValue) != 0) { - Console.WriteLine($"'(sbyte)-5E-324d' was evaluted to '{(sbyte)doubleOneDecrementUnderByteMinValue}'. Expected: '0'."); + Console.WriteLine($"'(sbyte)-5E-324d' was evaluated to '{(sbyte)doubleOneDecrementUnderByteMinValue}'. Expected: '0'."); _counter++; } } @@ -327,7 +327,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)doubleOneFullDecrementUnderByteMinValue) != -1) { - Console.WriteLine($"'(sbyte)-1d' was evaluted to '{(sbyte)doubleOneFullDecrementUnderByteMinValue}'. Expected: '-1'."); + Console.WriteLine($"'(sbyte)-1d' was evaluated to '{(sbyte)doubleOneFullDecrementUnderByteMinValue}'. Expected: '-1'."); _counter++; } } @@ -342,7 +342,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)doubleOneIncrementAboveByteMinValue) != 0) { - Console.WriteLine($"'(sbyte)5E-324d' was evaluted to '{(sbyte)doubleOneIncrementAboveByteMinValue}'. Expected: '0'."); + Console.WriteLine($"'(sbyte)5E-324d' was evaluated to '{(sbyte)doubleOneIncrementAboveByteMinValue}'. Expected: '0'."); _counter++; } } @@ -357,7 +357,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)doubleOneFullIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(sbyte)1d' was evaluted to '{(sbyte)doubleOneFullIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(sbyte)1d' was evaluated to '{(sbyte)doubleOneFullIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -428,7 +428,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)integerOneDecrementUnderByteMinValue) != -1) { - Console.WriteLine($"'(sbyte)-1.0' was evaluted to '{(sbyte)integerOneDecrementUnderByteMinValue}'. Expected: '-1'."); + Console.WriteLine($"'(sbyte)-1.0' was evaluated to '{(sbyte)integerOneDecrementUnderByteMinValue}'. Expected: '-1'."); _counter++; } } @@ -443,7 +443,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(sbyte)1.0' was evaluted to '{(sbyte)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(sbyte)1.0' was evaluated to '{(sbyte)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -1246,7 +1246,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)integerZero) != 0) { - Console.WriteLine($"'(byte)0.0' was evaluted to '{(byte)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(byte)0.0' was evaluated to '{(byte)integerZero}'. Expected: '0'."); _counter++; } } @@ -1261,7 +1261,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)doubleMinusZero) != 0) { - Console.WriteLine($"'(byte)-0d' was evaluted to '{(byte)doubleMinusZero}'. Expected: '0'."); + Console.WriteLine($"'(byte)-0d' was evaluated to '{(byte)doubleMinusZero}'. Expected: '0'."); _counter++; } } @@ -1276,7 +1276,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)doubleZero) != 0) { - Console.WriteLine($"'(byte)0d' was evaluted to '{(byte)doubleZero}'. Expected: '0'."); + Console.WriteLine($"'(byte)0d' was evaluated to '{(byte)doubleZero}'. Expected: '0'."); _counter++; } } @@ -1333,7 +1333,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)sByteMaxValue) != 127) { - Console.WriteLine($"'(byte)127.0' was evaluted to '{(byte)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(byte)127.0' was evaluated to '{(byte)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -1404,7 +1404,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)doubleOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(byte)126.99999999999999d' was evaluted to '{(byte)doubleOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(byte)126.99999999999999d' was evaluated to '{(byte)doubleOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -1419,7 +1419,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)doubleOneFullDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(byte)126d' was evaluted to '{(byte)doubleOneFullDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(byte)126d' was evaluated to '{(byte)doubleOneFullDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -1434,7 +1434,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)doubleOneIncrementAboveSByteMaxValue) != 127) { - Console.WriteLine($"'(byte)127.00000000000001d' was evaluted to '{(byte)doubleOneIncrementAboveSByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(byte)127.00000000000001d' was evaluated to '{(byte)doubleOneIncrementAboveSByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -1449,7 +1449,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)doubleOneFullIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(byte)128d' was evaluted to '{(byte)doubleOneFullIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(byte)128d' was evaluated to '{(byte)doubleOneFullIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -1492,7 +1492,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(byte)126.0' was evaluted to '{(byte)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(byte)126.0' was evaluated to '{(byte)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -1507,7 +1507,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)integerOneIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(byte)128.0' was evaluted to '{(byte)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(byte)128.0' was evaluated to '{(byte)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -1522,7 +1522,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)byteMaxValue) != 255) { - Console.WriteLine($"'(byte)255.0' was evaluted to '{(byte)byteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(byte)255.0' was evaluated to '{(byte)byteMaxValue}'. Expected: '255'."); _counter++; } } @@ -1537,7 +1537,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)doubleOneDecrementUnderByteMinValue) != 0) { - Console.WriteLine($"'(byte)-5E-324d' was evaluted to '{(byte)doubleOneDecrementUnderByteMinValue}'. Expected: '0'."); + Console.WriteLine($"'(byte)-5E-324d' was evaluated to '{(byte)doubleOneDecrementUnderByteMinValue}'. Expected: '0'."); _counter++; } } @@ -1566,7 +1566,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)doubleOneIncrementAboveByteMinValue) != 0) { - Console.WriteLine($"'(byte)5E-324d' was evaluted to '{(byte)doubleOneIncrementAboveByteMinValue}'. Expected: '0'."); + Console.WriteLine($"'(byte)5E-324d' was evaluated to '{(byte)doubleOneIncrementAboveByteMinValue}'. Expected: '0'."); _counter++; } } @@ -1581,7 +1581,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)doubleOneFullIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(byte)1d' was evaluted to '{(byte)doubleOneFullIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(byte)1d' was evaluated to '{(byte)doubleOneFullIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -1596,7 +1596,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)doubleOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(byte)254.99999999999997d' was evaluted to '{(byte)doubleOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(byte)254.99999999999997d' was evaluated to '{(byte)doubleOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -1611,7 +1611,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)doubleOneFullDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(byte)254d' was evaluted to '{(byte)doubleOneFullDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(byte)254d' was evaluated to '{(byte)doubleOneFullDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -1626,7 +1626,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)doubleOneIncrementAboveByteMaxValue) != 255) { - Console.WriteLine($"'(byte)255.00000000000003d' was evaluted to '{(byte)doubleOneIncrementAboveByteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(byte)255.00000000000003d' was evaluated to '{(byte)doubleOneIncrementAboveByteMaxValue}'. Expected: '255'."); _counter++; } } @@ -1669,7 +1669,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(byte)1.0' was evaluted to '{(byte)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(byte)1.0' was evaluated to '{(byte)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -1684,7 +1684,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)integerOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(byte)254.0' was evaluted to '{(byte)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(byte)254.0' was evaluated to '{(byte)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -2473,7 +2473,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerZero) != 0) { - Console.WriteLine($"'(short)0.0' was evaluted to '{(short)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(short)0.0' was evaluated to '{(short)integerZero}'. Expected: '0'."); _counter++; } } @@ -2488,7 +2488,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)doubleMinusZero) != 0) { - Console.WriteLine($"'(short)-0d' was evaluted to '{(short)doubleMinusZero}'. Expected: '0'."); + Console.WriteLine($"'(short)-0d' was evaluated to '{(short)doubleMinusZero}'. Expected: '0'."); _counter++; } } @@ -2503,7 +2503,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)doubleZero) != 0) { - Console.WriteLine($"'(short)0d' was evaluted to '{(short)doubleZero}'. Expected: '0'."); + Console.WriteLine($"'(short)0d' was evaluated to '{(short)doubleZero}'. Expected: '0'."); _counter++; } } @@ -2546,7 +2546,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)sByteMinValue) != -128) { - Console.WriteLine($"'(short)-128.0' was evaluted to '{(short)sByteMinValue}'. Expected: '-128'."); + Console.WriteLine($"'(short)-128.0' was evaluated to '{(short)sByteMinValue}'. Expected: '-128'."); _counter++; } } @@ -2561,7 +2561,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)sByteMaxValue) != 127) { - Console.WriteLine($"'(short)127.0' was evaluted to '{(short)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(short)127.0' was evaluated to '{(short)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -2576,7 +2576,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)doubleOneDecrementUnderSByteMinValue) != -128) { - Console.WriteLine($"'(short)-128.00000000000003d' was evaluted to '{(short)doubleOneDecrementUnderSByteMinValue}'. Expected: '-128'."); + Console.WriteLine($"'(short)-128.00000000000003d' was evaluated to '{(short)doubleOneDecrementUnderSByteMinValue}'. Expected: '-128'."); _counter++; } } @@ -2591,7 +2591,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)doubleOneFullDecrementUnderSByteMinValue) != -129) { - Console.WriteLine($"'(short)-129d' was evaluted to '{(short)doubleOneFullDecrementUnderSByteMinValue}'. Expected: '-129'."); + Console.WriteLine($"'(short)-129d' was evaluated to '{(short)doubleOneFullDecrementUnderSByteMinValue}'. Expected: '-129'."); _counter++; } } @@ -2606,7 +2606,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)doubleOneIncrementAboveSByteMinValue) != -127) { - Console.WriteLine($"'(short)-127.99999999999999d' was evaluted to '{(short)doubleOneIncrementAboveSByteMinValue}'. Expected: '-127'."); + Console.WriteLine($"'(short)-127.99999999999999d' was evaluated to '{(short)doubleOneIncrementAboveSByteMinValue}'. Expected: '-127'."); _counter++; } } @@ -2621,7 +2621,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)doubleOneFullIncrementAboveSByteMinValue) != -127) { - Console.WriteLine($"'(short)-127d' was evaluted to '{(short)doubleOneFullIncrementAboveSByteMinValue}'. Expected: '-127'."); + Console.WriteLine($"'(short)-127d' was evaluated to '{(short)doubleOneFullIncrementAboveSByteMinValue}'. Expected: '-127'."); _counter++; } } @@ -2636,7 +2636,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)doubleOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(short)126.99999999999999d' was evaluted to '{(short)doubleOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(short)126.99999999999999d' was evaluated to '{(short)doubleOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -2651,7 +2651,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)doubleOneFullDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(short)126d' was evaluted to '{(short)doubleOneFullDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(short)126d' was evaluated to '{(short)doubleOneFullDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -2666,7 +2666,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)doubleOneIncrementAboveSByteMaxValue) != 127) { - Console.WriteLine($"'(short)127.00000000000001d' was evaluted to '{(short)doubleOneIncrementAboveSByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(short)127.00000000000001d' was evaluated to '{(short)doubleOneIncrementAboveSByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -2681,7 +2681,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)doubleOneFullIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(short)128d' was evaluted to '{(short)doubleOneFullIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(short)128d' was evaluated to '{(short)doubleOneFullIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -2696,7 +2696,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneDecrementUnderSByteMinValue) != -129) { - Console.WriteLine($"'(short)-129.0' was evaluted to '{(short)integerOneDecrementUnderSByteMinValue}'. Expected: '-129'."); + Console.WriteLine($"'(short)-129.0' was evaluated to '{(short)integerOneDecrementUnderSByteMinValue}'. Expected: '-129'."); _counter++; } } @@ -2711,7 +2711,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneIncrementAboveSByteMinValue) != -127) { - Console.WriteLine($"'(short)-127.0' was evaluted to '{(short)integerOneIncrementAboveSByteMinValue}'. Expected: '-127'."); + Console.WriteLine($"'(short)-127.0' was evaluated to '{(short)integerOneIncrementAboveSByteMinValue}'. Expected: '-127'."); _counter++; } } @@ -2726,7 +2726,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(short)126.0' was evaluted to '{(short)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(short)126.0' was evaluated to '{(short)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -2741,7 +2741,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(short)128.0' was evaluted to '{(short)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(short)128.0' was evaluated to '{(short)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -2756,7 +2756,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)byteMaxValue) != 255) { - Console.WriteLine($"'(short)255.0' was evaluted to '{(short)byteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(short)255.0' was evaluated to '{(short)byteMaxValue}'. Expected: '255'."); _counter++; } } @@ -2771,7 +2771,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)doubleOneDecrementUnderByteMinValue) != 0) { - Console.WriteLine($"'(short)-5E-324d' was evaluted to '{(short)doubleOneDecrementUnderByteMinValue}'. Expected: '0'."); + Console.WriteLine($"'(short)-5E-324d' was evaluated to '{(short)doubleOneDecrementUnderByteMinValue}'. Expected: '0'."); _counter++; } } @@ -2786,7 +2786,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)doubleOneFullDecrementUnderByteMinValue) != -1) { - Console.WriteLine($"'(short)-1d' was evaluted to '{(short)doubleOneFullDecrementUnderByteMinValue}'. Expected: '-1'."); + Console.WriteLine($"'(short)-1d' was evaluated to '{(short)doubleOneFullDecrementUnderByteMinValue}'. Expected: '-1'."); _counter++; } } @@ -2801,7 +2801,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)doubleOneIncrementAboveByteMinValue) != 0) { - Console.WriteLine($"'(short)5E-324d' was evaluted to '{(short)doubleOneIncrementAboveByteMinValue}'. Expected: '0'."); + Console.WriteLine($"'(short)5E-324d' was evaluated to '{(short)doubleOneIncrementAboveByteMinValue}'. Expected: '0'."); _counter++; } } @@ -2816,7 +2816,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)doubleOneFullIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(short)1d' was evaluted to '{(short)doubleOneFullIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(short)1d' was evaluated to '{(short)doubleOneFullIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -2831,7 +2831,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)doubleOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(short)254.99999999999997d' was evaluted to '{(short)doubleOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(short)254.99999999999997d' was evaluated to '{(short)doubleOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -2846,7 +2846,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)doubleOneFullDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(short)254d' was evaluted to '{(short)doubleOneFullDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(short)254d' was evaluated to '{(short)doubleOneFullDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -2861,7 +2861,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)doubleOneIncrementAboveByteMaxValue) != 255) { - Console.WriteLine($"'(short)255.00000000000003d' was evaluted to '{(short)doubleOneIncrementAboveByteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(short)255.00000000000003d' was evaluated to '{(short)doubleOneIncrementAboveByteMaxValue}'. Expected: '255'."); _counter++; } } @@ -2876,7 +2876,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)doubleOneFullIncrementAboveByteMaxValue) != 256) { - Console.WriteLine($"'(short)256d' was evaluted to '{(short)doubleOneFullIncrementAboveByteMaxValue}'. Expected: '256'."); + Console.WriteLine($"'(short)256d' was evaluated to '{(short)doubleOneFullIncrementAboveByteMaxValue}'. Expected: '256'."); _counter++; } } @@ -2891,7 +2891,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneDecrementUnderByteMinValue) != -1) { - Console.WriteLine($"'(short)-1.0' was evaluted to '{(short)integerOneDecrementUnderByteMinValue}'. Expected: '-1'."); + Console.WriteLine($"'(short)-1.0' was evaluated to '{(short)integerOneDecrementUnderByteMinValue}'. Expected: '-1'."); _counter++; } } @@ -2906,7 +2906,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(short)1.0' was evaluted to '{(short)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(short)1.0' was evaluated to '{(short)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -2921,7 +2921,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(short)254.0' was evaluted to '{(short)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(short)254.0' was evaluated to '{(short)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -2936,7 +2936,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneIncrementAboveByteMaxValue) != 256) { - Console.WriteLine($"'(short)256.0' was evaluted to '{(short)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); + Console.WriteLine($"'(short)256.0' was evaluated to '{(short)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); _counter++; } } @@ -2951,7 +2951,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)int16MinValue) != -32768) { - Console.WriteLine($"'(short)-32768.0' was evaluted to '{(short)int16MinValue}'. Expected: '-32768'."); + Console.WriteLine($"'(short)-32768.0' was evaluated to '{(short)int16MinValue}'. Expected: '-32768'."); _counter++; } } @@ -2966,7 +2966,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)int16MaxValue) != 32767) { - Console.WriteLine($"'(short)32767.0' was evaluted to '{(short)int16MaxValue}'. Expected: '32767'."); + Console.WriteLine($"'(short)32767.0' was evaluated to '{(short)int16MaxValue}'. Expected: '32767'."); _counter++; } } @@ -2981,7 +2981,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)doubleOneDecrementUnderInt16MinValue) != -32768) { - Console.WriteLine($"'(short)-32768.00000000001d' was evaluted to '{(short)doubleOneDecrementUnderInt16MinValue}'. Expected: '-32768'."); + Console.WriteLine($"'(short)-32768.00000000001d' was evaluated to '{(short)doubleOneDecrementUnderInt16MinValue}'. Expected: '-32768'."); _counter++; } } @@ -3010,7 +3010,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)doubleOneIncrementAboveInt16MinValue) != -32767) { - Console.WriteLine($"'(short)-32767.999999999996d' was evaluted to '{(short)doubleOneIncrementAboveInt16MinValue}'. Expected: '-32767'."); + Console.WriteLine($"'(short)-32767.999999999996d' was evaluated to '{(short)doubleOneIncrementAboveInt16MinValue}'. Expected: '-32767'."); _counter++; } } @@ -3025,7 +3025,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)doubleOneFullIncrementAboveInt16MinValue) != -32767) { - Console.WriteLine($"'(short)-32767d' was evaluted to '{(short)doubleOneFullIncrementAboveInt16MinValue}'. Expected: '-32767'."); + Console.WriteLine($"'(short)-32767d' was evaluated to '{(short)doubleOneFullIncrementAboveInt16MinValue}'. Expected: '-32767'."); _counter++; } } @@ -3040,7 +3040,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)doubleOneDecrementUnderInt16MaxValue) != 32766) { - Console.WriteLine($"'(short)32766.999999999996d' was evaluted to '{(short)doubleOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); + Console.WriteLine($"'(short)32766.999999999996d' was evaluated to '{(short)doubleOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); _counter++; } } @@ -3055,7 +3055,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)doubleOneFullDecrementUnderInt16MaxValue) != 32766) { - Console.WriteLine($"'(short)32766d' was evaluted to '{(short)doubleOneFullDecrementUnderInt16MaxValue}'. Expected: '32766'."); + Console.WriteLine($"'(short)32766d' was evaluated to '{(short)doubleOneFullDecrementUnderInt16MaxValue}'. Expected: '32766'."); _counter++; } } @@ -3070,7 +3070,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)doubleOneIncrementAboveInt16MaxValue) != 32767) { - Console.WriteLine($"'(short)32767.000000000004d' was evaluted to '{(short)doubleOneIncrementAboveInt16MaxValue}'. Expected: '32767'."); + Console.WriteLine($"'(short)32767.000000000004d' was evaluated to '{(short)doubleOneIncrementAboveInt16MaxValue}'. Expected: '32767'."); _counter++; } } @@ -3113,7 +3113,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneIncrementAboveInt16MinValue) != -32767) { - Console.WriteLine($"'(short)-32767.0' was evaluted to '{(short)integerOneIncrementAboveInt16MinValue}'. Expected: '-32767'."); + Console.WriteLine($"'(short)-32767.0' was evaluated to '{(short)integerOneIncrementAboveInt16MinValue}'. Expected: '-32767'."); _counter++; } } @@ -3128,7 +3128,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneDecrementUnderInt16MaxValue) != 32766) { - Console.WriteLine($"'(short)32766.0' was evaluted to '{(short)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); + Console.WriteLine($"'(short)32766.0' was evaluated to '{(short)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); _counter++; } } @@ -3721,7 +3721,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerZero) != 0) { - Console.WriteLine($"'(ushort)0.0' was evaluted to '{(ushort)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(ushort)0.0' was evaluated to '{(ushort)integerZero}'. Expected: '0'."); _counter++; } } @@ -3736,7 +3736,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)doubleMinusZero) != 0) { - Console.WriteLine($"'(ushort)-0d' was evaluted to '{(ushort)doubleMinusZero}'. Expected: '0'."); + Console.WriteLine($"'(ushort)-0d' was evaluated to '{(ushort)doubleMinusZero}'. Expected: '0'."); _counter++; } } @@ -3751,7 +3751,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)doubleZero) != 0) { - Console.WriteLine($"'(ushort)0d' was evaluted to '{(ushort)doubleZero}'. Expected: '0'."); + Console.WriteLine($"'(ushort)0d' was evaluated to '{(ushort)doubleZero}'. Expected: '0'."); _counter++; } } @@ -3808,7 +3808,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)sByteMaxValue) != 127) { - Console.WriteLine($"'(ushort)127.0' was evaluted to '{(ushort)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(ushort)127.0' was evaluated to '{(ushort)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -3879,7 +3879,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)doubleOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(ushort)126.99999999999999d' was evaluted to '{(ushort)doubleOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(ushort)126.99999999999999d' was evaluated to '{(ushort)doubleOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -3894,7 +3894,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)doubleOneFullDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(ushort)126d' was evaluted to '{(ushort)doubleOneFullDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(ushort)126d' was evaluated to '{(ushort)doubleOneFullDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -3909,7 +3909,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)doubleOneIncrementAboveSByteMaxValue) != 127) { - Console.WriteLine($"'(ushort)127.00000000000001d' was evaluted to '{(ushort)doubleOneIncrementAboveSByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(ushort)127.00000000000001d' was evaluated to '{(ushort)doubleOneIncrementAboveSByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -3924,7 +3924,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)doubleOneFullIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(ushort)128d' was evaluted to '{(ushort)doubleOneFullIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(ushort)128d' was evaluated to '{(ushort)doubleOneFullIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -3967,7 +3967,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(ushort)126.0' was evaluted to '{(ushort)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(ushort)126.0' was evaluated to '{(ushort)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -3982,7 +3982,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerOneIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(ushort)128.0' was evaluted to '{(ushort)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(ushort)128.0' was evaluated to '{(ushort)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -3997,7 +3997,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)byteMaxValue) != 255) { - Console.WriteLine($"'(ushort)255.0' was evaluted to '{(ushort)byteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(ushort)255.0' was evaluated to '{(ushort)byteMaxValue}'. Expected: '255'."); _counter++; } } @@ -4012,7 +4012,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)doubleOneDecrementUnderByteMinValue) != 0) { - Console.WriteLine($"'(ushort)-5E-324d' was evaluted to '{(ushort)doubleOneDecrementUnderByteMinValue}'. Expected: '0'."); + Console.WriteLine($"'(ushort)-5E-324d' was evaluated to '{(ushort)doubleOneDecrementUnderByteMinValue}'. Expected: '0'."); _counter++; } } @@ -4041,7 +4041,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)doubleOneIncrementAboveByteMinValue) != 0) { - Console.WriteLine($"'(ushort)5E-324d' was evaluted to '{(ushort)doubleOneIncrementAboveByteMinValue}'. Expected: '0'."); + Console.WriteLine($"'(ushort)5E-324d' was evaluated to '{(ushort)doubleOneIncrementAboveByteMinValue}'. Expected: '0'."); _counter++; } } @@ -4056,7 +4056,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)doubleOneFullIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(ushort)1d' was evaluted to '{(ushort)doubleOneFullIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(ushort)1d' was evaluated to '{(ushort)doubleOneFullIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -4071,7 +4071,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)doubleOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(ushort)254.99999999999997d' was evaluted to '{(ushort)doubleOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(ushort)254.99999999999997d' was evaluated to '{(ushort)doubleOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -4086,7 +4086,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)doubleOneFullDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(ushort)254d' was evaluted to '{(ushort)doubleOneFullDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(ushort)254d' was evaluated to '{(ushort)doubleOneFullDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -4101,7 +4101,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)doubleOneIncrementAboveByteMaxValue) != 255) { - Console.WriteLine($"'(ushort)255.00000000000003d' was evaluted to '{(ushort)doubleOneIncrementAboveByteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(ushort)255.00000000000003d' was evaluated to '{(ushort)doubleOneIncrementAboveByteMaxValue}'. Expected: '255'."); _counter++; } } @@ -4116,7 +4116,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)doubleOneFullIncrementAboveByteMaxValue) != 256) { - Console.WriteLine($"'(ushort)256d' was evaluted to '{(ushort)doubleOneFullIncrementAboveByteMaxValue}'. Expected: '256'."); + Console.WriteLine($"'(ushort)256d' was evaluated to '{(ushort)doubleOneFullIncrementAboveByteMaxValue}'. Expected: '256'."); _counter++; } } @@ -4145,7 +4145,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(ushort)1.0' was evaluted to '{(ushort)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(ushort)1.0' was evaluated to '{(ushort)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -4160,7 +4160,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(ushort)254.0' was evaluted to '{(ushort)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(ushort)254.0' was evaluated to '{(ushort)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -4175,7 +4175,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerOneIncrementAboveByteMaxValue) != 256) { - Console.WriteLine($"'(ushort)256.0' was evaluted to '{(ushort)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); + Console.WriteLine($"'(ushort)256.0' was evaluated to '{(ushort)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); _counter++; } } @@ -4204,7 +4204,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)int16MaxValue) != 32767) { - Console.WriteLine($"'(ushort)32767.0' was evaluted to '{(ushort)int16MaxValue}'. Expected: '32767'."); + Console.WriteLine($"'(ushort)32767.0' was evaluated to '{(ushort)int16MaxValue}'. Expected: '32767'."); _counter++; } } @@ -4275,7 +4275,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)doubleOneDecrementUnderInt16MaxValue) != 32766) { - Console.WriteLine($"'(ushort)32766.999999999996d' was evaluted to '{(ushort)doubleOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); + Console.WriteLine($"'(ushort)32766.999999999996d' was evaluated to '{(ushort)doubleOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); _counter++; } } @@ -4290,7 +4290,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)doubleOneFullDecrementUnderInt16MaxValue) != 32766) { - Console.WriteLine($"'(ushort)32766d' was evaluted to '{(ushort)doubleOneFullDecrementUnderInt16MaxValue}'. Expected: '32766'."); + Console.WriteLine($"'(ushort)32766d' was evaluated to '{(ushort)doubleOneFullDecrementUnderInt16MaxValue}'. Expected: '32766'."); _counter++; } } @@ -4305,7 +4305,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)doubleOneIncrementAboveInt16MaxValue) != 32767) { - Console.WriteLine($"'(ushort)32767.000000000004d' was evaluted to '{(ushort)doubleOneIncrementAboveInt16MaxValue}'. Expected: '32767'."); + Console.WriteLine($"'(ushort)32767.000000000004d' was evaluated to '{(ushort)doubleOneIncrementAboveInt16MaxValue}'. Expected: '32767'."); _counter++; } } @@ -4320,7 +4320,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)doubleOneFullIncrementAboveInt16MaxValue) != 32768) { - Console.WriteLine($"'(ushort)32768d' was evaluted to '{(ushort)doubleOneFullIncrementAboveInt16MaxValue}'. Expected: '32768'."); + Console.WriteLine($"'(ushort)32768d' was evaluated to '{(ushort)doubleOneFullIncrementAboveInt16MaxValue}'. Expected: '32768'."); _counter++; } } @@ -4363,7 +4363,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerOneDecrementUnderInt16MaxValue) != 32766) { - Console.WriteLine($"'(ushort)32766.0' was evaluted to '{(ushort)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); + Console.WriteLine($"'(ushort)32766.0' was evaluated to '{(ushort)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); _counter++; } } @@ -4378,7 +4378,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerOneIncrementAboveInt16MaxValue) != 32768) { - Console.WriteLine($"'(ushort)32768.0' was evaluted to '{(ushort)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768'."); + Console.WriteLine($"'(ushort)32768.0' was evaluated to '{(ushort)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768'."); _counter++; } } @@ -4393,7 +4393,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)uInt16MaxValue) != 65535) { - Console.WriteLine($"'(ushort)65535.0' was evaluted to '{(ushort)uInt16MaxValue}'. Expected: '65535'."); + Console.WriteLine($"'(ushort)65535.0' was evaluated to '{(ushort)uInt16MaxValue}'. Expected: '65535'."); _counter++; } } @@ -4408,7 +4408,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)doubleOneDecrementUnderUInt16MaxValue) != 65534) { - Console.WriteLine($"'(ushort)65534.99999999999d' was evaluted to '{(ushort)doubleOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); + Console.WriteLine($"'(ushort)65534.99999999999d' was evaluated to '{(ushort)doubleOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); _counter++; } } @@ -4423,7 +4423,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)doubleOneFullDecrementUnderUInt16MaxValue) != 65534) { - Console.WriteLine($"'(ushort)65534d' was evaluted to '{(ushort)doubleOneFullDecrementUnderUInt16MaxValue}'. Expected: '65534'."); + Console.WriteLine($"'(ushort)65534d' was evaluated to '{(ushort)doubleOneFullDecrementUnderUInt16MaxValue}'. Expected: '65534'."); _counter++; } } @@ -4438,7 +4438,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)doubleOneIncrementAboveUInt16MaxValue) != 65535) { - Console.WriteLine($"'(ushort)65535.00000000001d' was evaluted to '{(ushort)doubleOneIncrementAboveUInt16MaxValue}'. Expected: '65535'."); + Console.WriteLine($"'(ushort)65535.00000000001d' was evaluated to '{(ushort)doubleOneIncrementAboveUInt16MaxValue}'. Expected: '65535'."); _counter++; } } @@ -4467,7 +4467,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerOneDecrementUnderUInt16MaxValue) != 65534) { - Console.WriteLine($"'(ushort)65534.0' was evaluted to '{(ushort)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); + Console.WriteLine($"'(ushort)65534.0' was evaluated to '{(ushort)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); _counter++; } } @@ -4962,7 +4962,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerZero) != 0) { - Console.WriteLine($"'(int)0.0' was evaluted to '{(int)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(int)0.0' was evaluated to '{(int)integerZero}'. Expected: '0'."); _counter++; } } @@ -4977,7 +4977,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)doubleMinusZero) != 0) { - Console.WriteLine($"'(int)-0d' was evaluted to '{(int)doubleMinusZero}'. Expected: '0'."); + Console.WriteLine($"'(int)-0d' was evaluated to '{(int)doubleMinusZero}'. Expected: '0'."); _counter++; } } @@ -4992,7 +4992,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)doubleZero) != 0) { - Console.WriteLine($"'(int)0d' was evaluted to '{(int)doubleZero}'. Expected: '0'."); + Console.WriteLine($"'(int)0d' was evaluated to '{(int)doubleZero}'. Expected: '0'."); _counter++; } } @@ -5035,7 +5035,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)sByteMinValue) != -128) { - Console.WriteLine($"'(int)-128.0' was evaluted to '{(int)sByteMinValue}'. Expected: '-128'."); + Console.WriteLine($"'(int)-128.0' was evaluated to '{(int)sByteMinValue}'. Expected: '-128'."); _counter++; } } @@ -5050,7 +5050,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)sByteMaxValue) != 127) { - Console.WriteLine($"'(int)127.0' was evaluted to '{(int)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(int)127.0' was evaluated to '{(int)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -5065,7 +5065,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)doubleOneDecrementUnderSByteMinValue) != -128) { - Console.WriteLine($"'(int)-128.00000000000003d' was evaluted to '{(int)doubleOneDecrementUnderSByteMinValue}'. Expected: '-128'."); + Console.WriteLine($"'(int)-128.00000000000003d' was evaluated to '{(int)doubleOneDecrementUnderSByteMinValue}'. Expected: '-128'."); _counter++; } } @@ -5080,7 +5080,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)doubleOneFullDecrementUnderSByteMinValue) != -129) { - Console.WriteLine($"'(int)-129d' was evaluted to '{(int)doubleOneFullDecrementUnderSByteMinValue}'. Expected: '-129'."); + Console.WriteLine($"'(int)-129d' was evaluated to '{(int)doubleOneFullDecrementUnderSByteMinValue}'. Expected: '-129'."); _counter++; } } @@ -5095,7 +5095,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)doubleOneIncrementAboveSByteMinValue) != -127) { - Console.WriteLine($"'(int)-127.99999999999999d' was evaluted to '{(int)doubleOneIncrementAboveSByteMinValue}'. Expected: '-127'."); + Console.WriteLine($"'(int)-127.99999999999999d' was evaluated to '{(int)doubleOneIncrementAboveSByteMinValue}'. Expected: '-127'."); _counter++; } } @@ -5110,7 +5110,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)doubleOneFullIncrementAboveSByteMinValue) != -127) { - Console.WriteLine($"'(int)-127d' was evaluted to '{(int)doubleOneFullIncrementAboveSByteMinValue}'. Expected: '-127'."); + Console.WriteLine($"'(int)-127d' was evaluated to '{(int)doubleOneFullIncrementAboveSByteMinValue}'. Expected: '-127'."); _counter++; } } @@ -5125,7 +5125,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)doubleOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(int)126.99999999999999d' was evaluted to '{(int)doubleOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(int)126.99999999999999d' was evaluated to '{(int)doubleOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -5140,7 +5140,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)doubleOneFullDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(int)126d' was evaluted to '{(int)doubleOneFullDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(int)126d' was evaluated to '{(int)doubleOneFullDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -5155,7 +5155,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)doubleOneIncrementAboveSByteMaxValue) != 127) { - Console.WriteLine($"'(int)127.00000000000001d' was evaluted to '{(int)doubleOneIncrementAboveSByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(int)127.00000000000001d' was evaluated to '{(int)doubleOneIncrementAboveSByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -5170,7 +5170,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)doubleOneFullIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(int)128d' was evaluted to '{(int)doubleOneFullIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(int)128d' was evaluated to '{(int)doubleOneFullIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -5185,7 +5185,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneDecrementUnderSByteMinValue) != -129) { - Console.WriteLine($"'(int)-129.0' was evaluted to '{(int)integerOneDecrementUnderSByteMinValue}'. Expected: '-129'."); + Console.WriteLine($"'(int)-129.0' was evaluated to '{(int)integerOneDecrementUnderSByteMinValue}'. Expected: '-129'."); _counter++; } } @@ -5200,7 +5200,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneIncrementAboveSByteMinValue) != -127) { - Console.WriteLine($"'(int)-127.0' was evaluted to '{(int)integerOneIncrementAboveSByteMinValue}'. Expected: '-127'."); + Console.WriteLine($"'(int)-127.0' was evaluated to '{(int)integerOneIncrementAboveSByteMinValue}'. Expected: '-127'."); _counter++; } } @@ -5215,7 +5215,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(int)126.0' was evaluted to '{(int)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(int)126.0' was evaluated to '{(int)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -5230,7 +5230,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(int)128.0' was evaluted to '{(int)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(int)128.0' was evaluated to '{(int)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -5245,7 +5245,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)byteMaxValue) != 255) { - Console.WriteLine($"'(int)255.0' was evaluted to '{(int)byteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(int)255.0' was evaluated to '{(int)byteMaxValue}'. Expected: '255'."); _counter++; } } @@ -5260,7 +5260,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)doubleOneDecrementUnderByteMinValue) != 0) { - Console.WriteLine($"'(int)-5E-324d' was evaluted to '{(int)doubleOneDecrementUnderByteMinValue}'. Expected: '0'."); + Console.WriteLine($"'(int)-5E-324d' was evaluated to '{(int)doubleOneDecrementUnderByteMinValue}'. Expected: '0'."); _counter++; } } @@ -5275,7 +5275,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)doubleOneFullDecrementUnderByteMinValue) != -1) { - Console.WriteLine($"'(int)-1d' was evaluted to '{(int)doubleOneFullDecrementUnderByteMinValue}'. Expected: '-1'."); + Console.WriteLine($"'(int)-1d' was evaluated to '{(int)doubleOneFullDecrementUnderByteMinValue}'. Expected: '-1'."); _counter++; } } @@ -5290,7 +5290,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)doubleOneIncrementAboveByteMinValue) != 0) { - Console.WriteLine($"'(int)5E-324d' was evaluted to '{(int)doubleOneIncrementAboveByteMinValue}'. Expected: '0'."); + Console.WriteLine($"'(int)5E-324d' was evaluated to '{(int)doubleOneIncrementAboveByteMinValue}'. Expected: '0'."); _counter++; } } @@ -5305,7 +5305,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)doubleOneFullIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(int)1d' was evaluted to '{(int)doubleOneFullIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(int)1d' was evaluated to '{(int)doubleOneFullIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -5320,7 +5320,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)doubleOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(int)254.99999999999997d' was evaluted to '{(int)doubleOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(int)254.99999999999997d' was evaluated to '{(int)doubleOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -5335,7 +5335,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)doubleOneFullDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(int)254d' was evaluted to '{(int)doubleOneFullDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(int)254d' was evaluated to '{(int)doubleOneFullDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -5350,7 +5350,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)doubleOneIncrementAboveByteMaxValue) != 255) { - Console.WriteLine($"'(int)255.00000000000003d' was evaluted to '{(int)doubleOneIncrementAboveByteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(int)255.00000000000003d' was evaluated to '{(int)doubleOneIncrementAboveByteMaxValue}'. Expected: '255'."); _counter++; } } @@ -5365,7 +5365,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)doubleOneFullIncrementAboveByteMaxValue) != 256) { - Console.WriteLine($"'(int)256d' was evaluted to '{(int)doubleOneFullIncrementAboveByteMaxValue}'. Expected: '256'."); + Console.WriteLine($"'(int)256d' was evaluated to '{(int)doubleOneFullIncrementAboveByteMaxValue}'. Expected: '256'."); _counter++; } } @@ -5380,7 +5380,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneDecrementUnderByteMinValue) != -1) { - Console.WriteLine($"'(int)-1.0' was evaluted to '{(int)integerOneDecrementUnderByteMinValue}'. Expected: '-1'."); + Console.WriteLine($"'(int)-1.0' was evaluated to '{(int)integerOneDecrementUnderByteMinValue}'. Expected: '-1'."); _counter++; } } @@ -5395,7 +5395,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(int)1.0' was evaluted to '{(int)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(int)1.0' was evaluated to '{(int)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -5410,7 +5410,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(int)254.0' was evaluted to '{(int)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(int)254.0' was evaluated to '{(int)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -5425,7 +5425,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneIncrementAboveByteMaxValue) != 256) { - Console.WriteLine($"'(int)256.0' was evaluted to '{(int)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); + Console.WriteLine($"'(int)256.0' was evaluated to '{(int)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); _counter++; } } @@ -5440,7 +5440,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)int16MinValue) != -32768) { - Console.WriteLine($"'(int)-32768.0' was evaluted to '{(int)int16MinValue}'. Expected: '-32768'."); + Console.WriteLine($"'(int)-32768.0' was evaluated to '{(int)int16MinValue}'. Expected: '-32768'."); _counter++; } } @@ -5455,7 +5455,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)int16MaxValue) != 32767) { - Console.WriteLine($"'(int)32767.0' was evaluted to '{(int)int16MaxValue}'. Expected: '32767'."); + Console.WriteLine($"'(int)32767.0' was evaluated to '{(int)int16MaxValue}'. Expected: '32767'."); _counter++; } } @@ -5470,7 +5470,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)doubleOneDecrementUnderInt16MinValue) != -32768) { - Console.WriteLine($"'(int)-32768.00000000001d' was evaluted to '{(int)doubleOneDecrementUnderInt16MinValue}'. Expected: '-32768'."); + Console.WriteLine($"'(int)-32768.00000000001d' was evaluated to '{(int)doubleOneDecrementUnderInt16MinValue}'. Expected: '-32768'."); _counter++; } } @@ -5485,7 +5485,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)doubleOneFullDecrementUnderInt16MinValue) != -32769) { - Console.WriteLine($"'(int)-32769d' was evaluted to '{(int)doubleOneFullDecrementUnderInt16MinValue}'. Expected: '-32769'."); + Console.WriteLine($"'(int)-32769d' was evaluated to '{(int)doubleOneFullDecrementUnderInt16MinValue}'. Expected: '-32769'."); _counter++; } } @@ -5500,7 +5500,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)doubleOneIncrementAboveInt16MinValue) != -32767) { - Console.WriteLine($"'(int)-32767.999999999996d' was evaluted to '{(int)doubleOneIncrementAboveInt16MinValue}'. Expected: '-32767'."); + Console.WriteLine($"'(int)-32767.999999999996d' was evaluated to '{(int)doubleOneIncrementAboveInt16MinValue}'. Expected: '-32767'."); _counter++; } } @@ -5515,7 +5515,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)doubleOneFullIncrementAboveInt16MinValue) != -32767) { - Console.WriteLine($"'(int)-32767d' was evaluted to '{(int)doubleOneFullIncrementAboveInt16MinValue}'. Expected: '-32767'."); + Console.WriteLine($"'(int)-32767d' was evaluated to '{(int)doubleOneFullIncrementAboveInt16MinValue}'. Expected: '-32767'."); _counter++; } } @@ -5530,7 +5530,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)doubleOneDecrementUnderInt16MaxValue) != 32766) { - Console.WriteLine($"'(int)32766.999999999996d' was evaluted to '{(int)doubleOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); + Console.WriteLine($"'(int)32766.999999999996d' was evaluated to '{(int)doubleOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); _counter++; } } @@ -5545,7 +5545,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)doubleOneFullDecrementUnderInt16MaxValue) != 32766) { - Console.WriteLine($"'(int)32766d' was evaluted to '{(int)doubleOneFullDecrementUnderInt16MaxValue}'. Expected: '32766'."); + Console.WriteLine($"'(int)32766d' was evaluated to '{(int)doubleOneFullDecrementUnderInt16MaxValue}'. Expected: '32766'."); _counter++; } } @@ -5560,7 +5560,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)doubleOneIncrementAboveInt16MaxValue) != 32767) { - Console.WriteLine($"'(int)32767.000000000004d' was evaluted to '{(int)doubleOneIncrementAboveInt16MaxValue}'. Expected: '32767'."); + Console.WriteLine($"'(int)32767.000000000004d' was evaluated to '{(int)doubleOneIncrementAboveInt16MaxValue}'. Expected: '32767'."); _counter++; } } @@ -5575,7 +5575,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)doubleOneFullIncrementAboveInt16MaxValue) != 32768) { - Console.WriteLine($"'(int)32768d' was evaluted to '{(int)doubleOneFullIncrementAboveInt16MaxValue}'. Expected: '32768'."); + Console.WriteLine($"'(int)32768d' was evaluated to '{(int)doubleOneFullIncrementAboveInt16MaxValue}'. Expected: '32768'."); _counter++; } } @@ -5590,7 +5590,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneDecrementUnderInt16MinValue) != -32769) { - Console.WriteLine($"'(int)-32769.0' was evaluted to '{(int)integerOneDecrementUnderInt16MinValue}'. Expected: '-32769'."); + Console.WriteLine($"'(int)-32769.0' was evaluated to '{(int)integerOneDecrementUnderInt16MinValue}'. Expected: '-32769'."); _counter++; } } @@ -5605,7 +5605,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneIncrementAboveInt16MinValue) != -32767) { - Console.WriteLine($"'(int)-32767.0' was evaluted to '{(int)integerOneIncrementAboveInt16MinValue}'. Expected: '-32767'."); + Console.WriteLine($"'(int)-32767.0' was evaluated to '{(int)integerOneIncrementAboveInt16MinValue}'. Expected: '-32767'."); _counter++; } } @@ -5620,7 +5620,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneDecrementUnderInt16MaxValue) != 32766) { - Console.WriteLine($"'(int)32766.0' was evaluted to '{(int)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); + Console.WriteLine($"'(int)32766.0' was evaluated to '{(int)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); _counter++; } } @@ -5635,7 +5635,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneIncrementAboveInt16MaxValue) != 32768) { - Console.WriteLine($"'(int)32768.0' was evaluted to '{(int)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768'."); + Console.WriteLine($"'(int)32768.0' was evaluated to '{(int)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768'."); _counter++; } } @@ -5650,7 +5650,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)uInt16MaxValue) != 65535) { - Console.WriteLine($"'(int)65535.0' was evaluted to '{(int)uInt16MaxValue}'. Expected: '65535'."); + Console.WriteLine($"'(int)65535.0' was evaluated to '{(int)uInt16MaxValue}'. Expected: '65535'."); _counter++; } } @@ -5665,7 +5665,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)doubleOneDecrementUnderUInt16MaxValue) != 65534) { - Console.WriteLine($"'(int)65534.99999999999d' was evaluted to '{(int)doubleOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); + Console.WriteLine($"'(int)65534.99999999999d' was evaluated to '{(int)doubleOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); _counter++; } } @@ -5680,7 +5680,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)doubleOneFullDecrementUnderUInt16MaxValue) != 65534) { - Console.WriteLine($"'(int)65534d' was evaluted to '{(int)doubleOneFullDecrementUnderUInt16MaxValue}'. Expected: '65534'."); + Console.WriteLine($"'(int)65534d' was evaluated to '{(int)doubleOneFullDecrementUnderUInt16MaxValue}'. Expected: '65534'."); _counter++; } } @@ -5695,7 +5695,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)doubleOneIncrementAboveUInt16MaxValue) != 65535) { - Console.WriteLine($"'(int)65535.00000000001d' was evaluted to '{(int)doubleOneIncrementAboveUInt16MaxValue}'. Expected: '65535'."); + Console.WriteLine($"'(int)65535.00000000001d' was evaluated to '{(int)doubleOneIncrementAboveUInt16MaxValue}'. Expected: '65535'."); _counter++; } } @@ -5710,7 +5710,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)doubleOneFullIncrementAboveUInt16MaxValue) != 65536) { - Console.WriteLine($"'(int)65536d' was evaluted to '{(int)doubleOneFullIncrementAboveUInt16MaxValue}'. Expected: '65536'."); + Console.WriteLine($"'(int)65536d' was evaluated to '{(int)doubleOneFullIncrementAboveUInt16MaxValue}'. Expected: '65536'."); _counter++; } } @@ -5725,7 +5725,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneDecrementUnderUInt16MaxValue) != 65534) { - Console.WriteLine($"'(int)65534.0' was evaluted to '{(int)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); + Console.WriteLine($"'(int)65534.0' was evaluated to '{(int)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); _counter++; } } @@ -5740,7 +5740,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneIncrementAboveUInt16MaxValue) != 65536) { - Console.WriteLine($"'(int)65536.0' was evaluted to '{(int)integerOneIncrementAboveUInt16MaxValue}'. Expected: '65536'."); + Console.WriteLine($"'(int)65536.0' was evaluated to '{(int)integerOneIncrementAboveUInt16MaxValue}'. Expected: '65536'."); _counter++; } } @@ -5755,7 +5755,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)int32MinValue) != -2147483648) { - Console.WriteLine($"'(int)-2147483648.0' was evaluted to '{(int)int32MinValue}'. Expected: '-2147483648'."); + Console.WriteLine($"'(int)-2147483648.0' was evaluated to '{(int)int32MinValue}'. Expected: '-2147483648'."); _counter++; } } @@ -5770,7 +5770,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)int32MaxValue) != 2147483647) { - Console.WriteLine($"'(int)2147483647.0' was evaluted to '{(int)int32MaxValue}'. Expected: '2147483647'."); + Console.WriteLine($"'(int)2147483647.0' was evaluated to '{(int)int32MaxValue}'. Expected: '2147483647'."); _counter++; } } @@ -5785,7 +5785,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)doubleOneDecrementUnderInt32MinValue) != -2147483648) { - Console.WriteLine($"'(int)-2147483648.0000005d' was evaluted to '{(int)doubleOneDecrementUnderInt32MinValue}'. Expected: '-2147483648'."); + Console.WriteLine($"'(int)-2147483648.0000005d' was evaluated to '{(int)doubleOneDecrementUnderInt32MinValue}'. Expected: '-2147483648'."); _counter++; } } @@ -5814,7 +5814,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)doubleOneIncrementAboveInt32MinValue) != -2147483647) { - Console.WriteLine($"'(int)-2147483647.9999998d' was evaluted to '{(int)doubleOneIncrementAboveInt32MinValue}'. Expected: '-2147483647'."); + Console.WriteLine($"'(int)-2147483647.9999998d' was evaluated to '{(int)doubleOneIncrementAboveInt32MinValue}'. Expected: '-2147483647'."); _counter++; } } @@ -5829,7 +5829,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)doubleOneFullIncrementAboveInt32MinValue) != -2147483647) { - Console.WriteLine($"'(int)-2147483647d' was evaluted to '{(int)doubleOneFullIncrementAboveInt32MinValue}'. Expected: '-2147483647'."); + Console.WriteLine($"'(int)-2147483647d' was evaluated to '{(int)doubleOneFullIncrementAboveInt32MinValue}'. Expected: '-2147483647'."); _counter++; } } @@ -5844,7 +5844,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)doubleOneDecrementUnderInt32MaxValue) != 2147483646) { - Console.WriteLine($"'(int)2147483646.9999998d' was evaluted to '{(int)doubleOneDecrementUnderInt32MaxValue}'. Expected: '2147483646'."); + Console.WriteLine($"'(int)2147483646.9999998d' was evaluated to '{(int)doubleOneDecrementUnderInt32MaxValue}'. Expected: '2147483646'."); _counter++; } } @@ -5859,7 +5859,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)doubleOneFullDecrementUnderInt32MaxValue) != 2147483646) { - Console.WriteLine($"'(int)2147483646d' was evaluted to '{(int)doubleOneFullDecrementUnderInt32MaxValue}'. Expected: '2147483646'."); + Console.WriteLine($"'(int)2147483646d' was evaluated to '{(int)doubleOneFullDecrementUnderInt32MaxValue}'. Expected: '2147483646'."); _counter++; } } @@ -5874,7 +5874,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)doubleOneIncrementAboveInt32MaxValue) != 2147483647) { - Console.WriteLine($"'(int)2147483647.0000002d' was evaluted to '{(int)doubleOneIncrementAboveInt32MaxValue}'. Expected: '2147483647'."); + Console.WriteLine($"'(int)2147483647.0000002d' was evaluated to '{(int)doubleOneIncrementAboveInt32MaxValue}'. Expected: '2147483647'."); _counter++; } } @@ -5917,7 +5917,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneIncrementAboveInt32MinValue) != -2147483647) { - Console.WriteLine($"'(int)-2147483647.0' was evaluted to '{(int)integerOneIncrementAboveInt32MinValue}'. Expected: '-2147483647'."); + Console.WriteLine($"'(int)-2147483647.0' was evaluated to '{(int)integerOneIncrementAboveInt32MinValue}'. Expected: '-2147483647'."); _counter++; } } @@ -5932,7 +5932,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneDecrementUnderInt32MaxValue) != 2147483646) { - Console.WriteLine($"'(int)2147483646.0' was evaluted to '{(int)integerOneDecrementUnderInt32MaxValue}'. Expected: '2147483646'."); + Console.WriteLine($"'(int)2147483646.0' was evaluated to '{(int)integerOneDecrementUnderInt32MaxValue}'. Expected: '2147483646'."); _counter++; } } @@ -6231,7 +6231,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerZero) != 0) { - Console.WriteLine($"'(uint)0.0' was evaluted to '{(uint)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(uint)0.0' was evaluated to '{(uint)integerZero}'. Expected: '0'."); _counter++; } } @@ -6246,7 +6246,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)doubleMinusZero) != 0) { - Console.WriteLine($"'(uint)-0d' was evaluted to '{(uint)doubleMinusZero}'. Expected: '0'."); + Console.WriteLine($"'(uint)-0d' was evaluated to '{(uint)doubleMinusZero}'. Expected: '0'."); _counter++; } } @@ -6261,7 +6261,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)doubleZero) != 0) { - Console.WriteLine($"'(uint)0d' was evaluted to '{(uint)doubleZero}'. Expected: '0'."); + Console.WriteLine($"'(uint)0d' was evaluated to '{(uint)doubleZero}'. Expected: '0'."); _counter++; } } @@ -6318,7 +6318,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)sByteMaxValue) != 127) { - Console.WriteLine($"'(uint)127.0' was evaluted to '{(uint)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(uint)127.0' was evaluated to '{(uint)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -6389,7 +6389,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)doubleOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(uint)126.99999999999999d' was evaluted to '{(uint)doubleOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(uint)126.99999999999999d' was evaluated to '{(uint)doubleOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -6404,7 +6404,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)doubleOneFullDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(uint)126d' was evaluted to '{(uint)doubleOneFullDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(uint)126d' was evaluated to '{(uint)doubleOneFullDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -6419,7 +6419,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)doubleOneIncrementAboveSByteMaxValue) != 127) { - Console.WriteLine($"'(uint)127.00000000000001d' was evaluted to '{(uint)doubleOneIncrementAboveSByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(uint)127.00000000000001d' was evaluated to '{(uint)doubleOneIncrementAboveSByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -6434,7 +6434,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)doubleOneFullIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(uint)128d' was evaluted to '{(uint)doubleOneFullIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(uint)128d' was evaluated to '{(uint)doubleOneFullIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -6477,7 +6477,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(uint)126.0' was evaluted to '{(uint)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(uint)126.0' was evaluated to '{(uint)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -6492,7 +6492,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(uint)128.0' was evaluted to '{(uint)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(uint)128.0' was evaluated to '{(uint)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -6507,7 +6507,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)byteMaxValue) != 255) { - Console.WriteLine($"'(uint)255.0' was evaluted to '{(uint)byteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(uint)255.0' was evaluated to '{(uint)byteMaxValue}'. Expected: '255'."); _counter++; } } @@ -6522,7 +6522,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)doubleOneDecrementUnderByteMinValue) != 0) { - Console.WriteLine($"'(uint)-5E-324d' was evaluted to '{(uint)doubleOneDecrementUnderByteMinValue}'. Expected: '0'."); + Console.WriteLine($"'(uint)-5E-324d' was evaluated to '{(uint)doubleOneDecrementUnderByteMinValue}'. Expected: '0'."); _counter++; } } @@ -6551,7 +6551,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)doubleOneIncrementAboveByteMinValue) != 0) { - Console.WriteLine($"'(uint)5E-324d' was evaluted to '{(uint)doubleOneIncrementAboveByteMinValue}'. Expected: '0'."); + Console.WriteLine($"'(uint)5E-324d' was evaluated to '{(uint)doubleOneIncrementAboveByteMinValue}'. Expected: '0'."); _counter++; } } @@ -6566,7 +6566,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)doubleOneFullIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(uint)1d' was evaluted to '{(uint)doubleOneFullIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(uint)1d' was evaluated to '{(uint)doubleOneFullIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -6581,7 +6581,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)doubleOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(uint)254.99999999999997d' was evaluted to '{(uint)doubleOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(uint)254.99999999999997d' was evaluated to '{(uint)doubleOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -6596,7 +6596,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)doubleOneFullDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(uint)254d' was evaluted to '{(uint)doubleOneFullDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(uint)254d' was evaluated to '{(uint)doubleOneFullDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -6611,7 +6611,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)doubleOneIncrementAboveByteMaxValue) != 255) { - Console.WriteLine($"'(uint)255.00000000000003d' was evaluted to '{(uint)doubleOneIncrementAboveByteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(uint)255.00000000000003d' was evaluated to '{(uint)doubleOneIncrementAboveByteMaxValue}'. Expected: '255'."); _counter++; } } @@ -6626,7 +6626,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)doubleOneFullIncrementAboveByteMaxValue) != 256) { - Console.WriteLine($"'(uint)256d' was evaluted to '{(uint)doubleOneFullIncrementAboveByteMaxValue}'. Expected: '256'."); + Console.WriteLine($"'(uint)256d' was evaluated to '{(uint)doubleOneFullIncrementAboveByteMaxValue}'. Expected: '256'."); _counter++; } } @@ -6655,7 +6655,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(uint)1.0' was evaluted to '{(uint)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(uint)1.0' was evaluated to '{(uint)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -6670,7 +6670,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(uint)254.0' was evaluted to '{(uint)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(uint)254.0' was evaluated to '{(uint)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -6685,7 +6685,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneIncrementAboveByteMaxValue) != 256) { - Console.WriteLine($"'(uint)256.0' was evaluted to '{(uint)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); + Console.WriteLine($"'(uint)256.0' was evaluated to '{(uint)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); _counter++; } } @@ -6714,7 +6714,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)int16MaxValue) != 32767) { - Console.WriteLine($"'(uint)32767.0' was evaluted to '{(uint)int16MaxValue}'. Expected: '32767'."); + Console.WriteLine($"'(uint)32767.0' was evaluated to '{(uint)int16MaxValue}'. Expected: '32767'."); _counter++; } } @@ -6785,7 +6785,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)doubleOneDecrementUnderInt16MaxValue) != 32766) { - Console.WriteLine($"'(uint)32766.999999999996d' was evaluted to '{(uint)doubleOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); + Console.WriteLine($"'(uint)32766.999999999996d' was evaluated to '{(uint)doubleOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); _counter++; } } @@ -6800,7 +6800,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)doubleOneFullDecrementUnderInt16MaxValue) != 32766) { - Console.WriteLine($"'(uint)32766d' was evaluted to '{(uint)doubleOneFullDecrementUnderInt16MaxValue}'. Expected: '32766'."); + Console.WriteLine($"'(uint)32766d' was evaluated to '{(uint)doubleOneFullDecrementUnderInt16MaxValue}'. Expected: '32766'."); _counter++; } } @@ -6815,7 +6815,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)doubleOneIncrementAboveInt16MaxValue) != 32767) { - Console.WriteLine($"'(uint)32767.000000000004d' was evaluted to '{(uint)doubleOneIncrementAboveInt16MaxValue}'. Expected: '32767'."); + Console.WriteLine($"'(uint)32767.000000000004d' was evaluated to '{(uint)doubleOneIncrementAboveInt16MaxValue}'. Expected: '32767'."); _counter++; } } @@ -6830,7 +6830,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)doubleOneFullIncrementAboveInt16MaxValue) != 32768) { - Console.WriteLine($"'(uint)32768d' was evaluted to '{(uint)doubleOneFullIncrementAboveInt16MaxValue}'. Expected: '32768'."); + Console.WriteLine($"'(uint)32768d' was evaluated to '{(uint)doubleOneFullIncrementAboveInt16MaxValue}'. Expected: '32768'."); _counter++; } } @@ -6873,7 +6873,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneDecrementUnderInt16MaxValue) != 32766) { - Console.WriteLine($"'(uint)32766.0' was evaluted to '{(uint)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); + Console.WriteLine($"'(uint)32766.0' was evaluated to '{(uint)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); _counter++; } } @@ -6888,7 +6888,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneIncrementAboveInt16MaxValue) != 32768) { - Console.WriteLine($"'(uint)32768.0' was evaluted to '{(uint)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768'."); + Console.WriteLine($"'(uint)32768.0' was evaluated to '{(uint)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768'."); _counter++; } } @@ -6903,7 +6903,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)uInt16MaxValue) != 65535) { - Console.WriteLine($"'(uint)65535.0' was evaluted to '{(uint)uInt16MaxValue}'. Expected: '65535'."); + Console.WriteLine($"'(uint)65535.0' was evaluated to '{(uint)uInt16MaxValue}'. Expected: '65535'."); _counter++; } } @@ -6918,7 +6918,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)doubleOneDecrementUnderUInt16MaxValue) != 65534) { - Console.WriteLine($"'(uint)65534.99999999999d' was evaluted to '{(uint)doubleOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); + Console.WriteLine($"'(uint)65534.99999999999d' was evaluated to '{(uint)doubleOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); _counter++; } } @@ -6933,7 +6933,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)doubleOneFullDecrementUnderUInt16MaxValue) != 65534) { - Console.WriteLine($"'(uint)65534d' was evaluted to '{(uint)doubleOneFullDecrementUnderUInt16MaxValue}'. Expected: '65534'."); + Console.WriteLine($"'(uint)65534d' was evaluated to '{(uint)doubleOneFullDecrementUnderUInt16MaxValue}'. Expected: '65534'."); _counter++; } } @@ -6948,7 +6948,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)doubleOneIncrementAboveUInt16MaxValue) != 65535) { - Console.WriteLine($"'(uint)65535.00000000001d' was evaluted to '{(uint)doubleOneIncrementAboveUInt16MaxValue}'. Expected: '65535'."); + Console.WriteLine($"'(uint)65535.00000000001d' was evaluated to '{(uint)doubleOneIncrementAboveUInt16MaxValue}'. Expected: '65535'."); _counter++; } } @@ -6963,7 +6963,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)doubleOneFullIncrementAboveUInt16MaxValue) != 65536) { - Console.WriteLine($"'(uint)65536d' was evaluted to '{(uint)doubleOneFullIncrementAboveUInt16MaxValue}'. Expected: '65536'."); + Console.WriteLine($"'(uint)65536d' was evaluated to '{(uint)doubleOneFullIncrementAboveUInt16MaxValue}'. Expected: '65536'."); _counter++; } } @@ -6978,7 +6978,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneDecrementUnderUInt16MaxValue) != 65534) { - Console.WriteLine($"'(uint)65534.0' was evaluted to '{(uint)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); + Console.WriteLine($"'(uint)65534.0' was evaluated to '{(uint)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); _counter++; } } @@ -6993,7 +6993,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneIncrementAboveUInt16MaxValue) != 65536) { - Console.WriteLine($"'(uint)65536.0' was evaluted to '{(uint)integerOneIncrementAboveUInt16MaxValue}'. Expected: '65536'."); + Console.WriteLine($"'(uint)65536.0' was evaluated to '{(uint)integerOneIncrementAboveUInt16MaxValue}'. Expected: '65536'."); _counter++; } } @@ -7022,7 +7022,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)int32MaxValue) != 2147483647) { - Console.WriteLine($"'(uint)2147483647.0' was evaluted to '{(uint)int32MaxValue}'. Expected: '2147483647'."); + Console.WriteLine($"'(uint)2147483647.0' was evaluated to '{(uint)int32MaxValue}'. Expected: '2147483647'."); _counter++; } } @@ -7093,7 +7093,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)doubleOneDecrementUnderInt32MaxValue) != 2147483646) { - Console.WriteLine($"'(uint)2147483646.9999998d' was evaluted to '{(uint)doubleOneDecrementUnderInt32MaxValue}'. Expected: '2147483646'."); + Console.WriteLine($"'(uint)2147483646.9999998d' was evaluated to '{(uint)doubleOneDecrementUnderInt32MaxValue}'. Expected: '2147483646'."); _counter++; } } @@ -7108,7 +7108,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)doubleOneFullDecrementUnderInt32MaxValue) != 2147483646) { - Console.WriteLine($"'(uint)2147483646d' was evaluted to '{(uint)doubleOneFullDecrementUnderInt32MaxValue}'. Expected: '2147483646'."); + Console.WriteLine($"'(uint)2147483646d' was evaluated to '{(uint)doubleOneFullDecrementUnderInt32MaxValue}'. Expected: '2147483646'."); _counter++; } } @@ -7123,7 +7123,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)doubleOneIncrementAboveInt32MaxValue) != 2147483647) { - Console.WriteLine($"'(uint)2147483647.0000002d' was evaluted to '{(uint)doubleOneIncrementAboveInt32MaxValue}'. Expected: '2147483647'."); + Console.WriteLine($"'(uint)2147483647.0000002d' was evaluated to '{(uint)doubleOneIncrementAboveInt32MaxValue}'. Expected: '2147483647'."); _counter++; } } @@ -7138,7 +7138,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)doubleOneFullIncrementAboveInt32MaxValue) != 2147483648) { - Console.WriteLine($"'(uint)2147483648d' was evaluted to '{(uint)doubleOneFullIncrementAboveInt32MaxValue}'. Expected: '2147483648'."); + Console.WriteLine($"'(uint)2147483648d' was evaluated to '{(uint)doubleOneFullIncrementAboveInt32MaxValue}'. Expected: '2147483648'."); _counter++; } } @@ -7181,7 +7181,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneDecrementUnderInt32MaxValue) != 2147483646) { - Console.WriteLine($"'(uint)2147483646.0' was evaluted to '{(uint)integerOneDecrementUnderInt32MaxValue}'. Expected: '2147483646'."); + Console.WriteLine($"'(uint)2147483646.0' was evaluated to '{(uint)integerOneDecrementUnderInt32MaxValue}'. Expected: '2147483646'."); _counter++; } } @@ -7196,7 +7196,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneIncrementAboveInt32MaxValue) != 2147483648) { - Console.WriteLine($"'(uint)2147483648.0' was evaluted to '{(uint)integerOneIncrementAboveInt32MaxValue}'. Expected: '2147483648'."); + Console.WriteLine($"'(uint)2147483648.0' was evaluated to '{(uint)integerOneIncrementAboveInt32MaxValue}'. Expected: '2147483648'."); _counter++; } } @@ -7211,7 +7211,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)uInt32MaxValue) != 4294967295) { - Console.WriteLine($"'(uint)4294967295.0' was evaluted to '{(uint)uInt32MaxValue}'. Expected: '4294967295'."); + Console.WriteLine($"'(uint)4294967295.0' was evaluated to '{(uint)uInt32MaxValue}'. Expected: '4294967295'."); _counter++; } } @@ -7226,7 +7226,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)doubleOneDecrementUnderUInt32MaxValue) != 4294967294) { - Console.WriteLine($"'(uint)4294967294.9999995d' was evaluted to '{(uint)doubleOneDecrementUnderUInt32MaxValue}'. Expected: '4294967294'."); + Console.WriteLine($"'(uint)4294967294.9999995d' was evaluated to '{(uint)doubleOneDecrementUnderUInt32MaxValue}'. Expected: '4294967294'."); _counter++; } } @@ -7241,7 +7241,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)doubleOneFullDecrementUnderUInt32MaxValue) != 4294967294) { - Console.WriteLine($"'(uint)4294967294d' was evaluted to '{(uint)doubleOneFullDecrementUnderUInt32MaxValue}'. Expected: '4294967294'."); + Console.WriteLine($"'(uint)4294967294d' was evaluated to '{(uint)doubleOneFullDecrementUnderUInt32MaxValue}'. Expected: '4294967294'."); _counter++; } } @@ -7256,7 +7256,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)doubleOneIncrementAboveUInt32MaxValue) != 4294967295) { - Console.WriteLine($"'(uint)4294967295.0000005d' was evaluted to '{(uint)doubleOneIncrementAboveUInt32MaxValue}'. Expected: '4294967295'."); + Console.WriteLine($"'(uint)4294967295.0000005d' was evaluated to '{(uint)doubleOneIncrementAboveUInt32MaxValue}'. Expected: '4294967295'."); _counter++; } } @@ -7285,7 +7285,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneDecrementUnderUInt32MaxValue) != 4294967294) { - Console.WriteLine($"'(uint)4294967294.0' was evaluted to '{(uint)integerOneDecrementUnderUInt32MaxValue}'. Expected: '4294967294'."); + Console.WriteLine($"'(uint)4294967294.0' was evaluated to '{(uint)integerOneDecrementUnderUInt32MaxValue}'. Expected: '4294967294'."); _counter++; } } @@ -7486,7 +7486,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerZero) != 0) { - Console.WriteLine($"'(long)0.0' was evaluted to '{(long)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(long)0.0' was evaluated to '{(long)integerZero}'. Expected: '0'."); _counter++; } } @@ -7501,7 +7501,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)doubleMinusZero) != 0) { - Console.WriteLine($"'(long)-0d' was evaluted to '{(long)doubleMinusZero}'. Expected: '0'."); + Console.WriteLine($"'(long)-0d' was evaluated to '{(long)doubleMinusZero}'. Expected: '0'."); _counter++; } } @@ -7516,7 +7516,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)doubleZero) != 0) { - Console.WriteLine($"'(long)0d' was evaluted to '{(long)doubleZero}'. Expected: '0'."); + Console.WriteLine($"'(long)0d' was evaluated to '{(long)doubleZero}'. Expected: '0'."); _counter++; } } @@ -7559,7 +7559,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)sByteMinValue) != -128) { - Console.WriteLine($"'(long)-128.0' was evaluted to '{(long)sByteMinValue}'. Expected: '-128'."); + Console.WriteLine($"'(long)-128.0' was evaluated to '{(long)sByteMinValue}'. Expected: '-128'."); _counter++; } } @@ -7574,7 +7574,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)sByteMaxValue) != 127) { - Console.WriteLine($"'(long)127.0' was evaluted to '{(long)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(long)127.0' was evaluated to '{(long)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -7589,7 +7589,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)doubleOneDecrementUnderSByteMinValue) != -128) { - Console.WriteLine($"'(long)-128.00000000000003d' was evaluted to '{(long)doubleOneDecrementUnderSByteMinValue}'. Expected: '-128'."); + Console.WriteLine($"'(long)-128.00000000000003d' was evaluated to '{(long)doubleOneDecrementUnderSByteMinValue}'. Expected: '-128'."); _counter++; } } @@ -7604,7 +7604,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)doubleOneFullDecrementUnderSByteMinValue) != -129) { - Console.WriteLine($"'(long)-129d' was evaluted to '{(long)doubleOneFullDecrementUnderSByteMinValue}'. Expected: '-129'."); + Console.WriteLine($"'(long)-129d' was evaluated to '{(long)doubleOneFullDecrementUnderSByteMinValue}'. Expected: '-129'."); _counter++; } } @@ -7619,7 +7619,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)doubleOneIncrementAboveSByteMinValue) != -127) { - Console.WriteLine($"'(long)-127.99999999999999d' was evaluted to '{(long)doubleOneIncrementAboveSByteMinValue}'. Expected: '-127'."); + Console.WriteLine($"'(long)-127.99999999999999d' was evaluated to '{(long)doubleOneIncrementAboveSByteMinValue}'. Expected: '-127'."); _counter++; } } @@ -7634,7 +7634,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)doubleOneFullIncrementAboveSByteMinValue) != -127) { - Console.WriteLine($"'(long)-127d' was evaluted to '{(long)doubleOneFullIncrementAboveSByteMinValue}'. Expected: '-127'."); + Console.WriteLine($"'(long)-127d' was evaluated to '{(long)doubleOneFullIncrementAboveSByteMinValue}'. Expected: '-127'."); _counter++; } } @@ -7649,7 +7649,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)doubleOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(long)126.99999999999999d' was evaluted to '{(long)doubleOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(long)126.99999999999999d' was evaluated to '{(long)doubleOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -7664,7 +7664,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)doubleOneFullDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(long)126d' was evaluted to '{(long)doubleOneFullDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(long)126d' was evaluated to '{(long)doubleOneFullDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -7679,7 +7679,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)doubleOneIncrementAboveSByteMaxValue) != 127) { - Console.WriteLine($"'(long)127.00000000000001d' was evaluted to '{(long)doubleOneIncrementAboveSByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(long)127.00000000000001d' was evaluated to '{(long)doubleOneIncrementAboveSByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -7694,7 +7694,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)doubleOneFullIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(long)128d' was evaluted to '{(long)doubleOneFullIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(long)128d' was evaluated to '{(long)doubleOneFullIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -7709,7 +7709,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneDecrementUnderSByteMinValue) != -129) { - Console.WriteLine($"'(long)-129.0' was evaluted to '{(long)integerOneDecrementUnderSByteMinValue}'. Expected: '-129'."); + Console.WriteLine($"'(long)-129.0' was evaluated to '{(long)integerOneDecrementUnderSByteMinValue}'. Expected: '-129'."); _counter++; } } @@ -7724,7 +7724,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneIncrementAboveSByteMinValue) != -127) { - Console.WriteLine($"'(long)-127.0' was evaluted to '{(long)integerOneIncrementAboveSByteMinValue}'. Expected: '-127'."); + Console.WriteLine($"'(long)-127.0' was evaluated to '{(long)integerOneIncrementAboveSByteMinValue}'. Expected: '-127'."); _counter++; } } @@ -7739,7 +7739,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(long)126.0' was evaluted to '{(long)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(long)126.0' was evaluated to '{(long)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -7754,7 +7754,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(long)128.0' was evaluted to '{(long)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(long)128.0' was evaluated to '{(long)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -7769,7 +7769,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)byteMaxValue) != 255) { - Console.WriteLine($"'(long)255.0' was evaluted to '{(long)byteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(long)255.0' was evaluated to '{(long)byteMaxValue}'. Expected: '255'."); _counter++; } } @@ -7784,7 +7784,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)doubleOneDecrementUnderByteMinValue) != 0) { - Console.WriteLine($"'(long)-5E-324d' was evaluted to '{(long)doubleOneDecrementUnderByteMinValue}'. Expected: '0'."); + Console.WriteLine($"'(long)-5E-324d' was evaluated to '{(long)doubleOneDecrementUnderByteMinValue}'. Expected: '0'."); _counter++; } } @@ -7799,7 +7799,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)doubleOneFullDecrementUnderByteMinValue) != -1) { - Console.WriteLine($"'(long)-1d' was evaluted to '{(long)doubleOneFullDecrementUnderByteMinValue}'. Expected: '-1'."); + Console.WriteLine($"'(long)-1d' was evaluated to '{(long)doubleOneFullDecrementUnderByteMinValue}'. Expected: '-1'."); _counter++; } } @@ -7814,7 +7814,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)doubleOneIncrementAboveByteMinValue) != 0) { - Console.WriteLine($"'(long)5E-324d' was evaluted to '{(long)doubleOneIncrementAboveByteMinValue}'. Expected: '0'."); + Console.WriteLine($"'(long)5E-324d' was evaluated to '{(long)doubleOneIncrementAboveByteMinValue}'. Expected: '0'."); _counter++; } } @@ -7829,7 +7829,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)doubleOneFullIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(long)1d' was evaluted to '{(long)doubleOneFullIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(long)1d' was evaluated to '{(long)doubleOneFullIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -7844,7 +7844,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)doubleOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(long)254.99999999999997d' was evaluted to '{(long)doubleOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(long)254.99999999999997d' was evaluated to '{(long)doubleOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -7859,7 +7859,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)doubleOneFullDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(long)254d' was evaluted to '{(long)doubleOneFullDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(long)254d' was evaluated to '{(long)doubleOneFullDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -7874,7 +7874,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)doubleOneIncrementAboveByteMaxValue) != 255) { - Console.WriteLine($"'(long)255.00000000000003d' was evaluted to '{(long)doubleOneIncrementAboveByteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(long)255.00000000000003d' was evaluated to '{(long)doubleOneIncrementAboveByteMaxValue}'. Expected: '255'."); _counter++; } } @@ -7889,7 +7889,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)doubleOneFullIncrementAboveByteMaxValue) != 256) { - Console.WriteLine($"'(long)256d' was evaluted to '{(long)doubleOneFullIncrementAboveByteMaxValue}'. Expected: '256'."); + Console.WriteLine($"'(long)256d' was evaluated to '{(long)doubleOneFullIncrementAboveByteMaxValue}'. Expected: '256'."); _counter++; } } @@ -7904,7 +7904,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneDecrementUnderByteMinValue) != -1) { - Console.WriteLine($"'(long)-1.0' was evaluted to '{(long)integerOneDecrementUnderByteMinValue}'. Expected: '-1'."); + Console.WriteLine($"'(long)-1.0' was evaluated to '{(long)integerOneDecrementUnderByteMinValue}'. Expected: '-1'."); _counter++; } } @@ -7919,7 +7919,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(long)1.0' was evaluted to '{(long)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(long)1.0' was evaluated to '{(long)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -7934,7 +7934,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(long)254.0' was evaluted to '{(long)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(long)254.0' was evaluated to '{(long)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -7949,7 +7949,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneIncrementAboveByteMaxValue) != 256) { - Console.WriteLine($"'(long)256.0' was evaluted to '{(long)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); + Console.WriteLine($"'(long)256.0' was evaluated to '{(long)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); _counter++; } } @@ -7964,7 +7964,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)int16MinValue) != -32768) { - Console.WriteLine($"'(long)-32768.0' was evaluted to '{(long)int16MinValue}'. Expected: '-32768'."); + Console.WriteLine($"'(long)-32768.0' was evaluated to '{(long)int16MinValue}'. Expected: '-32768'."); _counter++; } } @@ -7979,7 +7979,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)int16MaxValue) != 32767) { - Console.WriteLine($"'(long)32767.0' was evaluted to '{(long)int16MaxValue}'. Expected: '32767'."); + Console.WriteLine($"'(long)32767.0' was evaluated to '{(long)int16MaxValue}'. Expected: '32767'."); _counter++; } } @@ -7994,7 +7994,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)doubleOneDecrementUnderInt16MinValue) != -32768) { - Console.WriteLine($"'(long)-32768.00000000001d' was evaluted to '{(long)doubleOneDecrementUnderInt16MinValue}'. Expected: '-32768'."); + Console.WriteLine($"'(long)-32768.00000000001d' was evaluated to '{(long)doubleOneDecrementUnderInt16MinValue}'. Expected: '-32768'."); _counter++; } } @@ -8009,7 +8009,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)doubleOneFullDecrementUnderInt16MinValue) != -32769) { - Console.WriteLine($"'(long)-32769d' was evaluted to '{(long)doubleOneFullDecrementUnderInt16MinValue}'. Expected: '-32769'."); + Console.WriteLine($"'(long)-32769d' was evaluated to '{(long)doubleOneFullDecrementUnderInt16MinValue}'. Expected: '-32769'."); _counter++; } } @@ -8024,7 +8024,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)doubleOneIncrementAboveInt16MinValue) != -32767) { - Console.WriteLine($"'(long)-32767.999999999996d' was evaluted to '{(long)doubleOneIncrementAboveInt16MinValue}'. Expected: '-32767'."); + Console.WriteLine($"'(long)-32767.999999999996d' was evaluated to '{(long)doubleOneIncrementAboveInt16MinValue}'. Expected: '-32767'."); _counter++; } } @@ -8039,7 +8039,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)doubleOneFullIncrementAboveInt16MinValue) != -32767) { - Console.WriteLine($"'(long)-32767d' was evaluted to '{(long)doubleOneFullIncrementAboveInt16MinValue}'. Expected: '-32767'."); + Console.WriteLine($"'(long)-32767d' was evaluated to '{(long)doubleOneFullIncrementAboveInt16MinValue}'. Expected: '-32767'."); _counter++; } } @@ -8054,7 +8054,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)doubleOneDecrementUnderInt16MaxValue) != 32766) { - Console.WriteLine($"'(long)32766.999999999996d' was evaluted to '{(long)doubleOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); + Console.WriteLine($"'(long)32766.999999999996d' was evaluated to '{(long)doubleOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); _counter++; } } @@ -8069,7 +8069,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)doubleOneFullDecrementUnderInt16MaxValue) != 32766) { - Console.WriteLine($"'(long)32766d' was evaluted to '{(long)doubleOneFullDecrementUnderInt16MaxValue}'. Expected: '32766'."); + Console.WriteLine($"'(long)32766d' was evaluated to '{(long)doubleOneFullDecrementUnderInt16MaxValue}'. Expected: '32766'."); _counter++; } } @@ -8084,7 +8084,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)doubleOneIncrementAboveInt16MaxValue) != 32767) { - Console.WriteLine($"'(long)32767.000000000004d' was evaluted to '{(long)doubleOneIncrementAboveInt16MaxValue}'. Expected: '32767'."); + Console.WriteLine($"'(long)32767.000000000004d' was evaluated to '{(long)doubleOneIncrementAboveInt16MaxValue}'. Expected: '32767'."); _counter++; } } @@ -8099,7 +8099,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)doubleOneFullIncrementAboveInt16MaxValue) != 32768) { - Console.WriteLine($"'(long)32768d' was evaluted to '{(long)doubleOneFullIncrementAboveInt16MaxValue}'. Expected: '32768'."); + Console.WriteLine($"'(long)32768d' was evaluated to '{(long)doubleOneFullIncrementAboveInt16MaxValue}'. Expected: '32768'."); _counter++; } } @@ -8114,7 +8114,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneDecrementUnderInt16MinValue) != -32769) { - Console.WriteLine($"'(long)-32769.0' was evaluted to '{(long)integerOneDecrementUnderInt16MinValue}'. Expected: '-32769'."); + Console.WriteLine($"'(long)-32769.0' was evaluated to '{(long)integerOneDecrementUnderInt16MinValue}'. Expected: '-32769'."); _counter++; } } @@ -8129,7 +8129,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneIncrementAboveInt16MinValue) != -32767) { - Console.WriteLine($"'(long)-32767.0' was evaluted to '{(long)integerOneIncrementAboveInt16MinValue}'. Expected: '-32767'."); + Console.WriteLine($"'(long)-32767.0' was evaluated to '{(long)integerOneIncrementAboveInt16MinValue}'. Expected: '-32767'."); _counter++; } } @@ -8144,7 +8144,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneDecrementUnderInt16MaxValue) != 32766) { - Console.WriteLine($"'(long)32766.0' was evaluted to '{(long)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); + Console.WriteLine($"'(long)32766.0' was evaluated to '{(long)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); _counter++; } } @@ -8159,7 +8159,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneIncrementAboveInt16MaxValue) != 32768) { - Console.WriteLine($"'(long)32768.0' was evaluted to '{(long)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768'."); + Console.WriteLine($"'(long)32768.0' was evaluated to '{(long)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768'."); _counter++; } } @@ -8174,7 +8174,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)uInt16MaxValue) != 65535) { - Console.WriteLine($"'(long)65535.0' was evaluted to '{(long)uInt16MaxValue}'. Expected: '65535'."); + Console.WriteLine($"'(long)65535.0' was evaluated to '{(long)uInt16MaxValue}'. Expected: '65535'."); _counter++; } } @@ -8189,7 +8189,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)doubleOneDecrementUnderUInt16MaxValue) != 65534) { - Console.WriteLine($"'(long)65534.99999999999d' was evaluted to '{(long)doubleOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); + Console.WriteLine($"'(long)65534.99999999999d' was evaluated to '{(long)doubleOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); _counter++; } } @@ -8204,7 +8204,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)doubleOneFullDecrementUnderUInt16MaxValue) != 65534) { - Console.WriteLine($"'(long)65534d' was evaluted to '{(long)doubleOneFullDecrementUnderUInt16MaxValue}'. Expected: '65534'."); + Console.WriteLine($"'(long)65534d' was evaluated to '{(long)doubleOneFullDecrementUnderUInt16MaxValue}'. Expected: '65534'."); _counter++; } } @@ -8219,7 +8219,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)doubleOneIncrementAboveUInt16MaxValue) != 65535) { - Console.WriteLine($"'(long)65535.00000000001d' was evaluted to '{(long)doubleOneIncrementAboveUInt16MaxValue}'. Expected: '65535'."); + Console.WriteLine($"'(long)65535.00000000001d' was evaluated to '{(long)doubleOneIncrementAboveUInt16MaxValue}'. Expected: '65535'."); _counter++; } } @@ -8234,7 +8234,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)doubleOneFullIncrementAboveUInt16MaxValue) != 65536) { - Console.WriteLine($"'(long)65536d' was evaluted to '{(long)doubleOneFullIncrementAboveUInt16MaxValue}'. Expected: '65536'."); + Console.WriteLine($"'(long)65536d' was evaluated to '{(long)doubleOneFullIncrementAboveUInt16MaxValue}'. Expected: '65536'."); _counter++; } } @@ -8249,7 +8249,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneDecrementUnderUInt16MaxValue) != 65534) { - Console.WriteLine($"'(long)65534.0' was evaluted to '{(long)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); + Console.WriteLine($"'(long)65534.0' was evaluated to '{(long)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); _counter++; } } @@ -8264,7 +8264,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneIncrementAboveUInt16MaxValue) != 65536) { - Console.WriteLine($"'(long)65536.0' was evaluted to '{(long)integerOneIncrementAboveUInt16MaxValue}'. Expected: '65536'."); + Console.WriteLine($"'(long)65536.0' was evaluated to '{(long)integerOneIncrementAboveUInt16MaxValue}'. Expected: '65536'."); _counter++; } } @@ -8279,7 +8279,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)int32MinValue) != -2147483648) { - Console.WriteLine($"'(long)-2147483648.0' was evaluted to '{(long)int32MinValue}'. Expected: '-2147483648'."); + Console.WriteLine($"'(long)-2147483648.0' was evaluated to '{(long)int32MinValue}'. Expected: '-2147483648'."); _counter++; } } @@ -8294,7 +8294,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)int32MaxValue) != 2147483647) { - Console.WriteLine($"'(long)2147483647.0' was evaluted to '{(long)int32MaxValue}'. Expected: '2147483647'."); + Console.WriteLine($"'(long)2147483647.0' was evaluated to '{(long)int32MaxValue}'. Expected: '2147483647'."); _counter++; } } @@ -8309,7 +8309,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)doubleOneDecrementUnderInt32MinValue) != -2147483648) { - Console.WriteLine($"'(long)-2147483648.0000005d' was evaluted to '{(long)doubleOneDecrementUnderInt32MinValue}'. Expected: '-2147483648'."); + Console.WriteLine($"'(long)-2147483648.0000005d' was evaluated to '{(long)doubleOneDecrementUnderInt32MinValue}'. Expected: '-2147483648'."); _counter++; } } @@ -8324,7 +8324,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)doubleOneFullDecrementUnderInt32MinValue) != -2147483649) { - Console.WriteLine($"'(long)-2147483649d' was evaluted to '{(long)doubleOneFullDecrementUnderInt32MinValue}'. Expected: '-2147483649'."); + Console.WriteLine($"'(long)-2147483649d' was evaluated to '{(long)doubleOneFullDecrementUnderInt32MinValue}'. Expected: '-2147483649'."); _counter++; } } @@ -8339,7 +8339,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)doubleOneIncrementAboveInt32MinValue) != -2147483647) { - Console.WriteLine($"'(long)-2147483647.9999998d' was evaluted to '{(long)doubleOneIncrementAboveInt32MinValue}'. Expected: '-2147483647'."); + Console.WriteLine($"'(long)-2147483647.9999998d' was evaluated to '{(long)doubleOneIncrementAboveInt32MinValue}'. Expected: '-2147483647'."); _counter++; } } @@ -8354,7 +8354,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)doubleOneFullIncrementAboveInt32MinValue) != -2147483647) { - Console.WriteLine($"'(long)-2147483647d' was evaluted to '{(long)doubleOneFullIncrementAboveInt32MinValue}'. Expected: '-2147483647'."); + Console.WriteLine($"'(long)-2147483647d' was evaluated to '{(long)doubleOneFullIncrementAboveInt32MinValue}'. Expected: '-2147483647'."); _counter++; } } @@ -8369,7 +8369,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)doubleOneDecrementUnderInt32MaxValue) != 2147483646) { - Console.WriteLine($"'(long)2147483646.9999998d' was evaluted to '{(long)doubleOneDecrementUnderInt32MaxValue}'. Expected: '2147483646'."); + Console.WriteLine($"'(long)2147483646.9999998d' was evaluated to '{(long)doubleOneDecrementUnderInt32MaxValue}'. Expected: '2147483646'."); _counter++; } } @@ -8384,7 +8384,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)doubleOneFullDecrementUnderInt32MaxValue) != 2147483646) { - Console.WriteLine($"'(long)2147483646d' was evaluted to '{(long)doubleOneFullDecrementUnderInt32MaxValue}'. Expected: '2147483646'."); + Console.WriteLine($"'(long)2147483646d' was evaluated to '{(long)doubleOneFullDecrementUnderInt32MaxValue}'. Expected: '2147483646'."); _counter++; } } @@ -8399,7 +8399,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)doubleOneIncrementAboveInt32MaxValue) != 2147483647) { - Console.WriteLine($"'(long)2147483647.0000002d' was evaluted to '{(long)doubleOneIncrementAboveInt32MaxValue}'. Expected: '2147483647'."); + Console.WriteLine($"'(long)2147483647.0000002d' was evaluated to '{(long)doubleOneIncrementAboveInt32MaxValue}'. Expected: '2147483647'."); _counter++; } } @@ -8414,7 +8414,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)doubleOneFullIncrementAboveInt32MaxValue) != 2147483648) { - Console.WriteLine($"'(long)2147483648d' was evaluted to '{(long)doubleOneFullIncrementAboveInt32MaxValue}'. Expected: '2147483648'."); + Console.WriteLine($"'(long)2147483648d' was evaluated to '{(long)doubleOneFullIncrementAboveInt32MaxValue}'. Expected: '2147483648'."); _counter++; } } @@ -8429,7 +8429,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneDecrementUnderInt32MinValue) != -2147483649) { - Console.WriteLine($"'(long)-2147483649.0' was evaluted to '{(long)integerOneDecrementUnderInt32MinValue}'. Expected: '-2147483649'."); + Console.WriteLine($"'(long)-2147483649.0' was evaluated to '{(long)integerOneDecrementUnderInt32MinValue}'. Expected: '-2147483649'."); _counter++; } } @@ -8444,7 +8444,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneIncrementAboveInt32MinValue) != -2147483647) { - Console.WriteLine($"'(long)-2147483647.0' was evaluted to '{(long)integerOneIncrementAboveInt32MinValue}'. Expected: '-2147483647'."); + Console.WriteLine($"'(long)-2147483647.0' was evaluated to '{(long)integerOneIncrementAboveInt32MinValue}'. Expected: '-2147483647'."); _counter++; } } @@ -8459,7 +8459,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneDecrementUnderInt32MaxValue) != 2147483646) { - Console.WriteLine($"'(long)2147483646.0' was evaluted to '{(long)integerOneDecrementUnderInt32MaxValue}'. Expected: '2147483646'."); + Console.WriteLine($"'(long)2147483646.0' was evaluated to '{(long)integerOneDecrementUnderInt32MaxValue}'. Expected: '2147483646'."); _counter++; } } @@ -8474,7 +8474,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneIncrementAboveInt32MaxValue) != 2147483648) { - Console.WriteLine($"'(long)2147483648.0' was evaluted to '{(long)integerOneIncrementAboveInt32MaxValue}'. Expected: '2147483648'."); + Console.WriteLine($"'(long)2147483648.0' was evaluated to '{(long)integerOneIncrementAboveInt32MaxValue}'. Expected: '2147483648'."); _counter++; } } @@ -8489,7 +8489,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)uInt32MaxValue) != 4294967295) { - Console.WriteLine($"'(long)4294967295.0' was evaluted to '{(long)uInt32MaxValue}'. Expected: '4294967295'."); + Console.WriteLine($"'(long)4294967295.0' was evaluated to '{(long)uInt32MaxValue}'. Expected: '4294967295'."); _counter++; } } @@ -8504,7 +8504,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)doubleOneDecrementUnderUInt32MaxValue) != 4294967294) { - Console.WriteLine($"'(long)4294967294.9999995d' was evaluted to '{(long)doubleOneDecrementUnderUInt32MaxValue}'. Expected: '4294967294'."); + Console.WriteLine($"'(long)4294967294.9999995d' was evaluated to '{(long)doubleOneDecrementUnderUInt32MaxValue}'. Expected: '4294967294'."); _counter++; } } @@ -8519,7 +8519,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)doubleOneFullDecrementUnderUInt32MaxValue) != 4294967294) { - Console.WriteLine($"'(long)4294967294d' was evaluted to '{(long)doubleOneFullDecrementUnderUInt32MaxValue}'. Expected: '4294967294'."); + Console.WriteLine($"'(long)4294967294d' was evaluated to '{(long)doubleOneFullDecrementUnderUInt32MaxValue}'. Expected: '4294967294'."); _counter++; } } @@ -8534,7 +8534,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)doubleOneIncrementAboveUInt32MaxValue) != 4294967295) { - Console.WriteLine($"'(long)4294967295.0000005d' was evaluted to '{(long)doubleOneIncrementAboveUInt32MaxValue}'. Expected: '4294967295'."); + Console.WriteLine($"'(long)4294967295.0000005d' was evaluated to '{(long)doubleOneIncrementAboveUInt32MaxValue}'. Expected: '4294967295'."); _counter++; } } @@ -8549,7 +8549,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)doubleOneFullIncrementAboveUInt32MaxValue) != 4294967296) { - Console.WriteLine($"'(long)4294967296d' was evaluted to '{(long)doubleOneFullIncrementAboveUInt32MaxValue}'. Expected: '4294967296'."); + Console.WriteLine($"'(long)4294967296d' was evaluated to '{(long)doubleOneFullIncrementAboveUInt32MaxValue}'. Expected: '4294967296'."); _counter++; } } @@ -8564,7 +8564,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneDecrementUnderUInt32MaxValue) != 4294967294) { - Console.WriteLine($"'(long)4294967294.0' was evaluted to '{(long)integerOneDecrementUnderUInt32MaxValue}'. Expected: '4294967294'."); + Console.WriteLine($"'(long)4294967294.0' was evaluated to '{(long)integerOneDecrementUnderUInt32MaxValue}'. Expected: '4294967294'."); _counter++; } } @@ -8579,7 +8579,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneIncrementAboveUInt32MaxValue) != 4294967296) { - Console.WriteLine($"'(long)4294967296.0' was evaluted to '{(long)integerOneIncrementAboveUInt32MaxValue}'. Expected: '4294967296'."); + Console.WriteLine($"'(long)4294967296.0' was evaluated to '{(long)integerOneIncrementAboveUInt32MaxValue}'. Expected: '4294967296'."); _counter++; } } @@ -8594,7 +8594,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)int64MinValue) != -9223372036854775808) { - Console.WriteLine($"'(long)-9223372036854775808.0' was evaluted to '{(long)int64MinValue}'. Expected: '-9223372036854775808'."); + Console.WriteLine($"'(long)-9223372036854775808.0' was evaluated to '{(long)int64MinValue}'. Expected: '-9223372036854775808'."); _counter++; } } @@ -8623,7 +8623,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)doubleOneIncrementAboveInt64MinValue) != -9223372036854774784) { - Console.WriteLine($"'(long)-9.223372036854775E+18d' was evaluted to '{(long)doubleOneIncrementAboveInt64MinValue}'. Expected: '-9223372036854774784'."); + Console.WriteLine($"'(long)-9.223372036854775E+18d' was evaluated to '{(long)doubleOneIncrementAboveInt64MinValue}'. Expected: '-9223372036854774784'."); _counter++; } } @@ -8638,7 +8638,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)doubleOneDecrementUnderInt64MaxValue) != 9223372036854774784) { - Console.WriteLine($"'(long)9.223372036854775E+18d' was evaluted to '{(long)doubleOneDecrementUnderInt64MaxValue}'. Expected: '9223372036854774784'."); + Console.WriteLine($"'(long)9.223372036854775E+18d' was evaluated to '{(long)doubleOneDecrementUnderInt64MaxValue}'. Expected: '9223372036854774784'."); _counter++; } } @@ -8681,7 +8681,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneIncrementAboveInt64MinValue) != -9223372036854775808) { - Console.WriteLine($"'(long)-9223372036854775807.0' was evaluted to '{(long)integerOneIncrementAboveInt64MinValue}'. Expected: '-9223372036854775808'."); + Console.WriteLine($"'(long)-9223372036854775807.0' was evaluated to '{(long)integerOneIncrementAboveInt64MinValue}'. Expected: '-9223372036854775808'."); _counter++; } } @@ -8770,7 +8770,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerZero) != 0) { - Console.WriteLine($"'(ulong)0.0' was evaluted to '{(ulong)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(ulong)0.0' was evaluated to '{(ulong)integerZero}'. Expected: '0'."); _counter++; } } @@ -8785,7 +8785,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)doubleMinusZero) != 0) { - Console.WriteLine($"'(ulong)-0d' was evaluted to '{(ulong)doubleMinusZero}'. Expected: '0'."); + Console.WriteLine($"'(ulong)-0d' was evaluated to '{(ulong)doubleMinusZero}'. Expected: '0'."); _counter++; } } @@ -8800,7 +8800,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)doubleZero) != 0) { - Console.WriteLine($"'(ulong)0d' was evaluted to '{(ulong)doubleZero}'. Expected: '0'."); + Console.WriteLine($"'(ulong)0d' was evaluated to '{(ulong)doubleZero}'. Expected: '0'."); _counter++; } } @@ -8857,7 +8857,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)sByteMaxValue) != 127) { - Console.WriteLine($"'(ulong)127.0' was evaluted to '{(ulong)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(ulong)127.0' was evaluated to '{(ulong)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -8928,7 +8928,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)doubleOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(ulong)126.99999999999999d' was evaluted to '{(ulong)doubleOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(ulong)126.99999999999999d' was evaluated to '{(ulong)doubleOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -8943,7 +8943,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)doubleOneFullDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(ulong)126d' was evaluted to '{(ulong)doubleOneFullDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(ulong)126d' was evaluated to '{(ulong)doubleOneFullDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -8958,7 +8958,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)doubleOneIncrementAboveSByteMaxValue) != 127) { - Console.WriteLine($"'(ulong)127.00000000000001d' was evaluted to '{(ulong)doubleOneIncrementAboveSByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(ulong)127.00000000000001d' was evaluated to '{(ulong)doubleOneIncrementAboveSByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -8973,7 +8973,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)doubleOneFullIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(ulong)128d' was evaluted to '{(ulong)doubleOneFullIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(ulong)128d' was evaluated to '{(ulong)doubleOneFullIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -9016,7 +9016,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(ulong)126.0' was evaluted to '{(ulong)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(ulong)126.0' was evaluated to '{(ulong)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -9031,7 +9031,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(ulong)128.0' was evaluted to '{(ulong)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(ulong)128.0' was evaluated to '{(ulong)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -9046,7 +9046,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)byteMaxValue) != 255) { - Console.WriteLine($"'(ulong)255.0' was evaluted to '{(ulong)byteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(ulong)255.0' was evaluated to '{(ulong)byteMaxValue}'. Expected: '255'."); _counter++; } } @@ -9061,7 +9061,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)doubleOneDecrementUnderByteMinValue) != 0) { - Console.WriteLine($"'(ulong)-5E-324d' was evaluted to '{(ulong)doubleOneDecrementUnderByteMinValue}'. Expected: '0'."); + Console.WriteLine($"'(ulong)-5E-324d' was evaluated to '{(ulong)doubleOneDecrementUnderByteMinValue}'. Expected: '0'."); _counter++; } } @@ -9090,7 +9090,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)doubleOneIncrementAboveByteMinValue) != 0) { - Console.WriteLine($"'(ulong)5E-324d' was evaluted to '{(ulong)doubleOneIncrementAboveByteMinValue}'. Expected: '0'."); + Console.WriteLine($"'(ulong)5E-324d' was evaluated to '{(ulong)doubleOneIncrementAboveByteMinValue}'. Expected: '0'."); _counter++; } } @@ -9105,7 +9105,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)doubleOneFullIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(ulong)1d' was evaluted to '{(ulong)doubleOneFullIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(ulong)1d' was evaluated to '{(ulong)doubleOneFullIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -9120,7 +9120,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)doubleOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(ulong)254.99999999999997d' was evaluted to '{(ulong)doubleOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(ulong)254.99999999999997d' was evaluated to '{(ulong)doubleOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -9135,7 +9135,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)doubleOneFullDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(ulong)254d' was evaluted to '{(ulong)doubleOneFullDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(ulong)254d' was evaluated to '{(ulong)doubleOneFullDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -9150,7 +9150,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)doubleOneIncrementAboveByteMaxValue) != 255) { - Console.WriteLine($"'(ulong)255.00000000000003d' was evaluted to '{(ulong)doubleOneIncrementAboveByteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(ulong)255.00000000000003d' was evaluated to '{(ulong)doubleOneIncrementAboveByteMaxValue}'. Expected: '255'."); _counter++; } } @@ -9165,7 +9165,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)doubleOneFullIncrementAboveByteMaxValue) != 256) { - Console.WriteLine($"'(ulong)256d' was evaluted to '{(ulong)doubleOneFullIncrementAboveByteMaxValue}'. Expected: '256'."); + Console.WriteLine($"'(ulong)256d' was evaluated to '{(ulong)doubleOneFullIncrementAboveByteMaxValue}'. Expected: '256'."); _counter++; } } @@ -9194,7 +9194,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(ulong)1.0' was evaluted to '{(ulong)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(ulong)1.0' was evaluated to '{(ulong)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -9209,7 +9209,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(ulong)254.0' was evaluted to '{(ulong)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(ulong)254.0' was evaluated to '{(ulong)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -9224,7 +9224,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneIncrementAboveByteMaxValue) != 256) { - Console.WriteLine($"'(ulong)256.0' was evaluted to '{(ulong)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); + Console.WriteLine($"'(ulong)256.0' was evaluated to '{(ulong)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); _counter++; } } @@ -9253,7 +9253,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)int16MaxValue) != 32767) { - Console.WriteLine($"'(ulong)32767.0' was evaluted to '{(ulong)int16MaxValue}'. Expected: '32767'."); + Console.WriteLine($"'(ulong)32767.0' was evaluated to '{(ulong)int16MaxValue}'. Expected: '32767'."); _counter++; } } @@ -9324,7 +9324,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)doubleOneDecrementUnderInt16MaxValue) != 32766) { - Console.WriteLine($"'(ulong)32766.999999999996d' was evaluted to '{(ulong)doubleOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); + Console.WriteLine($"'(ulong)32766.999999999996d' was evaluated to '{(ulong)doubleOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); _counter++; } } @@ -9339,7 +9339,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)doubleOneFullDecrementUnderInt16MaxValue) != 32766) { - Console.WriteLine($"'(ulong)32766d' was evaluted to '{(ulong)doubleOneFullDecrementUnderInt16MaxValue}'. Expected: '32766'."); + Console.WriteLine($"'(ulong)32766d' was evaluated to '{(ulong)doubleOneFullDecrementUnderInt16MaxValue}'. Expected: '32766'."); _counter++; } } @@ -9354,7 +9354,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)doubleOneIncrementAboveInt16MaxValue) != 32767) { - Console.WriteLine($"'(ulong)32767.000000000004d' was evaluted to '{(ulong)doubleOneIncrementAboveInt16MaxValue}'. Expected: '32767'."); + Console.WriteLine($"'(ulong)32767.000000000004d' was evaluated to '{(ulong)doubleOneIncrementAboveInt16MaxValue}'. Expected: '32767'."); _counter++; } } @@ -9369,7 +9369,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)doubleOneFullIncrementAboveInt16MaxValue) != 32768) { - Console.WriteLine($"'(ulong)32768d' was evaluted to '{(ulong)doubleOneFullIncrementAboveInt16MaxValue}'. Expected: '32768'."); + Console.WriteLine($"'(ulong)32768d' was evaluated to '{(ulong)doubleOneFullIncrementAboveInt16MaxValue}'. Expected: '32768'."); _counter++; } } @@ -9412,7 +9412,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneDecrementUnderInt16MaxValue) != 32766) { - Console.WriteLine($"'(ulong)32766.0' was evaluted to '{(ulong)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); + Console.WriteLine($"'(ulong)32766.0' was evaluated to '{(ulong)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); _counter++; } } @@ -9427,7 +9427,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneIncrementAboveInt16MaxValue) != 32768) { - Console.WriteLine($"'(ulong)32768.0' was evaluted to '{(ulong)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768'."); + Console.WriteLine($"'(ulong)32768.0' was evaluated to '{(ulong)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768'."); _counter++; } } @@ -9442,7 +9442,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)uInt16MaxValue) != 65535) { - Console.WriteLine($"'(ulong)65535.0' was evaluted to '{(ulong)uInt16MaxValue}'. Expected: '65535'."); + Console.WriteLine($"'(ulong)65535.0' was evaluated to '{(ulong)uInt16MaxValue}'. Expected: '65535'."); _counter++; } } @@ -9457,7 +9457,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)doubleOneDecrementUnderUInt16MaxValue) != 65534) { - Console.WriteLine($"'(ulong)65534.99999999999d' was evaluted to '{(ulong)doubleOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); + Console.WriteLine($"'(ulong)65534.99999999999d' was evaluated to '{(ulong)doubleOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); _counter++; } } @@ -9472,7 +9472,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)doubleOneFullDecrementUnderUInt16MaxValue) != 65534) { - Console.WriteLine($"'(ulong)65534d' was evaluted to '{(ulong)doubleOneFullDecrementUnderUInt16MaxValue}'. Expected: '65534'."); + Console.WriteLine($"'(ulong)65534d' was evaluated to '{(ulong)doubleOneFullDecrementUnderUInt16MaxValue}'. Expected: '65534'."); _counter++; } } @@ -9487,7 +9487,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)doubleOneIncrementAboveUInt16MaxValue) != 65535) { - Console.WriteLine($"'(ulong)65535.00000000001d' was evaluted to '{(ulong)doubleOneIncrementAboveUInt16MaxValue}'. Expected: '65535'."); + Console.WriteLine($"'(ulong)65535.00000000001d' was evaluated to '{(ulong)doubleOneIncrementAboveUInt16MaxValue}'. Expected: '65535'."); _counter++; } } @@ -9502,7 +9502,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)doubleOneFullIncrementAboveUInt16MaxValue) != 65536) { - Console.WriteLine($"'(ulong)65536d' was evaluted to '{(ulong)doubleOneFullIncrementAboveUInt16MaxValue}'. Expected: '65536'."); + Console.WriteLine($"'(ulong)65536d' was evaluated to '{(ulong)doubleOneFullIncrementAboveUInt16MaxValue}'. Expected: '65536'."); _counter++; } } @@ -9517,7 +9517,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneDecrementUnderUInt16MaxValue) != 65534) { - Console.WriteLine($"'(ulong)65534.0' was evaluted to '{(ulong)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); + Console.WriteLine($"'(ulong)65534.0' was evaluated to '{(ulong)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); _counter++; } } @@ -9532,7 +9532,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneIncrementAboveUInt16MaxValue) != 65536) { - Console.WriteLine($"'(ulong)65536.0' was evaluted to '{(ulong)integerOneIncrementAboveUInt16MaxValue}'. Expected: '65536'."); + Console.WriteLine($"'(ulong)65536.0' was evaluated to '{(ulong)integerOneIncrementAboveUInt16MaxValue}'. Expected: '65536'."); _counter++; } } @@ -9561,7 +9561,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)int32MaxValue) != 2147483647) { - Console.WriteLine($"'(ulong)2147483647.0' was evaluted to '{(ulong)int32MaxValue}'. Expected: '2147483647'."); + Console.WriteLine($"'(ulong)2147483647.0' was evaluated to '{(ulong)int32MaxValue}'. Expected: '2147483647'."); _counter++; } } @@ -9632,7 +9632,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)doubleOneDecrementUnderInt32MaxValue) != 2147483646) { - Console.WriteLine($"'(ulong)2147483646.9999998d' was evaluted to '{(ulong)doubleOneDecrementUnderInt32MaxValue}'. Expected: '2147483646'."); + Console.WriteLine($"'(ulong)2147483646.9999998d' was evaluated to '{(ulong)doubleOneDecrementUnderInt32MaxValue}'. Expected: '2147483646'."); _counter++; } } @@ -9647,7 +9647,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)doubleOneFullDecrementUnderInt32MaxValue) != 2147483646) { - Console.WriteLine($"'(ulong)2147483646d' was evaluted to '{(ulong)doubleOneFullDecrementUnderInt32MaxValue}'. Expected: '2147483646'."); + Console.WriteLine($"'(ulong)2147483646d' was evaluated to '{(ulong)doubleOneFullDecrementUnderInt32MaxValue}'. Expected: '2147483646'."); _counter++; } } @@ -9662,7 +9662,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)doubleOneIncrementAboveInt32MaxValue) != 2147483647) { - Console.WriteLine($"'(ulong)2147483647.0000002d' was evaluted to '{(ulong)doubleOneIncrementAboveInt32MaxValue}'. Expected: '2147483647'."); + Console.WriteLine($"'(ulong)2147483647.0000002d' was evaluated to '{(ulong)doubleOneIncrementAboveInt32MaxValue}'. Expected: '2147483647'."); _counter++; } } @@ -9677,7 +9677,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)doubleOneFullIncrementAboveInt32MaxValue) != 2147483648) { - Console.WriteLine($"'(ulong)2147483648d' was evaluted to '{(ulong)doubleOneFullIncrementAboveInt32MaxValue}'. Expected: '2147483648'."); + Console.WriteLine($"'(ulong)2147483648d' was evaluated to '{(ulong)doubleOneFullIncrementAboveInt32MaxValue}'. Expected: '2147483648'."); _counter++; } } @@ -9720,7 +9720,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneDecrementUnderInt32MaxValue) != 2147483646) { - Console.WriteLine($"'(ulong)2147483646.0' was evaluted to '{(ulong)integerOneDecrementUnderInt32MaxValue}'. Expected: '2147483646'."); + Console.WriteLine($"'(ulong)2147483646.0' was evaluated to '{(ulong)integerOneDecrementUnderInt32MaxValue}'. Expected: '2147483646'."); _counter++; } } @@ -9735,7 +9735,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneIncrementAboveInt32MaxValue) != 2147483648) { - Console.WriteLine($"'(ulong)2147483648.0' was evaluted to '{(ulong)integerOneIncrementAboveInt32MaxValue}'. Expected: '2147483648'."); + Console.WriteLine($"'(ulong)2147483648.0' was evaluated to '{(ulong)integerOneIncrementAboveInt32MaxValue}'. Expected: '2147483648'."); _counter++; } } @@ -9750,7 +9750,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)uInt32MaxValue) != 4294967295) { - Console.WriteLine($"'(ulong)4294967295.0' was evaluted to '{(ulong)uInt32MaxValue}'. Expected: '4294967295'."); + Console.WriteLine($"'(ulong)4294967295.0' was evaluated to '{(ulong)uInt32MaxValue}'. Expected: '4294967295'."); _counter++; } } @@ -9765,7 +9765,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)doubleOneDecrementUnderUInt32MaxValue) != 4294967294) { - Console.WriteLine($"'(ulong)4294967294.9999995d' was evaluted to '{(ulong)doubleOneDecrementUnderUInt32MaxValue}'. Expected: '4294967294'."); + Console.WriteLine($"'(ulong)4294967294.9999995d' was evaluated to '{(ulong)doubleOneDecrementUnderUInt32MaxValue}'. Expected: '4294967294'."); _counter++; } } @@ -9780,7 +9780,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)doubleOneFullDecrementUnderUInt32MaxValue) != 4294967294) { - Console.WriteLine($"'(ulong)4294967294d' was evaluted to '{(ulong)doubleOneFullDecrementUnderUInt32MaxValue}'. Expected: '4294967294'."); + Console.WriteLine($"'(ulong)4294967294d' was evaluated to '{(ulong)doubleOneFullDecrementUnderUInt32MaxValue}'. Expected: '4294967294'."); _counter++; } } @@ -9795,7 +9795,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)doubleOneIncrementAboveUInt32MaxValue) != 4294967295) { - Console.WriteLine($"'(ulong)4294967295.0000005d' was evaluted to '{(ulong)doubleOneIncrementAboveUInt32MaxValue}'. Expected: '4294967295'."); + Console.WriteLine($"'(ulong)4294967295.0000005d' was evaluated to '{(ulong)doubleOneIncrementAboveUInt32MaxValue}'. Expected: '4294967295'."); _counter++; } } @@ -9810,7 +9810,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)doubleOneFullIncrementAboveUInt32MaxValue) != 4294967296) { - Console.WriteLine($"'(ulong)4294967296d' was evaluted to '{(ulong)doubleOneFullIncrementAboveUInt32MaxValue}'. Expected: '4294967296'."); + Console.WriteLine($"'(ulong)4294967296d' was evaluated to '{(ulong)doubleOneFullIncrementAboveUInt32MaxValue}'. Expected: '4294967296'."); _counter++; } } @@ -9825,7 +9825,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneDecrementUnderUInt32MaxValue) != 4294967294) { - Console.WriteLine($"'(ulong)4294967294.0' was evaluted to '{(ulong)integerOneDecrementUnderUInt32MaxValue}'. Expected: '4294967294'."); + Console.WriteLine($"'(ulong)4294967294.0' was evaluated to '{(ulong)integerOneDecrementUnderUInt32MaxValue}'. Expected: '4294967294'."); _counter++; } } @@ -9840,7 +9840,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneIncrementAboveUInt32MaxValue) != 4294967296) { - Console.WriteLine($"'(ulong)4294967296.0' was evaluted to '{(ulong)integerOneIncrementAboveUInt32MaxValue}'. Expected: '4294967296'."); + Console.WriteLine($"'(ulong)4294967296.0' was evaluated to '{(ulong)integerOneIncrementAboveUInt32MaxValue}'. Expected: '4294967296'."); _counter++; } } @@ -9869,7 +9869,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)int64MaxValue) != 9223372036854775808) { - Console.WriteLine($"'(ulong)9223372036854775807.0' was evaluted to '{(ulong)int64MaxValue}'. Expected: '9223372036854775808'."); + Console.WriteLine($"'(ulong)9223372036854775807.0' was evaluated to '{(ulong)int64MaxValue}'. Expected: '9223372036854775808'."); _counter++; } } @@ -9898,7 +9898,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)doubleOneDecrementUnderInt64MaxValue) != 9223372036854774784) { - Console.WriteLine($"'(ulong)9.223372036854775E+18d' was evaluted to '{(ulong)doubleOneDecrementUnderInt64MaxValue}'. Expected: '9223372036854774784'."); + Console.WriteLine($"'(ulong)9.223372036854775E+18d' was evaluated to '{(ulong)doubleOneDecrementUnderInt64MaxValue}'. Expected: '9223372036854774784'."); _counter++; } } @@ -9913,7 +9913,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)doubleOneIncrementAboveInt64MaxValue) != 9223372036854777856) { - Console.WriteLine($"'(ulong)9.223372036854778E+18d' was evaluted to '{(ulong)doubleOneIncrementAboveInt64MaxValue}'. Expected: '9223372036854777856'."); + Console.WriteLine($"'(ulong)9.223372036854778E+18d' was evaluated to '{(ulong)doubleOneIncrementAboveInt64MaxValue}'. Expected: '9223372036854777856'."); _counter++; } } @@ -9928,7 +9928,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)doubleOneFullIncrementAboveInt64MaxValue) != 9223372036854775808) { - Console.WriteLine($"'(ulong)9.223372036854776E+18d' was evaluted to '{(ulong)doubleOneFullIncrementAboveInt64MaxValue}'. Expected: '9223372036854775808'."); + Console.WriteLine($"'(ulong)9.223372036854776E+18d' was evaluated to '{(ulong)doubleOneFullIncrementAboveInt64MaxValue}'. Expected: '9223372036854775808'."); _counter++; } } @@ -9957,7 +9957,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneDecrementUnderInt64MaxValue) != 9223372036854775808) { - Console.WriteLine($"'(ulong)9223372036854775806.0' was evaluted to '{(ulong)integerOneDecrementUnderInt64MaxValue}'. Expected: '9223372036854775808'."); + Console.WriteLine($"'(ulong)9223372036854775806.0' was evaluated to '{(ulong)integerOneDecrementUnderInt64MaxValue}'. Expected: '9223372036854775808'."); _counter++; } } @@ -9972,7 +9972,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneIncrementAboveInt64MaxValue) != 9223372036854775808) { - Console.WriteLine($"'(ulong)9223372036854775808.0' was evaluted to '{(ulong)integerOneIncrementAboveInt64MaxValue}'. Expected: '9223372036854775808'."); + Console.WriteLine($"'(ulong)9223372036854775808.0' was evaluated to '{(ulong)integerOneIncrementAboveInt64MaxValue}'. Expected: '9223372036854775808'."); _counter++; } } @@ -10001,7 +10001,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)doubleOneDecrementUnderUInt64MaxValue) != 18446744073709549568) { - Console.WriteLine($"'(ulong)1.844674407370955E+19d' was evaluted to '{(ulong)doubleOneDecrementUnderUInt64MaxValue}'. Expected: '18446744073709549568'."); + Console.WriteLine($"'(ulong)1.844674407370955E+19d' was evaluated to '{(ulong)doubleOneDecrementUnderUInt64MaxValue}'. Expected: '18446744073709549568'."); _counter++; } } diff --git a/src/tests/JIT/Directed/Convert/value_numbering_checked_casts_of_constants_float.cs b/src/tests/JIT/Directed/Convert/value_numbering_checked_casts_of_constants_float.cs index 1bad163a1d6..e52a363b035 100644 --- a/src/tests/JIT/Directed/Convert/value_numbering_checked_casts_of_constants_float.cs +++ b/src/tests/JIT/Directed/Convert/value_numbering_checked_casts_of_constants_float.cs @@ -19,7 +19,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)integerZero) != 0) { - Console.WriteLine($"'(sbyte)0.0f' was evaluted to '{(sbyte)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(sbyte)0.0f' was evaluated to '{(sbyte)integerZero}'. Expected: '0'."); _counter++; } } @@ -34,7 +34,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)floatMinusZero) != 0) { - Console.WriteLine($"'(sbyte)-0f' was evaluted to '{(sbyte)floatMinusZero}'. Expected: '0'."); + Console.WriteLine($"'(sbyte)-0f' was evaluated to '{(sbyte)floatMinusZero}'. Expected: '0'."); _counter++; } } @@ -49,7 +49,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)floatZero) != 0) { - Console.WriteLine($"'(sbyte)0f' was evaluted to '{(sbyte)floatZero}'. Expected: '0'."); + Console.WriteLine($"'(sbyte)0f' was evaluated to '{(sbyte)floatZero}'. Expected: '0'."); _counter++; } } @@ -120,7 +120,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)sByteMinValue) != -128) { - Console.WriteLine($"'(sbyte)-128.0f' was evaluted to '{(sbyte)sByteMinValue}'. Expected: '-128'."); + Console.WriteLine($"'(sbyte)-128.0f' was evaluated to '{(sbyte)sByteMinValue}'. Expected: '-128'."); _counter++; } } @@ -135,7 +135,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)sByteMaxValue) != 127) { - Console.WriteLine($"'(sbyte)127.0f' was evaluted to '{(sbyte)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(sbyte)127.0f' was evaluated to '{(sbyte)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -150,7 +150,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)singleOneDecrementUnderSByteMinValue) != -128) { - Console.WriteLine($"'(sbyte)-128.00002f' was evaluted to '{(sbyte)singleOneDecrementUnderSByteMinValue}'. Expected: '-128'."); + Console.WriteLine($"'(sbyte)-128.00002f' was evaluated to '{(sbyte)singleOneDecrementUnderSByteMinValue}'. Expected: '-128'."); _counter++; } } @@ -179,7 +179,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)singleOneIncrementAboveSByteMinValue) != -127) { - Console.WriteLine($"'(sbyte)-127.99999f' was evaluted to '{(sbyte)singleOneIncrementAboveSByteMinValue}'. Expected: '-127'."); + Console.WriteLine($"'(sbyte)-127.99999f' was evaluated to '{(sbyte)singleOneIncrementAboveSByteMinValue}'. Expected: '-127'."); _counter++; } } @@ -194,7 +194,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)singleOneFullIncrementAboveSByteMinValue) != -127) { - Console.WriteLine($"'(sbyte)-127f' was evaluted to '{(sbyte)singleOneFullIncrementAboveSByteMinValue}'. Expected: '-127'."); + Console.WriteLine($"'(sbyte)-127f' was evaluated to '{(sbyte)singleOneFullIncrementAboveSByteMinValue}'. Expected: '-127'."); _counter++; } } @@ -209,7 +209,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)singleOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(sbyte)126.99999f' was evaluted to '{(sbyte)singleOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(sbyte)126.99999f' was evaluated to '{(sbyte)singleOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -224,7 +224,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)singleOneFullDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(sbyte)126f' was evaluted to '{(sbyte)singleOneFullDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(sbyte)126f' was evaluated to '{(sbyte)singleOneFullDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -239,7 +239,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)singleOneIncrementAboveSByteMaxValue) != 127) { - Console.WriteLine($"'(sbyte)127.00001f' was evaluted to '{(sbyte)singleOneIncrementAboveSByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(sbyte)127.00001f' was evaluated to '{(sbyte)singleOneIncrementAboveSByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -282,7 +282,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)integerOneIncrementAboveSByteMinValue) != -127) { - Console.WriteLine($"'(sbyte)-127.0f' was evaluted to '{(sbyte)integerOneIncrementAboveSByteMinValue}'. Expected: '-127'."); + Console.WriteLine($"'(sbyte)-127.0f' was evaluated to '{(sbyte)integerOneIncrementAboveSByteMinValue}'. Expected: '-127'."); _counter++; } } @@ -297,7 +297,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(sbyte)126.0f' was evaluted to '{(sbyte)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(sbyte)126.0f' was evaluated to '{(sbyte)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -340,7 +340,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)singleOneDecrementUnderByteMinValue) != 0) { - Console.WriteLine($"'(sbyte)-1E-45f' was evaluted to '{(sbyte)singleOneDecrementUnderByteMinValue}'. Expected: '0'."); + Console.WriteLine($"'(sbyte)-1E-45f' was evaluated to '{(sbyte)singleOneDecrementUnderByteMinValue}'. Expected: '0'."); _counter++; } } @@ -355,7 +355,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)singleOneFullDecrementUnderByteMinValue) != -1) { - Console.WriteLine($"'(sbyte)-1f' was evaluted to '{(sbyte)singleOneFullDecrementUnderByteMinValue}'. Expected: '-1'."); + Console.WriteLine($"'(sbyte)-1f' was evaluated to '{(sbyte)singleOneFullDecrementUnderByteMinValue}'. Expected: '-1'."); _counter++; } } @@ -370,7 +370,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)singleOneIncrementAboveByteMinValue) != 0) { - Console.WriteLine($"'(sbyte)1E-45f' was evaluted to '{(sbyte)singleOneIncrementAboveByteMinValue}'. Expected: '0'."); + Console.WriteLine($"'(sbyte)1E-45f' was evaluated to '{(sbyte)singleOneIncrementAboveByteMinValue}'. Expected: '0'."); _counter++; } } @@ -385,7 +385,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)singleOneFullIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(sbyte)1f' was evaluted to '{(sbyte)singleOneFullIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(sbyte)1f' was evaluated to '{(sbyte)singleOneFullIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -456,7 +456,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)integerOneDecrementUnderByteMinValue) != -1) { - Console.WriteLine($"'(sbyte)-1.0f' was evaluted to '{(sbyte)integerOneDecrementUnderByteMinValue}'. Expected: '-1'."); + Console.WriteLine($"'(sbyte)-1.0f' was evaluated to '{(sbyte)integerOneDecrementUnderByteMinValue}'. Expected: '-1'."); _counter++; } } @@ -471,7 +471,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(sbyte)1.0f' was evaluted to '{(sbyte)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(sbyte)1.0f' was evaluated to '{(sbyte)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -1218,7 +1218,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)integerZero) != 0) { - Console.WriteLine($"'(byte)0.0f' was evaluted to '{(byte)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(byte)0.0f' was evaluated to '{(byte)integerZero}'. Expected: '0'."); _counter++; } } @@ -1233,7 +1233,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)floatMinusZero) != 0) { - Console.WriteLine($"'(byte)-0f' was evaluted to '{(byte)floatMinusZero}'. Expected: '0'."); + Console.WriteLine($"'(byte)-0f' was evaluated to '{(byte)floatMinusZero}'. Expected: '0'."); _counter++; } } @@ -1248,7 +1248,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)floatZero) != 0) { - Console.WriteLine($"'(byte)0f' was evaluted to '{(byte)floatZero}'. Expected: '0'."); + Console.WriteLine($"'(byte)0f' was evaluated to '{(byte)floatZero}'. Expected: '0'."); _counter++; } } @@ -1333,7 +1333,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)sByteMaxValue) != 127) { - Console.WriteLine($"'(byte)127.0f' was evaluted to '{(byte)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(byte)127.0f' was evaluated to '{(byte)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -1404,7 +1404,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)singleOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(byte)126.99999f' was evaluted to '{(byte)singleOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(byte)126.99999f' was evaluated to '{(byte)singleOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -1419,7 +1419,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)singleOneFullDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(byte)126f' was evaluted to '{(byte)singleOneFullDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(byte)126f' was evaluated to '{(byte)singleOneFullDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -1434,7 +1434,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)singleOneIncrementAboveSByteMaxValue) != 127) { - Console.WriteLine($"'(byte)127.00001f' was evaluted to '{(byte)singleOneIncrementAboveSByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(byte)127.00001f' was evaluated to '{(byte)singleOneIncrementAboveSByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -1449,7 +1449,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)singleOneFullIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(byte)128f' was evaluted to '{(byte)singleOneFullIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(byte)128f' was evaluated to '{(byte)singleOneFullIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -1492,7 +1492,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(byte)126.0f' was evaluted to '{(byte)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(byte)126.0f' was evaluated to '{(byte)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -1507,7 +1507,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)integerOneIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(byte)128.0f' was evaluted to '{(byte)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(byte)128.0f' was evaluated to '{(byte)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -1522,7 +1522,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)byteMaxValue) != 255) { - Console.WriteLine($"'(byte)255.0f' was evaluted to '{(byte)byteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(byte)255.0f' was evaluated to '{(byte)byteMaxValue}'. Expected: '255'."); _counter++; } } @@ -1537,7 +1537,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)singleOneDecrementUnderByteMinValue) != 0) { - Console.WriteLine($"'(byte)-1E-45f' was evaluted to '{(byte)singleOneDecrementUnderByteMinValue}'. Expected: '0'."); + Console.WriteLine($"'(byte)-1E-45f' was evaluated to '{(byte)singleOneDecrementUnderByteMinValue}'. Expected: '0'."); _counter++; } } @@ -1566,7 +1566,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)singleOneIncrementAboveByteMinValue) != 0) { - Console.WriteLine($"'(byte)1E-45f' was evaluted to '{(byte)singleOneIncrementAboveByteMinValue}'. Expected: '0'."); + Console.WriteLine($"'(byte)1E-45f' was evaluated to '{(byte)singleOneIncrementAboveByteMinValue}'. Expected: '0'."); _counter++; } } @@ -1581,7 +1581,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)singleOneFullIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(byte)1f' was evaluted to '{(byte)singleOneFullIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(byte)1f' was evaluated to '{(byte)singleOneFullIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -1596,7 +1596,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)singleOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(byte)254.99998f' was evaluted to '{(byte)singleOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(byte)254.99998f' was evaluated to '{(byte)singleOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -1611,7 +1611,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)singleOneFullDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(byte)254f' was evaluted to '{(byte)singleOneFullDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(byte)254f' was evaluated to '{(byte)singleOneFullDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -1626,7 +1626,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)singleOneIncrementAboveByteMaxValue) != 255) { - Console.WriteLine($"'(byte)255.00002f' was evaluted to '{(byte)singleOneIncrementAboveByteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(byte)255.00002f' was evaluated to '{(byte)singleOneIncrementAboveByteMaxValue}'. Expected: '255'."); _counter++; } } @@ -1669,7 +1669,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(byte)1.0f' was evaluted to '{(byte)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(byte)1.0f' was evaluated to '{(byte)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -1684,7 +1684,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)integerOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(byte)254.0f' was evaluted to '{(byte)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(byte)254.0f' was evaluated to '{(byte)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -2417,7 +2417,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerZero) != 0) { - Console.WriteLine($"'(short)0.0f' was evaluted to '{(short)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(short)0.0f' was evaluated to '{(short)integerZero}'. Expected: '0'."); _counter++; } } @@ -2432,7 +2432,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)floatMinusZero) != 0) { - Console.WriteLine($"'(short)-0f' was evaluted to '{(short)floatMinusZero}'. Expected: '0'."); + Console.WriteLine($"'(short)-0f' was evaluated to '{(short)floatMinusZero}'. Expected: '0'."); _counter++; } } @@ -2447,7 +2447,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)floatZero) != 0) { - Console.WriteLine($"'(short)0f' was evaluted to '{(short)floatZero}'. Expected: '0'."); + Console.WriteLine($"'(short)0f' was evaluated to '{(short)floatZero}'. Expected: '0'."); _counter++; } } @@ -2518,7 +2518,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)sByteMinValue) != -128) { - Console.WriteLine($"'(short)-128.0f' was evaluted to '{(short)sByteMinValue}'. Expected: '-128'."); + Console.WriteLine($"'(short)-128.0f' was evaluated to '{(short)sByteMinValue}'. Expected: '-128'."); _counter++; } } @@ -2533,7 +2533,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)sByteMaxValue) != 127) { - Console.WriteLine($"'(short)127.0f' was evaluted to '{(short)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(short)127.0f' was evaluated to '{(short)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -2548,7 +2548,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)singleOneDecrementUnderSByteMinValue) != -128) { - Console.WriteLine($"'(short)-128.00002f' was evaluted to '{(short)singleOneDecrementUnderSByteMinValue}'. Expected: '-128'."); + Console.WriteLine($"'(short)-128.00002f' was evaluated to '{(short)singleOneDecrementUnderSByteMinValue}'. Expected: '-128'."); _counter++; } } @@ -2563,7 +2563,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)singleOneFullDecrementUnderSByteMinValue) != -129) { - Console.WriteLine($"'(short)-129f' was evaluted to '{(short)singleOneFullDecrementUnderSByteMinValue}'. Expected: '-129'."); + Console.WriteLine($"'(short)-129f' was evaluated to '{(short)singleOneFullDecrementUnderSByteMinValue}'. Expected: '-129'."); _counter++; } } @@ -2578,7 +2578,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)singleOneIncrementAboveSByteMinValue) != -127) { - Console.WriteLine($"'(short)-127.99999f' was evaluted to '{(short)singleOneIncrementAboveSByteMinValue}'. Expected: '-127'."); + Console.WriteLine($"'(short)-127.99999f' was evaluated to '{(short)singleOneIncrementAboveSByteMinValue}'. Expected: '-127'."); _counter++; } } @@ -2593,7 +2593,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)singleOneFullIncrementAboveSByteMinValue) != -127) { - Console.WriteLine($"'(short)-127f' was evaluted to '{(short)singleOneFullIncrementAboveSByteMinValue}'. Expected: '-127'."); + Console.WriteLine($"'(short)-127f' was evaluated to '{(short)singleOneFullIncrementAboveSByteMinValue}'. Expected: '-127'."); _counter++; } } @@ -2608,7 +2608,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)singleOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(short)126.99999f' was evaluted to '{(short)singleOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(short)126.99999f' was evaluated to '{(short)singleOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -2623,7 +2623,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)singleOneFullDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(short)126f' was evaluted to '{(short)singleOneFullDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(short)126f' was evaluated to '{(short)singleOneFullDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -2638,7 +2638,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)singleOneIncrementAboveSByteMaxValue) != 127) { - Console.WriteLine($"'(short)127.00001f' was evaluted to '{(short)singleOneIncrementAboveSByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(short)127.00001f' was evaluated to '{(short)singleOneIncrementAboveSByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -2653,7 +2653,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)singleOneFullIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(short)128f' was evaluted to '{(short)singleOneFullIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(short)128f' was evaluated to '{(short)singleOneFullIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -2668,7 +2668,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneDecrementUnderSByteMinValue) != -129) { - Console.WriteLine($"'(short)-129.0f' was evaluted to '{(short)integerOneDecrementUnderSByteMinValue}'. Expected: '-129'."); + Console.WriteLine($"'(short)-129.0f' was evaluated to '{(short)integerOneDecrementUnderSByteMinValue}'. Expected: '-129'."); _counter++; } } @@ -2683,7 +2683,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneIncrementAboveSByteMinValue) != -127) { - Console.WriteLine($"'(short)-127.0f' was evaluted to '{(short)integerOneIncrementAboveSByteMinValue}'. Expected: '-127'."); + Console.WriteLine($"'(short)-127.0f' was evaluated to '{(short)integerOneIncrementAboveSByteMinValue}'. Expected: '-127'."); _counter++; } } @@ -2698,7 +2698,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(short)126.0f' was evaluted to '{(short)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(short)126.0f' was evaluated to '{(short)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -2713,7 +2713,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(short)128.0f' was evaluted to '{(short)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(short)128.0f' was evaluated to '{(short)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -2728,7 +2728,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)byteMaxValue) != 255) { - Console.WriteLine($"'(short)255.0f' was evaluted to '{(short)byteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(short)255.0f' was evaluated to '{(short)byteMaxValue}'. Expected: '255'."); _counter++; } } @@ -2743,7 +2743,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)singleOneDecrementUnderByteMinValue) != 0) { - Console.WriteLine($"'(short)-1E-45f' was evaluted to '{(short)singleOneDecrementUnderByteMinValue}'. Expected: '0'."); + Console.WriteLine($"'(short)-1E-45f' was evaluated to '{(short)singleOneDecrementUnderByteMinValue}'. Expected: '0'."); _counter++; } } @@ -2758,7 +2758,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)singleOneFullDecrementUnderByteMinValue) != -1) { - Console.WriteLine($"'(short)-1f' was evaluted to '{(short)singleOneFullDecrementUnderByteMinValue}'. Expected: '-1'."); + Console.WriteLine($"'(short)-1f' was evaluated to '{(short)singleOneFullDecrementUnderByteMinValue}'. Expected: '-1'."); _counter++; } } @@ -2773,7 +2773,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)singleOneIncrementAboveByteMinValue) != 0) { - Console.WriteLine($"'(short)1E-45f' was evaluted to '{(short)singleOneIncrementAboveByteMinValue}'. Expected: '0'."); + Console.WriteLine($"'(short)1E-45f' was evaluated to '{(short)singleOneIncrementAboveByteMinValue}'. Expected: '0'."); _counter++; } } @@ -2788,7 +2788,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)singleOneFullIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(short)1f' was evaluted to '{(short)singleOneFullIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(short)1f' was evaluated to '{(short)singleOneFullIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -2803,7 +2803,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)singleOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(short)254.99998f' was evaluted to '{(short)singleOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(short)254.99998f' was evaluated to '{(short)singleOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -2818,7 +2818,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)singleOneFullDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(short)254f' was evaluted to '{(short)singleOneFullDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(short)254f' was evaluated to '{(short)singleOneFullDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -2833,7 +2833,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)singleOneIncrementAboveByteMaxValue) != 255) { - Console.WriteLine($"'(short)255.00002f' was evaluted to '{(short)singleOneIncrementAboveByteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(short)255.00002f' was evaluated to '{(short)singleOneIncrementAboveByteMaxValue}'. Expected: '255'."); _counter++; } } @@ -2848,7 +2848,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)singleOneFullIncrementAboveByteMaxValue) != 256) { - Console.WriteLine($"'(short)256f' was evaluted to '{(short)singleOneFullIncrementAboveByteMaxValue}'. Expected: '256'."); + Console.WriteLine($"'(short)256f' was evaluated to '{(short)singleOneFullIncrementAboveByteMaxValue}'. Expected: '256'."); _counter++; } } @@ -2863,7 +2863,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneDecrementUnderByteMinValue) != -1) { - Console.WriteLine($"'(short)-1.0f' was evaluted to '{(short)integerOneDecrementUnderByteMinValue}'. Expected: '-1'."); + Console.WriteLine($"'(short)-1.0f' was evaluated to '{(short)integerOneDecrementUnderByteMinValue}'. Expected: '-1'."); _counter++; } } @@ -2878,7 +2878,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(short)1.0f' was evaluted to '{(short)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(short)1.0f' was evaluated to '{(short)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -2893,7 +2893,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(short)254.0f' was evaluted to '{(short)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(short)254.0f' was evaluated to '{(short)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -2908,7 +2908,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneIncrementAboveByteMaxValue) != 256) { - Console.WriteLine($"'(short)256.0f' was evaluted to '{(short)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); + Console.WriteLine($"'(short)256.0f' was evaluated to '{(short)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); _counter++; } } @@ -2923,7 +2923,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)int16MinValue) != -32768) { - Console.WriteLine($"'(short)-32768.0f' was evaluted to '{(short)int16MinValue}'. Expected: '-32768'."); + Console.WriteLine($"'(short)-32768.0f' was evaluated to '{(short)int16MinValue}'. Expected: '-32768'."); _counter++; } } @@ -2938,7 +2938,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)int16MaxValue) != 32767) { - Console.WriteLine($"'(short)32767.0f' was evaluted to '{(short)int16MaxValue}'. Expected: '32767'."); + Console.WriteLine($"'(short)32767.0f' was evaluated to '{(short)int16MaxValue}'. Expected: '32767'."); _counter++; } } @@ -2953,7 +2953,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)singleOneDecrementUnderInt16MinValue) != -32768) { - Console.WriteLine($"'(short)-32768.004f' was evaluted to '{(short)singleOneDecrementUnderInt16MinValue}'. Expected: '-32768'."); + Console.WriteLine($"'(short)-32768.004f' was evaluated to '{(short)singleOneDecrementUnderInt16MinValue}'. Expected: '-32768'."); _counter++; } } @@ -2982,7 +2982,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)singleOneIncrementAboveInt16MinValue) != -32767) { - Console.WriteLine($"'(short)-32767.998f' was evaluted to '{(short)singleOneIncrementAboveInt16MinValue}'. Expected: '-32767'."); + Console.WriteLine($"'(short)-32767.998f' was evaluated to '{(short)singleOneIncrementAboveInt16MinValue}'. Expected: '-32767'."); _counter++; } } @@ -2997,7 +2997,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)singleOneFullIncrementAboveInt16MinValue) != -32767) { - Console.WriteLine($"'(short)-32767f' was evaluted to '{(short)singleOneFullIncrementAboveInt16MinValue}'. Expected: '-32767'."); + Console.WriteLine($"'(short)-32767f' was evaluated to '{(short)singleOneFullIncrementAboveInt16MinValue}'. Expected: '-32767'."); _counter++; } } @@ -3012,7 +3012,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)singleOneDecrementUnderInt16MaxValue) != 32766) { - Console.WriteLine($"'(short)32766.998f' was evaluted to '{(short)singleOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); + Console.WriteLine($"'(short)32766.998f' was evaluated to '{(short)singleOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); _counter++; } } @@ -3027,7 +3027,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)singleOneFullDecrementUnderInt16MaxValue) != 32766) { - Console.WriteLine($"'(short)32766f' was evaluted to '{(short)singleOneFullDecrementUnderInt16MaxValue}'. Expected: '32766'."); + Console.WriteLine($"'(short)32766f' was evaluated to '{(short)singleOneFullDecrementUnderInt16MaxValue}'. Expected: '32766'."); _counter++; } } @@ -3042,7 +3042,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)singleOneIncrementAboveInt16MaxValue) != 32767) { - Console.WriteLine($"'(short)32767.002f' was evaluted to '{(short)singleOneIncrementAboveInt16MaxValue}'. Expected: '32767'."); + Console.WriteLine($"'(short)32767.002f' was evaluated to '{(short)singleOneIncrementAboveInt16MaxValue}'. Expected: '32767'."); _counter++; } } @@ -3085,7 +3085,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneIncrementAboveInt16MinValue) != -32767) { - Console.WriteLine($"'(short)-32767.0f' was evaluted to '{(short)integerOneIncrementAboveInt16MinValue}'. Expected: '-32767'."); + Console.WriteLine($"'(short)-32767.0f' was evaluated to '{(short)integerOneIncrementAboveInt16MinValue}'. Expected: '-32767'."); _counter++; } } @@ -3100,7 +3100,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneDecrementUnderInt16MaxValue) != 32766) { - Console.WriteLine($"'(short)32766.0f' was evaluted to '{(short)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); + Console.WriteLine($"'(short)32766.0f' was evaluated to '{(short)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); _counter++; } } @@ -3637,7 +3637,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerZero) != 0) { - Console.WriteLine($"'(ushort)0.0f' was evaluted to '{(ushort)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(ushort)0.0f' was evaluated to '{(ushort)integerZero}'. Expected: '0'."); _counter++; } } @@ -3652,7 +3652,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)floatMinusZero) != 0) { - Console.WriteLine($"'(ushort)-0f' was evaluted to '{(ushort)floatMinusZero}'. Expected: '0'."); + Console.WriteLine($"'(ushort)-0f' was evaluated to '{(ushort)floatMinusZero}'. Expected: '0'."); _counter++; } } @@ -3667,7 +3667,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)floatZero) != 0) { - Console.WriteLine($"'(ushort)0f' was evaluted to '{(ushort)floatZero}'. Expected: '0'."); + Console.WriteLine($"'(ushort)0f' was evaluated to '{(ushort)floatZero}'. Expected: '0'."); _counter++; } } @@ -3752,7 +3752,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)sByteMaxValue) != 127) { - Console.WriteLine($"'(ushort)127.0f' was evaluted to '{(ushort)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(ushort)127.0f' was evaluated to '{(ushort)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -3823,7 +3823,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)singleOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(ushort)126.99999f' was evaluted to '{(ushort)singleOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(ushort)126.99999f' was evaluated to '{(ushort)singleOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -3838,7 +3838,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)singleOneFullDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(ushort)126f' was evaluted to '{(ushort)singleOneFullDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(ushort)126f' was evaluated to '{(ushort)singleOneFullDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -3853,7 +3853,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)singleOneIncrementAboveSByteMaxValue) != 127) { - Console.WriteLine($"'(ushort)127.00001f' was evaluted to '{(ushort)singleOneIncrementAboveSByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(ushort)127.00001f' was evaluated to '{(ushort)singleOneIncrementAboveSByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -3868,7 +3868,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)singleOneFullIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(ushort)128f' was evaluted to '{(ushort)singleOneFullIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(ushort)128f' was evaluated to '{(ushort)singleOneFullIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -3911,7 +3911,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(ushort)126.0f' was evaluted to '{(ushort)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(ushort)126.0f' was evaluated to '{(ushort)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -3926,7 +3926,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerOneIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(ushort)128.0f' was evaluted to '{(ushort)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(ushort)128.0f' was evaluated to '{(ushort)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -3941,7 +3941,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)byteMaxValue) != 255) { - Console.WriteLine($"'(ushort)255.0f' was evaluted to '{(ushort)byteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(ushort)255.0f' was evaluated to '{(ushort)byteMaxValue}'. Expected: '255'."); _counter++; } } @@ -3956,7 +3956,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)singleOneDecrementUnderByteMinValue) != 0) { - Console.WriteLine($"'(ushort)-1E-45f' was evaluted to '{(ushort)singleOneDecrementUnderByteMinValue}'. Expected: '0'."); + Console.WriteLine($"'(ushort)-1E-45f' was evaluated to '{(ushort)singleOneDecrementUnderByteMinValue}'. Expected: '0'."); _counter++; } } @@ -3985,7 +3985,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)singleOneIncrementAboveByteMinValue) != 0) { - Console.WriteLine($"'(ushort)1E-45f' was evaluted to '{(ushort)singleOneIncrementAboveByteMinValue}'. Expected: '0'."); + Console.WriteLine($"'(ushort)1E-45f' was evaluated to '{(ushort)singleOneIncrementAboveByteMinValue}'. Expected: '0'."); _counter++; } } @@ -4000,7 +4000,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)singleOneFullIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(ushort)1f' was evaluted to '{(ushort)singleOneFullIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(ushort)1f' was evaluated to '{(ushort)singleOneFullIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -4015,7 +4015,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)singleOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(ushort)254.99998f' was evaluted to '{(ushort)singleOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(ushort)254.99998f' was evaluated to '{(ushort)singleOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -4030,7 +4030,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)singleOneFullDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(ushort)254f' was evaluted to '{(ushort)singleOneFullDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(ushort)254f' was evaluated to '{(ushort)singleOneFullDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -4045,7 +4045,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)singleOneIncrementAboveByteMaxValue) != 255) { - Console.WriteLine($"'(ushort)255.00002f' was evaluted to '{(ushort)singleOneIncrementAboveByteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(ushort)255.00002f' was evaluated to '{(ushort)singleOneIncrementAboveByteMaxValue}'. Expected: '255'."); _counter++; } } @@ -4060,7 +4060,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)singleOneFullIncrementAboveByteMaxValue) != 256) { - Console.WriteLine($"'(ushort)256f' was evaluted to '{(ushort)singleOneFullIncrementAboveByteMaxValue}'. Expected: '256'."); + Console.WriteLine($"'(ushort)256f' was evaluated to '{(ushort)singleOneFullIncrementAboveByteMaxValue}'. Expected: '256'."); _counter++; } } @@ -4089,7 +4089,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(ushort)1.0f' was evaluted to '{(ushort)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(ushort)1.0f' was evaluated to '{(ushort)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -4104,7 +4104,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(ushort)254.0f' was evaluted to '{(ushort)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(ushort)254.0f' was evaluated to '{(ushort)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -4119,7 +4119,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerOneIncrementAboveByteMaxValue) != 256) { - Console.WriteLine($"'(ushort)256.0f' was evaluted to '{(ushort)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); + Console.WriteLine($"'(ushort)256.0f' was evaluated to '{(ushort)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); _counter++; } } @@ -4148,7 +4148,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)int16MaxValue) != 32767) { - Console.WriteLine($"'(ushort)32767.0f' was evaluted to '{(ushort)int16MaxValue}'. Expected: '32767'."); + Console.WriteLine($"'(ushort)32767.0f' was evaluated to '{(ushort)int16MaxValue}'. Expected: '32767'."); _counter++; } } @@ -4219,7 +4219,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)singleOneDecrementUnderInt16MaxValue) != 32766) { - Console.WriteLine($"'(ushort)32766.998f' was evaluted to '{(ushort)singleOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); + Console.WriteLine($"'(ushort)32766.998f' was evaluated to '{(ushort)singleOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); _counter++; } } @@ -4234,7 +4234,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)singleOneFullDecrementUnderInt16MaxValue) != 32766) { - Console.WriteLine($"'(ushort)32766f' was evaluted to '{(ushort)singleOneFullDecrementUnderInt16MaxValue}'. Expected: '32766'."); + Console.WriteLine($"'(ushort)32766f' was evaluated to '{(ushort)singleOneFullDecrementUnderInt16MaxValue}'. Expected: '32766'."); _counter++; } } @@ -4249,7 +4249,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)singleOneIncrementAboveInt16MaxValue) != 32767) { - Console.WriteLine($"'(ushort)32767.002f' was evaluted to '{(ushort)singleOneIncrementAboveInt16MaxValue}'. Expected: '32767'."); + Console.WriteLine($"'(ushort)32767.002f' was evaluated to '{(ushort)singleOneIncrementAboveInt16MaxValue}'. Expected: '32767'."); _counter++; } } @@ -4264,7 +4264,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)singleOneFullIncrementAboveInt16MaxValue) != 32768) { - Console.WriteLine($"'(ushort)32768f' was evaluted to '{(ushort)singleOneFullIncrementAboveInt16MaxValue}'. Expected: '32768'."); + Console.WriteLine($"'(ushort)32768f' was evaluated to '{(ushort)singleOneFullIncrementAboveInt16MaxValue}'. Expected: '32768'."); _counter++; } } @@ -4307,7 +4307,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerOneDecrementUnderInt16MaxValue) != 32766) { - Console.WriteLine($"'(ushort)32766.0f' was evaluted to '{(ushort)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); + Console.WriteLine($"'(ushort)32766.0f' was evaluated to '{(ushort)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); _counter++; } } @@ -4322,7 +4322,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerOneIncrementAboveInt16MaxValue) != 32768) { - Console.WriteLine($"'(ushort)32768.0f' was evaluted to '{(ushort)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768'."); + Console.WriteLine($"'(ushort)32768.0f' was evaluated to '{(ushort)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768'."); _counter++; } } @@ -4337,7 +4337,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)uInt16MaxValue) != 65535) { - Console.WriteLine($"'(ushort)65535.0f' was evaluted to '{(ushort)uInt16MaxValue}'. Expected: '65535'."); + Console.WriteLine($"'(ushort)65535.0f' was evaluated to '{(ushort)uInt16MaxValue}'. Expected: '65535'."); _counter++; } } @@ -4352,7 +4352,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)singleOneDecrementUnderUInt16MaxValue) != 65534) { - Console.WriteLine($"'(ushort)65534.996f' was evaluted to '{(ushort)singleOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); + Console.WriteLine($"'(ushort)65534.996f' was evaluated to '{(ushort)singleOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); _counter++; } } @@ -4367,7 +4367,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)singleOneFullDecrementUnderUInt16MaxValue) != 65534) { - Console.WriteLine($"'(ushort)65534f' was evaluted to '{(ushort)singleOneFullDecrementUnderUInt16MaxValue}'. Expected: '65534'."); + Console.WriteLine($"'(ushort)65534f' was evaluated to '{(ushort)singleOneFullDecrementUnderUInt16MaxValue}'. Expected: '65534'."); _counter++; } } @@ -4382,7 +4382,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)singleOneIncrementAboveUInt16MaxValue) != 65535) { - Console.WriteLine($"'(ushort)65535.004f' was evaluted to '{(ushort)singleOneIncrementAboveUInt16MaxValue}'. Expected: '65535'."); + Console.WriteLine($"'(ushort)65535.004f' was evaluated to '{(ushort)singleOneIncrementAboveUInt16MaxValue}'. Expected: '65535'."); _counter++; } } @@ -4411,7 +4411,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerOneDecrementUnderUInt16MaxValue) != 65534) { - Console.WriteLine($"'(ushort)65534.0f' was evaluted to '{(ushort)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); + Console.WriteLine($"'(ushort)65534.0f' was evaluated to '{(ushort)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); _counter++; } } @@ -4850,7 +4850,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerZero) != 0) { - Console.WriteLine($"'(int)0.0f' was evaluted to '{(int)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(int)0.0f' was evaluated to '{(int)integerZero}'. Expected: '0'."); _counter++; } } @@ -4865,7 +4865,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)floatMinusZero) != 0) { - Console.WriteLine($"'(int)-0f' was evaluted to '{(int)floatMinusZero}'. Expected: '0'."); + Console.WriteLine($"'(int)-0f' was evaluated to '{(int)floatMinusZero}'. Expected: '0'."); _counter++; } } @@ -4880,7 +4880,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)floatZero) != 0) { - Console.WriteLine($"'(int)0f' was evaluted to '{(int)floatZero}'. Expected: '0'."); + Console.WriteLine($"'(int)0f' was evaluated to '{(int)floatZero}'. Expected: '0'."); _counter++; } } @@ -4951,7 +4951,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)sByteMinValue) != -128) { - Console.WriteLine($"'(int)-128.0f' was evaluted to '{(int)sByteMinValue}'. Expected: '-128'."); + Console.WriteLine($"'(int)-128.0f' was evaluated to '{(int)sByteMinValue}'. Expected: '-128'."); _counter++; } } @@ -4966,7 +4966,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)sByteMaxValue) != 127) { - Console.WriteLine($"'(int)127.0f' was evaluted to '{(int)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(int)127.0f' was evaluated to '{(int)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -4981,7 +4981,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)singleOneDecrementUnderSByteMinValue) != -128) { - Console.WriteLine($"'(int)-128.00002f' was evaluted to '{(int)singleOneDecrementUnderSByteMinValue}'. Expected: '-128'."); + Console.WriteLine($"'(int)-128.00002f' was evaluated to '{(int)singleOneDecrementUnderSByteMinValue}'. Expected: '-128'."); _counter++; } } @@ -4996,7 +4996,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)singleOneFullDecrementUnderSByteMinValue) != -129) { - Console.WriteLine($"'(int)-129f' was evaluted to '{(int)singleOneFullDecrementUnderSByteMinValue}'. Expected: '-129'."); + Console.WriteLine($"'(int)-129f' was evaluated to '{(int)singleOneFullDecrementUnderSByteMinValue}'. Expected: '-129'."); _counter++; } } @@ -5011,7 +5011,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)singleOneIncrementAboveSByteMinValue) != -127) { - Console.WriteLine($"'(int)-127.99999f' was evaluted to '{(int)singleOneIncrementAboveSByteMinValue}'. Expected: '-127'."); + Console.WriteLine($"'(int)-127.99999f' was evaluated to '{(int)singleOneIncrementAboveSByteMinValue}'. Expected: '-127'."); _counter++; } } @@ -5026,7 +5026,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)singleOneFullIncrementAboveSByteMinValue) != -127) { - Console.WriteLine($"'(int)-127f' was evaluted to '{(int)singleOneFullIncrementAboveSByteMinValue}'. Expected: '-127'."); + Console.WriteLine($"'(int)-127f' was evaluated to '{(int)singleOneFullIncrementAboveSByteMinValue}'. Expected: '-127'."); _counter++; } } @@ -5041,7 +5041,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)singleOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(int)126.99999f' was evaluted to '{(int)singleOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(int)126.99999f' was evaluated to '{(int)singleOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -5056,7 +5056,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)singleOneFullDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(int)126f' was evaluted to '{(int)singleOneFullDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(int)126f' was evaluated to '{(int)singleOneFullDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -5071,7 +5071,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)singleOneIncrementAboveSByteMaxValue) != 127) { - Console.WriteLine($"'(int)127.00001f' was evaluted to '{(int)singleOneIncrementAboveSByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(int)127.00001f' was evaluated to '{(int)singleOneIncrementAboveSByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -5086,7 +5086,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)singleOneFullIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(int)128f' was evaluted to '{(int)singleOneFullIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(int)128f' was evaluated to '{(int)singleOneFullIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -5101,7 +5101,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneDecrementUnderSByteMinValue) != -129) { - Console.WriteLine($"'(int)-129.0f' was evaluted to '{(int)integerOneDecrementUnderSByteMinValue}'. Expected: '-129'."); + Console.WriteLine($"'(int)-129.0f' was evaluated to '{(int)integerOneDecrementUnderSByteMinValue}'. Expected: '-129'."); _counter++; } } @@ -5116,7 +5116,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneIncrementAboveSByteMinValue) != -127) { - Console.WriteLine($"'(int)-127.0f' was evaluted to '{(int)integerOneIncrementAboveSByteMinValue}'. Expected: '-127'."); + Console.WriteLine($"'(int)-127.0f' was evaluated to '{(int)integerOneIncrementAboveSByteMinValue}'. Expected: '-127'."); _counter++; } } @@ -5131,7 +5131,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(int)126.0f' was evaluted to '{(int)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(int)126.0f' was evaluated to '{(int)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -5146,7 +5146,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(int)128.0f' was evaluted to '{(int)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(int)128.0f' was evaluated to '{(int)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -5161,7 +5161,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)byteMaxValue) != 255) { - Console.WriteLine($"'(int)255.0f' was evaluted to '{(int)byteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(int)255.0f' was evaluated to '{(int)byteMaxValue}'. Expected: '255'."); _counter++; } } @@ -5176,7 +5176,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)singleOneDecrementUnderByteMinValue) != 0) { - Console.WriteLine($"'(int)-1E-45f' was evaluted to '{(int)singleOneDecrementUnderByteMinValue}'. Expected: '0'."); + Console.WriteLine($"'(int)-1E-45f' was evaluated to '{(int)singleOneDecrementUnderByteMinValue}'. Expected: '0'."); _counter++; } } @@ -5191,7 +5191,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)singleOneFullDecrementUnderByteMinValue) != -1) { - Console.WriteLine($"'(int)-1f' was evaluted to '{(int)singleOneFullDecrementUnderByteMinValue}'. Expected: '-1'."); + Console.WriteLine($"'(int)-1f' was evaluated to '{(int)singleOneFullDecrementUnderByteMinValue}'. Expected: '-1'."); _counter++; } } @@ -5206,7 +5206,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)singleOneIncrementAboveByteMinValue) != 0) { - Console.WriteLine($"'(int)1E-45f' was evaluted to '{(int)singleOneIncrementAboveByteMinValue}'. Expected: '0'."); + Console.WriteLine($"'(int)1E-45f' was evaluated to '{(int)singleOneIncrementAboveByteMinValue}'. Expected: '0'."); _counter++; } } @@ -5221,7 +5221,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)singleOneFullIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(int)1f' was evaluted to '{(int)singleOneFullIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(int)1f' was evaluated to '{(int)singleOneFullIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -5236,7 +5236,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)singleOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(int)254.99998f' was evaluted to '{(int)singleOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(int)254.99998f' was evaluated to '{(int)singleOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -5251,7 +5251,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)singleOneFullDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(int)254f' was evaluted to '{(int)singleOneFullDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(int)254f' was evaluated to '{(int)singleOneFullDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -5266,7 +5266,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)singleOneIncrementAboveByteMaxValue) != 255) { - Console.WriteLine($"'(int)255.00002f' was evaluted to '{(int)singleOneIncrementAboveByteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(int)255.00002f' was evaluated to '{(int)singleOneIncrementAboveByteMaxValue}'. Expected: '255'."); _counter++; } } @@ -5281,7 +5281,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)singleOneFullIncrementAboveByteMaxValue) != 256) { - Console.WriteLine($"'(int)256f' was evaluted to '{(int)singleOneFullIncrementAboveByteMaxValue}'. Expected: '256'."); + Console.WriteLine($"'(int)256f' was evaluated to '{(int)singleOneFullIncrementAboveByteMaxValue}'. Expected: '256'."); _counter++; } } @@ -5296,7 +5296,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneDecrementUnderByteMinValue) != -1) { - Console.WriteLine($"'(int)-1.0f' was evaluted to '{(int)integerOneDecrementUnderByteMinValue}'. Expected: '-1'."); + Console.WriteLine($"'(int)-1.0f' was evaluated to '{(int)integerOneDecrementUnderByteMinValue}'. Expected: '-1'."); _counter++; } } @@ -5311,7 +5311,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(int)1.0f' was evaluted to '{(int)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(int)1.0f' was evaluated to '{(int)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -5326,7 +5326,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(int)254.0f' was evaluted to '{(int)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(int)254.0f' was evaluated to '{(int)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -5341,7 +5341,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneIncrementAboveByteMaxValue) != 256) { - Console.WriteLine($"'(int)256.0f' was evaluted to '{(int)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); + Console.WriteLine($"'(int)256.0f' was evaluated to '{(int)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); _counter++; } } @@ -5356,7 +5356,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)int16MinValue) != -32768) { - Console.WriteLine($"'(int)-32768.0f' was evaluted to '{(int)int16MinValue}'. Expected: '-32768'."); + Console.WriteLine($"'(int)-32768.0f' was evaluated to '{(int)int16MinValue}'. Expected: '-32768'."); _counter++; } } @@ -5371,7 +5371,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)int16MaxValue) != 32767) { - Console.WriteLine($"'(int)32767.0f' was evaluted to '{(int)int16MaxValue}'. Expected: '32767'."); + Console.WriteLine($"'(int)32767.0f' was evaluated to '{(int)int16MaxValue}'. Expected: '32767'."); _counter++; } } @@ -5386,7 +5386,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)singleOneDecrementUnderInt16MinValue) != -32768) { - Console.WriteLine($"'(int)-32768.004f' was evaluted to '{(int)singleOneDecrementUnderInt16MinValue}'. Expected: '-32768'."); + Console.WriteLine($"'(int)-32768.004f' was evaluated to '{(int)singleOneDecrementUnderInt16MinValue}'. Expected: '-32768'."); _counter++; } } @@ -5401,7 +5401,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)singleOneFullDecrementUnderInt16MinValue) != -32769) { - Console.WriteLine($"'(int)-32769f' was evaluted to '{(int)singleOneFullDecrementUnderInt16MinValue}'. Expected: '-32769'."); + Console.WriteLine($"'(int)-32769f' was evaluated to '{(int)singleOneFullDecrementUnderInt16MinValue}'. Expected: '-32769'."); _counter++; } } @@ -5416,7 +5416,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)singleOneIncrementAboveInt16MinValue) != -32767) { - Console.WriteLine($"'(int)-32767.998f' was evaluted to '{(int)singleOneIncrementAboveInt16MinValue}'. Expected: '-32767'."); + Console.WriteLine($"'(int)-32767.998f' was evaluated to '{(int)singleOneIncrementAboveInt16MinValue}'. Expected: '-32767'."); _counter++; } } @@ -5431,7 +5431,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)singleOneFullIncrementAboveInt16MinValue) != -32767) { - Console.WriteLine($"'(int)-32767f' was evaluted to '{(int)singleOneFullIncrementAboveInt16MinValue}'. Expected: '-32767'."); + Console.WriteLine($"'(int)-32767f' was evaluated to '{(int)singleOneFullIncrementAboveInt16MinValue}'. Expected: '-32767'."); _counter++; } } @@ -5446,7 +5446,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)singleOneDecrementUnderInt16MaxValue) != 32766) { - Console.WriteLine($"'(int)32766.998f' was evaluted to '{(int)singleOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); + Console.WriteLine($"'(int)32766.998f' was evaluated to '{(int)singleOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); _counter++; } } @@ -5461,7 +5461,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)singleOneFullDecrementUnderInt16MaxValue) != 32766) { - Console.WriteLine($"'(int)32766f' was evaluted to '{(int)singleOneFullDecrementUnderInt16MaxValue}'. Expected: '32766'."); + Console.WriteLine($"'(int)32766f' was evaluated to '{(int)singleOneFullDecrementUnderInt16MaxValue}'. Expected: '32766'."); _counter++; } } @@ -5476,7 +5476,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)singleOneIncrementAboveInt16MaxValue) != 32767) { - Console.WriteLine($"'(int)32767.002f' was evaluted to '{(int)singleOneIncrementAboveInt16MaxValue}'. Expected: '32767'."); + Console.WriteLine($"'(int)32767.002f' was evaluated to '{(int)singleOneIncrementAboveInt16MaxValue}'. Expected: '32767'."); _counter++; } } @@ -5491,7 +5491,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)singleOneFullIncrementAboveInt16MaxValue) != 32768) { - Console.WriteLine($"'(int)32768f' was evaluted to '{(int)singleOneFullIncrementAboveInt16MaxValue}'. Expected: '32768'."); + Console.WriteLine($"'(int)32768f' was evaluated to '{(int)singleOneFullIncrementAboveInt16MaxValue}'. Expected: '32768'."); _counter++; } } @@ -5506,7 +5506,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneDecrementUnderInt16MinValue) != -32769) { - Console.WriteLine($"'(int)-32769.0f' was evaluted to '{(int)integerOneDecrementUnderInt16MinValue}'. Expected: '-32769'."); + Console.WriteLine($"'(int)-32769.0f' was evaluated to '{(int)integerOneDecrementUnderInt16MinValue}'. Expected: '-32769'."); _counter++; } } @@ -5521,7 +5521,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneIncrementAboveInt16MinValue) != -32767) { - Console.WriteLine($"'(int)-32767.0f' was evaluted to '{(int)integerOneIncrementAboveInt16MinValue}'. Expected: '-32767'."); + Console.WriteLine($"'(int)-32767.0f' was evaluated to '{(int)integerOneIncrementAboveInt16MinValue}'. Expected: '-32767'."); _counter++; } } @@ -5536,7 +5536,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneDecrementUnderInt16MaxValue) != 32766) { - Console.WriteLine($"'(int)32766.0f' was evaluted to '{(int)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); + Console.WriteLine($"'(int)32766.0f' was evaluated to '{(int)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); _counter++; } } @@ -5551,7 +5551,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneIncrementAboveInt16MaxValue) != 32768) { - Console.WriteLine($"'(int)32768.0f' was evaluted to '{(int)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768'."); + Console.WriteLine($"'(int)32768.0f' was evaluated to '{(int)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768'."); _counter++; } } @@ -5566,7 +5566,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)uInt16MaxValue) != 65535) { - Console.WriteLine($"'(int)65535.0f' was evaluted to '{(int)uInt16MaxValue}'. Expected: '65535'."); + Console.WriteLine($"'(int)65535.0f' was evaluated to '{(int)uInt16MaxValue}'. Expected: '65535'."); _counter++; } } @@ -5581,7 +5581,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)singleOneDecrementUnderUInt16MaxValue) != 65534) { - Console.WriteLine($"'(int)65534.996f' was evaluted to '{(int)singleOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); + Console.WriteLine($"'(int)65534.996f' was evaluated to '{(int)singleOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); _counter++; } } @@ -5596,7 +5596,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)singleOneFullDecrementUnderUInt16MaxValue) != 65534) { - Console.WriteLine($"'(int)65534f' was evaluted to '{(int)singleOneFullDecrementUnderUInt16MaxValue}'. Expected: '65534'."); + Console.WriteLine($"'(int)65534f' was evaluated to '{(int)singleOneFullDecrementUnderUInt16MaxValue}'. Expected: '65534'."); _counter++; } } @@ -5611,7 +5611,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)singleOneIncrementAboveUInt16MaxValue) != 65535) { - Console.WriteLine($"'(int)65535.004f' was evaluted to '{(int)singleOneIncrementAboveUInt16MaxValue}'. Expected: '65535'."); + Console.WriteLine($"'(int)65535.004f' was evaluated to '{(int)singleOneIncrementAboveUInt16MaxValue}'. Expected: '65535'."); _counter++; } } @@ -5626,7 +5626,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)singleOneFullIncrementAboveUInt16MaxValue) != 65536) { - Console.WriteLine($"'(int)65536f' was evaluted to '{(int)singleOneFullIncrementAboveUInt16MaxValue}'. Expected: '65536'."); + Console.WriteLine($"'(int)65536f' was evaluated to '{(int)singleOneFullIncrementAboveUInt16MaxValue}'. Expected: '65536'."); _counter++; } } @@ -5641,7 +5641,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneDecrementUnderUInt16MaxValue) != 65534) { - Console.WriteLine($"'(int)65534.0f' was evaluted to '{(int)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); + Console.WriteLine($"'(int)65534.0f' was evaluated to '{(int)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); _counter++; } } @@ -5656,7 +5656,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneIncrementAboveUInt16MaxValue) != 65536) { - Console.WriteLine($"'(int)65536.0f' was evaluted to '{(int)integerOneIncrementAboveUInt16MaxValue}'. Expected: '65536'."); + Console.WriteLine($"'(int)65536.0f' was evaluated to '{(int)integerOneIncrementAboveUInt16MaxValue}'. Expected: '65536'."); _counter++; } } @@ -5671,7 +5671,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)int32MinValue) != -2147483648) { - Console.WriteLine($"'(int)-2147483648.0f' was evaluted to '{(int)int32MinValue}'. Expected: '-2147483648'."); + Console.WriteLine($"'(int)-2147483648.0f' was evaluated to '{(int)int32MinValue}'. Expected: '-2147483648'."); _counter++; } } @@ -5714,7 +5714,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)singleOneIncrementAboveInt32MinValue) != -2147483520) { - Console.WriteLine($"'(int)-2.1474835E+09f' was evaluted to '{(int)singleOneIncrementAboveInt32MinValue}'. Expected: '-2147483520'."); + Console.WriteLine($"'(int)-2.1474835E+09f' was evaluated to '{(int)singleOneIncrementAboveInt32MinValue}'. Expected: '-2147483520'."); _counter++; } } @@ -5729,7 +5729,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)singleOneDecrementUnderInt32MaxValue) != 2147483520) { - Console.WriteLine($"'(int)2.1474835E+09f' was evaluted to '{(int)singleOneDecrementUnderInt32MaxValue}'. Expected: '2147483520'."); + Console.WriteLine($"'(int)2.1474835E+09f' was evaluated to '{(int)singleOneDecrementUnderInt32MaxValue}'. Expected: '2147483520'."); _counter++; } } @@ -5772,7 +5772,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneDecrementUnderInt32MinValue) != -2147483648) { - Console.WriteLine($"'(int)-2147483649.0f' was evaluted to '{(int)integerOneDecrementUnderInt32MinValue}'. Expected: '-2147483648'."); + Console.WriteLine($"'(int)-2147483649.0f' was evaluated to '{(int)integerOneDecrementUnderInt32MinValue}'. Expected: '-2147483648'."); _counter++; } } @@ -5787,7 +5787,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneIncrementAboveInt32MinValue) != -2147483648) { - Console.WriteLine($"'(int)-2147483647.0f' was evaluted to '{(int)integerOneIncrementAboveInt32MinValue}'. Expected: '-2147483648'."); + Console.WriteLine($"'(int)-2147483647.0f' was evaluated to '{(int)integerOneIncrementAboveInt32MinValue}'. Expected: '-2147483648'."); _counter++; } } @@ -6086,7 +6086,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerZero) != 0) { - Console.WriteLine($"'(uint)0.0f' was evaluted to '{(uint)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(uint)0.0f' was evaluated to '{(uint)integerZero}'. Expected: '0'."); _counter++; } } @@ -6101,7 +6101,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)floatMinusZero) != 0) { - Console.WriteLine($"'(uint)-0f' was evaluted to '{(uint)floatMinusZero}'. Expected: '0'."); + Console.WriteLine($"'(uint)-0f' was evaluated to '{(uint)floatMinusZero}'. Expected: '0'."); _counter++; } } @@ -6116,7 +6116,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)floatZero) != 0) { - Console.WriteLine($"'(uint)0f' was evaluted to '{(uint)floatZero}'. Expected: '0'."); + Console.WriteLine($"'(uint)0f' was evaluated to '{(uint)floatZero}'. Expected: '0'."); _counter++; } } @@ -6201,7 +6201,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)sByteMaxValue) != 127) { - Console.WriteLine($"'(uint)127.0f' was evaluted to '{(uint)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(uint)127.0f' was evaluated to '{(uint)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -6272,7 +6272,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)singleOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(uint)126.99999f' was evaluted to '{(uint)singleOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(uint)126.99999f' was evaluated to '{(uint)singleOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -6287,7 +6287,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)singleOneFullDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(uint)126f' was evaluted to '{(uint)singleOneFullDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(uint)126f' was evaluated to '{(uint)singleOneFullDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -6302,7 +6302,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)singleOneIncrementAboveSByteMaxValue) != 127) { - Console.WriteLine($"'(uint)127.00001f' was evaluted to '{(uint)singleOneIncrementAboveSByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(uint)127.00001f' was evaluated to '{(uint)singleOneIncrementAboveSByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -6317,7 +6317,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)singleOneFullIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(uint)128f' was evaluted to '{(uint)singleOneFullIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(uint)128f' was evaluated to '{(uint)singleOneFullIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -6360,7 +6360,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(uint)126.0f' was evaluted to '{(uint)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(uint)126.0f' was evaluated to '{(uint)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -6375,7 +6375,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(uint)128.0f' was evaluted to '{(uint)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(uint)128.0f' was evaluated to '{(uint)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -6390,7 +6390,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)byteMaxValue) != 255) { - Console.WriteLine($"'(uint)255.0f' was evaluted to '{(uint)byteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(uint)255.0f' was evaluated to '{(uint)byteMaxValue}'. Expected: '255'."); _counter++; } } @@ -6405,7 +6405,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)singleOneDecrementUnderByteMinValue) != 0) { - Console.WriteLine($"'(uint)-1E-45f' was evaluted to '{(uint)singleOneDecrementUnderByteMinValue}'. Expected: '0'."); + Console.WriteLine($"'(uint)-1E-45f' was evaluated to '{(uint)singleOneDecrementUnderByteMinValue}'. Expected: '0'."); _counter++; } } @@ -6434,7 +6434,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)singleOneIncrementAboveByteMinValue) != 0) { - Console.WriteLine($"'(uint)1E-45f' was evaluted to '{(uint)singleOneIncrementAboveByteMinValue}'. Expected: '0'."); + Console.WriteLine($"'(uint)1E-45f' was evaluated to '{(uint)singleOneIncrementAboveByteMinValue}'. Expected: '0'."); _counter++; } } @@ -6449,7 +6449,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)singleOneFullIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(uint)1f' was evaluted to '{(uint)singleOneFullIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(uint)1f' was evaluated to '{(uint)singleOneFullIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -6464,7 +6464,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)singleOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(uint)254.99998f' was evaluted to '{(uint)singleOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(uint)254.99998f' was evaluated to '{(uint)singleOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -6479,7 +6479,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)singleOneFullDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(uint)254f' was evaluted to '{(uint)singleOneFullDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(uint)254f' was evaluated to '{(uint)singleOneFullDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -6494,7 +6494,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)singleOneIncrementAboveByteMaxValue) != 255) { - Console.WriteLine($"'(uint)255.00002f' was evaluted to '{(uint)singleOneIncrementAboveByteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(uint)255.00002f' was evaluated to '{(uint)singleOneIncrementAboveByteMaxValue}'. Expected: '255'."); _counter++; } } @@ -6509,7 +6509,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)singleOneFullIncrementAboveByteMaxValue) != 256) { - Console.WriteLine($"'(uint)256f' was evaluted to '{(uint)singleOneFullIncrementAboveByteMaxValue}'. Expected: '256'."); + Console.WriteLine($"'(uint)256f' was evaluated to '{(uint)singleOneFullIncrementAboveByteMaxValue}'. Expected: '256'."); _counter++; } } @@ -6538,7 +6538,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(uint)1.0f' was evaluted to '{(uint)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(uint)1.0f' was evaluated to '{(uint)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -6553,7 +6553,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(uint)254.0f' was evaluted to '{(uint)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(uint)254.0f' was evaluated to '{(uint)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -6568,7 +6568,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneIncrementAboveByteMaxValue) != 256) { - Console.WriteLine($"'(uint)256.0f' was evaluted to '{(uint)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); + Console.WriteLine($"'(uint)256.0f' was evaluated to '{(uint)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); _counter++; } } @@ -6597,7 +6597,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)int16MaxValue) != 32767) { - Console.WriteLine($"'(uint)32767.0f' was evaluted to '{(uint)int16MaxValue}'. Expected: '32767'."); + Console.WriteLine($"'(uint)32767.0f' was evaluated to '{(uint)int16MaxValue}'. Expected: '32767'."); _counter++; } } @@ -6668,7 +6668,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)singleOneDecrementUnderInt16MaxValue) != 32766) { - Console.WriteLine($"'(uint)32766.998f' was evaluted to '{(uint)singleOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); + Console.WriteLine($"'(uint)32766.998f' was evaluated to '{(uint)singleOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); _counter++; } } @@ -6683,7 +6683,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)singleOneFullDecrementUnderInt16MaxValue) != 32766) { - Console.WriteLine($"'(uint)32766f' was evaluted to '{(uint)singleOneFullDecrementUnderInt16MaxValue}'. Expected: '32766'."); + Console.WriteLine($"'(uint)32766f' was evaluated to '{(uint)singleOneFullDecrementUnderInt16MaxValue}'. Expected: '32766'."); _counter++; } } @@ -6698,7 +6698,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)singleOneIncrementAboveInt16MaxValue) != 32767) { - Console.WriteLine($"'(uint)32767.002f' was evaluted to '{(uint)singleOneIncrementAboveInt16MaxValue}'. Expected: '32767'."); + Console.WriteLine($"'(uint)32767.002f' was evaluated to '{(uint)singleOneIncrementAboveInt16MaxValue}'. Expected: '32767'."); _counter++; } } @@ -6713,7 +6713,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)singleOneFullIncrementAboveInt16MaxValue) != 32768) { - Console.WriteLine($"'(uint)32768f' was evaluted to '{(uint)singleOneFullIncrementAboveInt16MaxValue}'. Expected: '32768'."); + Console.WriteLine($"'(uint)32768f' was evaluated to '{(uint)singleOneFullIncrementAboveInt16MaxValue}'. Expected: '32768'."); _counter++; } } @@ -6756,7 +6756,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneDecrementUnderInt16MaxValue) != 32766) { - Console.WriteLine($"'(uint)32766.0f' was evaluted to '{(uint)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); + Console.WriteLine($"'(uint)32766.0f' was evaluated to '{(uint)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); _counter++; } } @@ -6771,7 +6771,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneIncrementAboveInt16MaxValue) != 32768) { - Console.WriteLine($"'(uint)32768.0f' was evaluted to '{(uint)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768'."); + Console.WriteLine($"'(uint)32768.0f' was evaluated to '{(uint)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768'."); _counter++; } } @@ -6786,7 +6786,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)uInt16MaxValue) != 65535) { - Console.WriteLine($"'(uint)65535.0f' was evaluted to '{(uint)uInt16MaxValue}'. Expected: '65535'."); + Console.WriteLine($"'(uint)65535.0f' was evaluated to '{(uint)uInt16MaxValue}'. Expected: '65535'."); _counter++; } } @@ -6801,7 +6801,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)singleOneDecrementUnderUInt16MaxValue) != 65534) { - Console.WriteLine($"'(uint)65534.996f' was evaluted to '{(uint)singleOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); + Console.WriteLine($"'(uint)65534.996f' was evaluated to '{(uint)singleOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); _counter++; } } @@ -6816,7 +6816,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)singleOneFullDecrementUnderUInt16MaxValue) != 65534) { - Console.WriteLine($"'(uint)65534f' was evaluted to '{(uint)singleOneFullDecrementUnderUInt16MaxValue}'. Expected: '65534'."); + Console.WriteLine($"'(uint)65534f' was evaluated to '{(uint)singleOneFullDecrementUnderUInt16MaxValue}'. Expected: '65534'."); _counter++; } } @@ -6831,7 +6831,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)singleOneIncrementAboveUInt16MaxValue) != 65535) { - Console.WriteLine($"'(uint)65535.004f' was evaluted to '{(uint)singleOneIncrementAboveUInt16MaxValue}'. Expected: '65535'."); + Console.WriteLine($"'(uint)65535.004f' was evaluated to '{(uint)singleOneIncrementAboveUInt16MaxValue}'. Expected: '65535'."); _counter++; } } @@ -6846,7 +6846,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)singleOneFullIncrementAboveUInt16MaxValue) != 65536) { - Console.WriteLine($"'(uint)65536f' was evaluted to '{(uint)singleOneFullIncrementAboveUInt16MaxValue}'. Expected: '65536'."); + Console.WriteLine($"'(uint)65536f' was evaluated to '{(uint)singleOneFullIncrementAboveUInt16MaxValue}'. Expected: '65536'."); _counter++; } } @@ -6861,7 +6861,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneDecrementUnderUInt16MaxValue) != 65534) { - Console.WriteLine($"'(uint)65534.0f' was evaluted to '{(uint)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); + Console.WriteLine($"'(uint)65534.0f' was evaluated to '{(uint)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); _counter++; } } @@ -6876,7 +6876,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneIncrementAboveUInt16MaxValue) != 65536) { - Console.WriteLine($"'(uint)65536.0f' was evaluted to '{(uint)integerOneIncrementAboveUInt16MaxValue}'. Expected: '65536'."); + Console.WriteLine($"'(uint)65536.0f' was evaluated to '{(uint)integerOneIncrementAboveUInt16MaxValue}'. Expected: '65536'."); _counter++; } } @@ -6905,7 +6905,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)int32MaxValue) != 2147483648) { - Console.WriteLine($"'(uint)2147483647.0f' was evaluted to '{(uint)int32MaxValue}'. Expected: '2147483648'."); + Console.WriteLine($"'(uint)2147483647.0f' was evaluated to '{(uint)int32MaxValue}'. Expected: '2147483648'."); _counter++; } } @@ -6948,7 +6948,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)singleOneDecrementUnderInt32MaxValue) != 2147483520) { - Console.WriteLine($"'(uint)2.1474835E+09f' was evaluted to '{(uint)singleOneDecrementUnderInt32MaxValue}'. Expected: '2147483520'."); + Console.WriteLine($"'(uint)2.1474835E+09f' was evaluated to '{(uint)singleOneDecrementUnderInt32MaxValue}'. Expected: '2147483520'."); _counter++; } } @@ -6963,7 +6963,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)singleOneIncrementAboveInt32MaxValue) != 2147483904) { - Console.WriteLine($"'(uint)2.147484E+09f' was evaluted to '{(uint)singleOneIncrementAboveInt32MaxValue}'. Expected: '2147483904'."); + Console.WriteLine($"'(uint)2.147484E+09f' was evaluated to '{(uint)singleOneIncrementAboveInt32MaxValue}'. Expected: '2147483904'."); _counter++; } } @@ -6978,7 +6978,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)singleOneFullIncrementAboveInt32MaxValue) != 2147483648) { - Console.WriteLine($"'(uint)2.1474836E+09f' was evaluted to '{(uint)singleOneFullIncrementAboveInt32MaxValue}'. Expected: '2147483648'."); + Console.WriteLine($"'(uint)2.1474836E+09f' was evaluated to '{(uint)singleOneFullIncrementAboveInt32MaxValue}'. Expected: '2147483648'."); _counter++; } } @@ -7021,7 +7021,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneDecrementUnderInt32MaxValue) != 2147483648) { - Console.WriteLine($"'(uint)2147483646.0f' was evaluted to '{(uint)integerOneDecrementUnderInt32MaxValue}'. Expected: '2147483648'."); + Console.WriteLine($"'(uint)2147483646.0f' was evaluated to '{(uint)integerOneDecrementUnderInt32MaxValue}'. Expected: '2147483648'."); _counter++; } } @@ -7036,7 +7036,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneIncrementAboveInt32MaxValue) != 2147483648) { - Console.WriteLine($"'(uint)2147483648.0f' was evaluted to '{(uint)integerOneIncrementAboveInt32MaxValue}'. Expected: '2147483648'."); + Console.WriteLine($"'(uint)2147483648.0f' was evaluated to '{(uint)integerOneIncrementAboveInt32MaxValue}'. Expected: '2147483648'."); _counter++; } } @@ -7065,7 +7065,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)singleOneDecrementUnderUInt32MaxValue) != 4294967040) { - Console.WriteLine($"'(uint)4.294967E+09f' was evaluted to '{(uint)singleOneDecrementUnderUInt32MaxValue}'. Expected: '4294967040'."); + Console.WriteLine($"'(uint)4.294967E+09f' was evaluated to '{(uint)singleOneDecrementUnderUInt32MaxValue}'. Expected: '4294967040'."); _counter++; } } @@ -7308,7 +7308,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerZero) != 0) { - Console.WriteLine($"'(long)0.0f' was evaluted to '{(long)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(long)0.0f' was evaluated to '{(long)integerZero}'. Expected: '0'."); _counter++; } } @@ -7323,7 +7323,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)floatMinusZero) != 0) { - Console.WriteLine($"'(long)-0f' was evaluted to '{(long)floatMinusZero}'. Expected: '0'."); + Console.WriteLine($"'(long)-0f' was evaluated to '{(long)floatMinusZero}'. Expected: '0'."); _counter++; } } @@ -7338,7 +7338,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)floatZero) != 0) { - Console.WriteLine($"'(long)0f' was evaluted to '{(long)floatZero}'. Expected: '0'."); + Console.WriteLine($"'(long)0f' was evaluated to '{(long)floatZero}'. Expected: '0'."); _counter++; } } @@ -7409,7 +7409,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)sByteMinValue) != -128) { - Console.WriteLine($"'(long)-128.0f' was evaluted to '{(long)sByteMinValue}'. Expected: '-128'."); + Console.WriteLine($"'(long)-128.0f' was evaluated to '{(long)sByteMinValue}'. Expected: '-128'."); _counter++; } } @@ -7424,7 +7424,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)sByteMaxValue) != 127) { - Console.WriteLine($"'(long)127.0f' was evaluted to '{(long)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(long)127.0f' was evaluated to '{(long)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -7439,7 +7439,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)singleOneDecrementUnderSByteMinValue) != -128) { - Console.WriteLine($"'(long)-128.00002f' was evaluted to '{(long)singleOneDecrementUnderSByteMinValue}'. Expected: '-128'."); + Console.WriteLine($"'(long)-128.00002f' was evaluated to '{(long)singleOneDecrementUnderSByteMinValue}'. Expected: '-128'."); _counter++; } } @@ -7454,7 +7454,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)singleOneFullDecrementUnderSByteMinValue) != -129) { - Console.WriteLine($"'(long)-129f' was evaluted to '{(long)singleOneFullDecrementUnderSByteMinValue}'. Expected: '-129'."); + Console.WriteLine($"'(long)-129f' was evaluated to '{(long)singleOneFullDecrementUnderSByteMinValue}'. Expected: '-129'."); _counter++; } } @@ -7469,7 +7469,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)singleOneIncrementAboveSByteMinValue) != -127) { - Console.WriteLine($"'(long)-127.99999f' was evaluted to '{(long)singleOneIncrementAboveSByteMinValue}'. Expected: '-127'."); + Console.WriteLine($"'(long)-127.99999f' was evaluated to '{(long)singleOneIncrementAboveSByteMinValue}'. Expected: '-127'."); _counter++; } } @@ -7484,7 +7484,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)singleOneFullIncrementAboveSByteMinValue) != -127) { - Console.WriteLine($"'(long)-127f' was evaluted to '{(long)singleOneFullIncrementAboveSByteMinValue}'. Expected: '-127'."); + Console.WriteLine($"'(long)-127f' was evaluated to '{(long)singleOneFullIncrementAboveSByteMinValue}'. Expected: '-127'."); _counter++; } } @@ -7499,7 +7499,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)singleOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(long)126.99999f' was evaluted to '{(long)singleOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(long)126.99999f' was evaluated to '{(long)singleOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -7514,7 +7514,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)singleOneFullDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(long)126f' was evaluted to '{(long)singleOneFullDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(long)126f' was evaluated to '{(long)singleOneFullDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -7529,7 +7529,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)singleOneIncrementAboveSByteMaxValue) != 127) { - Console.WriteLine($"'(long)127.00001f' was evaluted to '{(long)singleOneIncrementAboveSByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(long)127.00001f' was evaluated to '{(long)singleOneIncrementAboveSByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -7544,7 +7544,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)singleOneFullIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(long)128f' was evaluted to '{(long)singleOneFullIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(long)128f' was evaluated to '{(long)singleOneFullIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -7559,7 +7559,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneDecrementUnderSByteMinValue) != -129) { - Console.WriteLine($"'(long)-129.0f' was evaluted to '{(long)integerOneDecrementUnderSByteMinValue}'. Expected: '-129'."); + Console.WriteLine($"'(long)-129.0f' was evaluated to '{(long)integerOneDecrementUnderSByteMinValue}'. Expected: '-129'."); _counter++; } } @@ -7574,7 +7574,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneIncrementAboveSByteMinValue) != -127) { - Console.WriteLine($"'(long)-127.0f' was evaluted to '{(long)integerOneIncrementAboveSByteMinValue}'. Expected: '-127'."); + Console.WriteLine($"'(long)-127.0f' was evaluated to '{(long)integerOneIncrementAboveSByteMinValue}'. Expected: '-127'."); _counter++; } } @@ -7589,7 +7589,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(long)126.0f' was evaluted to '{(long)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(long)126.0f' was evaluated to '{(long)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -7604,7 +7604,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(long)128.0f' was evaluted to '{(long)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(long)128.0f' was evaluated to '{(long)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -7619,7 +7619,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)byteMaxValue) != 255) { - Console.WriteLine($"'(long)255.0f' was evaluted to '{(long)byteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(long)255.0f' was evaluated to '{(long)byteMaxValue}'. Expected: '255'."); _counter++; } } @@ -7634,7 +7634,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)singleOneDecrementUnderByteMinValue) != 0) { - Console.WriteLine($"'(long)-1E-45f' was evaluted to '{(long)singleOneDecrementUnderByteMinValue}'. Expected: '0'."); + Console.WriteLine($"'(long)-1E-45f' was evaluated to '{(long)singleOneDecrementUnderByteMinValue}'. Expected: '0'."); _counter++; } } @@ -7649,7 +7649,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)singleOneFullDecrementUnderByteMinValue) != -1) { - Console.WriteLine($"'(long)-1f' was evaluted to '{(long)singleOneFullDecrementUnderByteMinValue}'. Expected: '-1'."); + Console.WriteLine($"'(long)-1f' was evaluated to '{(long)singleOneFullDecrementUnderByteMinValue}'. Expected: '-1'."); _counter++; } } @@ -7664,7 +7664,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)singleOneIncrementAboveByteMinValue) != 0) { - Console.WriteLine($"'(long)1E-45f' was evaluted to '{(long)singleOneIncrementAboveByteMinValue}'. Expected: '0'."); + Console.WriteLine($"'(long)1E-45f' was evaluated to '{(long)singleOneIncrementAboveByteMinValue}'. Expected: '0'."); _counter++; } } @@ -7679,7 +7679,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)singleOneFullIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(long)1f' was evaluted to '{(long)singleOneFullIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(long)1f' was evaluated to '{(long)singleOneFullIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -7694,7 +7694,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)singleOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(long)254.99998f' was evaluted to '{(long)singleOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(long)254.99998f' was evaluated to '{(long)singleOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -7709,7 +7709,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)singleOneFullDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(long)254f' was evaluted to '{(long)singleOneFullDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(long)254f' was evaluated to '{(long)singleOneFullDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -7724,7 +7724,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)singleOneIncrementAboveByteMaxValue) != 255) { - Console.WriteLine($"'(long)255.00002f' was evaluted to '{(long)singleOneIncrementAboveByteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(long)255.00002f' was evaluated to '{(long)singleOneIncrementAboveByteMaxValue}'. Expected: '255'."); _counter++; } } @@ -7739,7 +7739,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)singleOneFullIncrementAboveByteMaxValue) != 256) { - Console.WriteLine($"'(long)256f' was evaluted to '{(long)singleOneFullIncrementAboveByteMaxValue}'. Expected: '256'."); + Console.WriteLine($"'(long)256f' was evaluated to '{(long)singleOneFullIncrementAboveByteMaxValue}'. Expected: '256'."); _counter++; } } @@ -7754,7 +7754,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneDecrementUnderByteMinValue) != -1) { - Console.WriteLine($"'(long)-1.0f' was evaluted to '{(long)integerOneDecrementUnderByteMinValue}'. Expected: '-1'."); + Console.WriteLine($"'(long)-1.0f' was evaluated to '{(long)integerOneDecrementUnderByteMinValue}'. Expected: '-1'."); _counter++; } } @@ -7769,7 +7769,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(long)1.0f' was evaluted to '{(long)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(long)1.0f' was evaluated to '{(long)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -7784,7 +7784,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(long)254.0f' was evaluted to '{(long)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(long)254.0f' was evaluated to '{(long)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -7799,7 +7799,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneIncrementAboveByteMaxValue) != 256) { - Console.WriteLine($"'(long)256.0f' was evaluted to '{(long)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); + Console.WriteLine($"'(long)256.0f' was evaluated to '{(long)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); _counter++; } } @@ -7814,7 +7814,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)int16MinValue) != -32768) { - Console.WriteLine($"'(long)-32768.0f' was evaluted to '{(long)int16MinValue}'. Expected: '-32768'."); + Console.WriteLine($"'(long)-32768.0f' was evaluated to '{(long)int16MinValue}'. Expected: '-32768'."); _counter++; } } @@ -7829,7 +7829,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)int16MaxValue) != 32767) { - Console.WriteLine($"'(long)32767.0f' was evaluted to '{(long)int16MaxValue}'. Expected: '32767'."); + Console.WriteLine($"'(long)32767.0f' was evaluated to '{(long)int16MaxValue}'. Expected: '32767'."); _counter++; } } @@ -7844,7 +7844,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)singleOneDecrementUnderInt16MinValue) != -32768) { - Console.WriteLine($"'(long)-32768.004f' was evaluted to '{(long)singleOneDecrementUnderInt16MinValue}'. Expected: '-32768'."); + Console.WriteLine($"'(long)-32768.004f' was evaluated to '{(long)singleOneDecrementUnderInt16MinValue}'. Expected: '-32768'."); _counter++; } } @@ -7859,7 +7859,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)singleOneFullDecrementUnderInt16MinValue) != -32769) { - Console.WriteLine($"'(long)-32769f' was evaluted to '{(long)singleOneFullDecrementUnderInt16MinValue}'. Expected: '-32769'."); + Console.WriteLine($"'(long)-32769f' was evaluated to '{(long)singleOneFullDecrementUnderInt16MinValue}'. Expected: '-32769'."); _counter++; } } @@ -7874,7 +7874,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)singleOneIncrementAboveInt16MinValue) != -32767) { - Console.WriteLine($"'(long)-32767.998f' was evaluted to '{(long)singleOneIncrementAboveInt16MinValue}'. Expected: '-32767'."); + Console.WriteLine($"'(long)-32767.998f' was evaluated to '{(long)singleOneIncrementAboveInt16MinValue}'. Expected: '-32767'."); _counter++; } } @@ -7889,7 +7889,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)singleOneFullIncrementAboveInt16MinValue) != -32767) { - Console.WriteLine($"'(long)-32767f' was evaluted to '{(long)singleOneFullIncrementAboveInt16MinValue}'. Expected: '-32767'."); + Console.WriteLine($"'(long)-32767f' was evaluated to '{(long)singleOneFullIncrementAboveInt16MinValue}'. Expected: '-32767'."); _counter++; } } @@ -7904,7 +7904,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)singleOneDecrementUnderInt16MaxValue) != 32766) { - Console.WriteLine($"'(long)32766.998f' was evaluted to '{(long)singleOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); + Console.WriteLine($"'(long)32766.998f' was evaluated to '{(long)singleOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); _counter++; } } @@ -7919,7 +7919,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)singleOneFullDecrementUnderInt16MaxValue) != 32766) { - Console.WriteLine($"'(long)32766f' was evaluted to '{(long)singleOneFullDecrementUnderInt16MaxValue}'. Expected: '32766'."); + Console.WriteLine($"'(long)32766f' was evaluated to '{(long)singleOneFullDecrementUnderInt16MaxValue}'. Expected: '32766'."); _counter++; } } @@ -7934,7 +7934,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)singleOneIncrementAboveInt16MaxValue) != 32767) { - Console.WriteLine($"'(long)32767.002f' was evaluted to '{(long)singleOneIncrementAboveInt16MaxValue}'. Expected: '32767'."); + Console.WriteLine($"'(long)32767.002f' was evaluated to '{(long)singleOneIncrementAboveInt16MaxValue}'. Expected: '32767'."); _counter++; } } @@ -7949,7 +7949,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)singleOneFullIncrementAboveInt16MaxValue) != 32768) { - Console.WriteLine($"'(long)32768f' was evaluted to '{(long)singleOneFullIncrementAboveInt16MaxValue}'. Expected: '32768'."); + Console.WriteLine($"'(long)32768f' was evaluated to '{(long)singleOneFullIncrementAboveInt16MaxValue}'. Expected: '32768'."); _counter++; } } @@ -7964,7 +7964,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneDecrementUnderInt16MinValue) != -32769) { - Console.WriteLine($"'(long)-32769.0f' was evaluted to '{(long)integerOneDecrementUnderInt16MinValue}'. Expected: '-32769'."); + Console.WriteLine($"'(long)-32769.0f' was evaluated to '{(long)integerOneDecrementUnderInt16MinValue}'. Expected: '-32769'."); _counter++; } } @@ -7979,7 +7979,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneIncrementAboveInt16MinValue) != -32767) { - Console.WriteLine($"'(long)-32767.0f' was evaluted to '{(long)integerOneIncrementAboveInt16MinValue}'. Expected: '-32767'."); + Console.WriteLine($"'(long)-32767.0f' was evaluated to '{(long)integerOneIncrementAboveInt16MinValue}'. Expected: '-32767'."); _counter++; } } @@ -7994,7 +7994,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneDecrementUnderInt16MaxValue) != 32766) { - Console.WriteLine($"'(long)32766.0f' was evaluted to '{(long)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); + Console.WriteLine($"'(long)32766.0f' was evaluated to '{(long)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); _counter++; } } @@ -8009,7 +8009,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneIncrementAboveInt16MaxValue) != 32768) { - Console.WriteLine($"'(long)32768.0f' was evaluted to '{(long)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768'."); + Console.WriteLine($"'(long)32768.0f' was evaluated to '{(long)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768'."); _counter++; } } @@ -8024,7 +8024,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)uInt16MaxValue) != 65535) { - Console.WriteLine($"'(long)65535.0f' was evaluted to '{(long)uInt16MaxValue}'. Expected: '65535'."); + Console.WriteLine($"'(long)65535.0f' was evaluated to '{(long)uInt16MaxValue}'. Expected: '65535'."); _counter++; } } @@ -8039,7 +8039,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)singleOneDecrementUnderUInt16MaxValue) != 65534) { - Console.WriteLine($"'(long)65534.996f' was evaluted to '{(long)singleOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); + Console.WriteLine($"'(long)65534.996f' was evaluated to '{(long)singleOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); _counter++; } } @@ -8054,7 +8054,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)singleOneFullDecrementUnderUInt16MaxValue) != 65534) { - Console.WriteLine($"'(long)65534f' was evaluted to '{(long)singleOneFullDecrementUnderUInt16MaxValue}'. Expected: '65534'."); + Console.WriteLine($"'(long)65534f' was evaluated to '{(long)singleOneFullDecrementUnderUInt16MaxValue}'. Expected: '65534'."); _counter++; } } @@ -8069,7 +8069,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)singleOneIncrementAboveUInt16MaxValue) != 65535) { - Console.WriteLine($"'(long)65535.004f' was evaluted to '{(long)singleOneIncrementAboveUInt16MaxValue}'. Expected: '65535'."); + Console.WriteLine($"'(long)65535.004f' was evaluated to '{(long)singleOneIncrementAboveUInt16MaxValue}'. Expected: '65535'."); _counter++; } } @@ -8084,7 +8084,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)singleOneFullIncrementAboveUInt16MaxValue) != 65536) { - Console.WriteLine($"'(long)65536f' was evaluted to '{(long)singleOneFullIncrementAboveUInt16MaxValue}'. Expected: '65536'."); + Console.WriteLine($"'(long)65536f' was evaluated to '{(long)singleOneFullIncrementAboveUInt16MaxValue}'. Expected: '65536'."); _counter++; } } @@ -8099,7 +8099,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneDecrementUnderUInt16MaxValue) != 65534) { - Console.WriteLine($"'(long)65534.0f' was evaluted to '{(long)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); + Console.WriteLine($"'(long)65534.0f' was evaluated to '{(long)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); _counter++; } } @@ -8114,7 +8114,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneIncrementAboveUInt16MaxValue) != 65536) { - Console.WriteLine($"'(long)65536.0f' was evaluted to '{(long)integerOneIncrementAboveUInt16MaxValue}'. Expected: '65536'."); + Console.WriteLine($"'(long)65536.0f' was evaluated to '{(long)integerOneIncrementAboveUInt16MaxValue}'. Expected: '65536'."); _counter++; } } @@ -8129,7 +8129,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)int32MinValue) != -2147483648) { - Console.WriteLine($"'(long)-2147483648.0f' was evaluted to '{(long)int32MinValue}'. Expected: '-2147483648'."); + Console.WriteLine($"'(long)-2147483648.0f' was evaluated to '{(long)int32MinValue}'. Expected: '-2147483648'."); _counter++; } } @@ -8144,7 +8144,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)int32MaxValue) != 2147483648) { - Console.WriteLine($"'(long)2147483647.0f' was evaluted to '{(long)int32MaxValue}'. Expected: '2147483648'."); + Console.WriteLine($"'(long)2147483647.0f' was evaluated to '{(long)int32MaxValue}'. Expected: '2147483648'."); _counter++; } } @@ -8159,7 +8159,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)singleOneDecrementUnderInt32MinValue) != -2147483904) { - Console.WriteLine($"'(long)-2.147484E+09f' was evaluted to '{(long)singleOneDecrementUnderInt32MinValue}'. Expected: '-2147483904'."); + Console.WriteLine($"'(long)-2.147484E+09f' was evaluated to '{(long)singleOneDecrementUnderInt32MinValue}'. Expected: '-2147483904'."); _counter++; } } @@ -8174,7 +8174,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)singleOneIncrementAboveInt32MinValue) != -2147483520) { - Console.WriteLine($"'(long)-2.1474835E+09f' was evaluted to '{(long)singleOneIncrementAboveInt32MinValue}'. Expected: '-2147483520'."); + Console.WriteLine($"'(long)-2.1474835E+09f' was evaluated to '{(long)singleOneIncrementAboveInt32MinValue}'. Expected: '-2147483520'."); _counter++; } } @@ -8189,7 +8189,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)singleOneDecrementUnderInt32MaxValue) != 2147483520) { - Console.WriteLine($"'(long)2.1474835E+09f' was evaluted to '{(long)singleOneDecrementUnderInt32MaxValue}'. Expected: '2147483520'."); + Console.WriteLine($"'(long)2.1474835E+09f' was evaluated to '{(long)singleOneDecrementUnderInt32MaxValue}'. Expected: '2147483520'."); _counter++; } } @@ -8204,7 +8204,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)singleOneIncrementAboveInt32MaxValue) != 2147483904) { - Console.WriteLine($"'(long)2.147484E+09f' was evaluted to '{(long)singleOneIncrementAboveInt32MaxValue}'. Expected: '2147483904'."); + Console.WriteLine($"'(long)2.147484E+09f' was evaluated to '{(long)singleOneIncrementAboveInt32MaxValue}'. Expected: '2147483904'."); _counter++; } } @@ -8219,7 +8219,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)singleOneFullIncrementAboveInt32MaxValue) != 2147483648) { - Console.WriteLine($"'(long)2.1474836E+09f' was evaluted to '{(long)singleOneFullIncrementAboveInt32MaxValue}'. Expected: '2147483648'."); + Console.WriteLine($"'(long)2.1474836E+09f' was evaluated to '{(long)singleOneFullIncrementAboveInt32MaxValue}'. Expected: '2147483648'."); _counter++; } } @@ -8234,7 +8234,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneDecrementUnderInt32MinValue) != -2147483648) { - Console.WriteLine($"'(long)-2147483649.0f' was evaluted to '{(long)integerOneDecrementUnderInt32MinValue}'. Expected: '-2147483648'."); + Console.WriteLine($"'(long)-2147483649.0f' was evaluated to '{(long)integerOneDecrementUnderInt32MinValue}'. Expected: '-2147483648'."); _counter++; } } @@ -8249,7 +8249,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneIncrementAboveInt32MinValue) != -2147483648) { - Console.WriteLine($"'(long)-2147483647.0f' was evaluted to '{(long)integerOneIncrementAboveInt32MinValue}'. Expected: '-2147483648'."); + Console.WriteLine($"'(long)-2147483647.0f' was evaluated to '{(long)integerOneIncrementAboveInt32MinValue}'. Expected: '-2147483648'."); _counter++; } } @@ -8264,7 +8264,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneDecrementUnderInt32MaxValue) != 2147483648) { - Console.WriteLine($"'(long)2147483646.0f' was evaluted to '{(long)integerOneDecrementUnderInt32MaxValue}'. Expected: '2147483648'."); + Console.WriteLine($"'(long)2147483646.0f' was evaluated to '{(long)integerOneDecrementUnderInt32MaxValue}'. Expected: '2147483648'."); _counter++; } } @@ -8279,7 +8279,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneIncrementAboveInt32MaxValue) != 2147483648) { - Console.WriteLine($"'(long)2147483648.0f' was evaluted to '{(long)integerOneIncrementAboveInt32MaxValue}'. Expected: '2147483648'."); + Console.WriteLine($"'(long)2147483648.0f' was evaluated to '{(long)integerOneIncrementAboveInt32MaxValue}'. Expected: '2147483648'."); _counter++; } } @@ -8294,7 +8294,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)uInt32MaxValue) != 4294967296) { - Console.WriteLine($"'(long)4294967295.0f' was evaluted to '{(long)uInt32MaxValue}'. Expected: '4294967296'."); + Console.WriteLine($"'(long)4294967295.0f' was evaluated to '{(long)uInt32MaxValue}'. Expected: '4294967296'."); _counter++; } } @@ -8309,7 +8309,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)singleOneDecrementUnderUInt32MaxValue) != 4294967040) { - Console.WriteLine($"'(long)4.294967E+09f' was evaluted to '{(long)singleOneDecrementUnderUInt32MaxValue}'. Expected: '4294967040'."); + Console.WriteLine($"'(long)4.294967E+09f' was evaluated to '{(long)singleOneDecrementUnderUInt32MaxValue}'. Expected: '4294967040'."); _counter++; } } @@ -8324,7 +8324,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)singleOneIncrementAboveUInt32MaxValue) != 4294967808) { - Console.WriteLine($"'(long)4.294968E+09f' was evaluted to '{(long)singleOneIncrementAboveUInt32MaxValue}'. Expected: '4294967808'."); + Console.WriteLine($"'(long)4.294968E+09f' was evaluated to '{(long)singleOneIncrementAboveUInt32MaxValue}'. Expected: '4294967808'."); _counter++; } } @@ -8339,7 +8339,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)singleOneFullIncrementAboveUInt32MaxValue) != 4294967296) { - Console.WriteLine($"'(long)4.2949673E+09f' was evaluted to '{(long)singleOneFullIncrementAboveUInt32MaxValue}'. Expected: '4294967296'."); + Console.WriteLine($"'(long)4.2949673E+09f' was evaluated to '{(long)singleOneFullIncrementAboveUInt32MaxValue}'. Expected: '4294967296'."); _counter++; } } @@ -8354,7 +8354,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneDecrementUnderUInt32MaxValue) != 4294967296) { - Console.WriteLine($"'(long)4294967294.0f' was evaluted to '{(long)integerOneDecrementUnderUInt32MaxValue}'. Expected: '4294967296'."); + Console.WriteLine($"'(long)4294967294.0f' was evaluated to '{(long)integerOneDecrementUnderUInt32MaxValue}'. Expected: '4294967296'."); _counter++; } } @@ -8369,7 +8369,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneIncrementAboveUInt32MaxValue) != 4294967296) { - Console.WriteLine($"'(long)4294967296.0f' was evaluted to '{(long)integerOneIncrementAboveUInt32MaxValue}'. Expected: '4294967296'."); + Console.WriteLine($"'(long)4294967296.0f' was evaluated to '{(long)integerOneIncrementAboveUInt32MaxValue}'. Expected: '4294967296'."); _counter++; } } @@ -8384,7 +8384,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)int64MinValue) != -9223372036854775808) { - Console.WriteLine($"'(long)-9223372036854775808.0f' was evaluted to '{(long)int64MinValue}'. Expected: '-9223372036854775808'."); + Console.WriteLine($"'(long)-9223372036854775808.0f' was evaluated to '{(long)int64MinValue}'. Expected: '-9223372036854775808'."); _counter++; } } @@ -8413,7 +8413,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)singleOneIncrementAboveInt64MinValue) != -9223371487098961920) { - Console.WriteLine($"'(long)-9.2233715E+18f' was evaluted to '{(long)singleOneIncrementAboveInt64MinValue}'. Expected: '-9223371487098961920'."); + Console.WriteLine($"'(long)-9.2233715E+18f' was evaluated to '{(long)singleOneIncrementAboveInt64MinValue}'. Expected: '-9223371487098961920'."); _counter++; } } @@ -8428,7 +8428,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)singleOneDecrementUnderInt64MaxValue) != 9223371487098961920) { - Console.WriteLine($"'(long)9.2233715E+18f' was evaluted to '{(long)singleOneDecrementUnderInt64MaxValue}'. Expected: '9223371487098961920'."); + Console.WriteLine($"'(long)9.2233715E+18f' was evaluated to '{(long)singleOneDecrementUnderInt64MaxValue}'. Expected: '9223371487098961920'."); _counter++; } } @@ -8471,7 +8471,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneIncrementAboveInt64MinValue) != -9223372036854775808) { - Console.WriteLine($"'(long)-9223372036854775807.0f' was evaluted to '{(long)integerOneIncrementAboveInt64MinValue}'. Expected: '-9223372036854775808'."); + Console.WriteLine($"'(long)-9223372036854775807.0f' was evaluated to '{(long)integerOneIncrementAboveInt64MinValue}'. Expected: '-9223372036854775808'."); _counter++; } } @@ -8560,7 +8560,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerZero) != 0) { - Console.WriteLine($"'(ulong)0.0f' was evaluted to '{(ulong)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(ulong)0.0f' was evaluated to '{(ulong)integerZero}'. Expected: '0'."); _counter++; } } @@ -8575,7 +8575,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)floatMinusZero) != 0) { - Console.WriteLine($"'(ulong)-0f' was evaluted to '{(ulong)floatMinusZero}'. Expected: '0'."); + Console.WriteLine($"'(ulong)-0f' was evaluated to '{(ulong)floatMinusZero}'. Expected: '0'."); _counter++; } } @@ -8590,7 +8590,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)floatZero) != 0) { - Console.WriteLine($"'(ulong)0f' was evaluted to '{(ulong)floatZero}'. Expected: '0'."); + Console.WriteLine($"'(ulong)0f' was evaluated to '{(ulong)floatZero}'. Expected: '0'."); _counter++; } } @@ -8675,7 +8675,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)sByteMaxValue) != 127) { - Console.WriteLine($"'(ulong)127.0f' was evaluted to '{(ulong)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(ulong)127.0f' was evaluated to '{(ulong)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -8746,7 +8746,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)singleOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(ulong)126.99999f' was evaluted to '{(ulong)singleOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(ulong)126.99999f' was evaluated to '{(ulong)singleOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -8761,7 +8761,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)singleOneFullDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(ulong)126f' was evaluted to '{(ulong)singleOneFullDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(ulong)126f' was evaluated to '{(ulong)singleOneFullDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -8776,7 +8776,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)singleOneIncrementAboveSByteMaxValue) != 127) { - Console.WriteLine($"'(ulong)127.00001f' was evaluted to '{(ulong)singleOneIncrementAboveSByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(ulong)127.00001f' was evaluated to '{(ulong)singleOneIncrementAboveSByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -8791,7 +8791,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)singleOneFullIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(ulong)128f' was evaluted to '{(ulong)singleOneFullIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(ulong)128f' was evaluated to '{(ulong)singleOneFullIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -8834,7 +8834,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(ulong)126.0f' was evaluted to '{(ulong)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(ulong)126.0f' was evaluated to '{(ulong)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -8849,7 +8849,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(ulong)128.0f' was evaluted to '{(ulong)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(ulong)128.0f' was evaluated to '{(ulong)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -8864,7 +8864,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)byteMaxValue) != 255) { - Console.WriteLine($"'(ulong)255.0f' was evaluted to '{(ulong)byteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(ulong)255.0f' was evaluated to '{(ulong)byteMaxValue}'. Expected: '255'."); _counter++; } } @@ -8879,7 +8879,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)singleOneDecrementUnderByteMinValue) != 0) { - Console.WriteLine($"'(ulong)-1E-45f' was evaluted to '{(ulong)singleOneDecrementUnderByteMinValue}'. Expected: '0'."); + Console.WriteLine($"'(ulong)-1E-45f' was evaluated to '{(ulong)singleOneDecrementUnderByteMinValue}'. Expected: '0'."); _counter++; } } @@ -8908,7 +8908,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)singleOneIncrementAboveByteMinValue) != 0) { - Console.WriteLine($"'(ulong)1E-45f' was evaluted to '{(ulong)singleOneIncrementAboveByteMinValue}'. Expected: '0'."); + Console.WriteLine($"'(ulong)1E-45f' was evaluated to '{(ulong)singleOneIncrementAboveByteMinValue}'. Expected: '0'."); _counter++; } } @@ -8923,7 +8923,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)singleOneFullIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(ulong)1f' was evaluted to '{(ulong)singleOneFullIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(ulong)1f' was evaluated to '{(ulong)singleOneFullIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -8938,7 +8938,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)singleOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(ulong)254.99998f' was evaluted to '{(ulong)singleOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(ulong)254.99998f' was evaluated to '{(ulong)singleOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -8953,7 +8953,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)singleOneFullDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(ulong)254f' was evaluted to '{(ulong)singleOneFullDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(ulong)254f' was evaluated to '{(ulong)singleOneFullDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -8968,7 +8968,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)singleOneIncrementAboveByteMaxValue) != 255) { - Console.WriteLine($"'(ulong)255.00002f' was evaluted to '{(ulong)singleOneIncrementAboveByteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(ulong)255.00002f' was evaluated to '{(ulong)singleOneIncrementAboveByteMaxValue}'. Expected: '255'."); _counter++; } } @@ -8983,7 +8983,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)singleOneFullIncrementAboveByteMaxValue) != 256) { - Console.WriteLine($"'(ulong)256f' was evaluted to '{(ulong)singleOneFullIncrementAboveByteMaxValue}'. Expected: '256'."); + Console.WriteLine($"'(ulong)256f' was evaluated to '{(ulong)singleOneFullIncrementAboveByteMaxValue}'. Expected: '256'."); _counter++; } } @@ -9012,7 +9012,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(ulong)1.0f' was evaluted to '{(ulong)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(ulong)1.0f' was evaluated to '{(ulong)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -9027,7 +9027,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(ulong)254.0f' was evaluted to '{(ulong)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(ulong)254.0f' was evaluated to '{(ulong)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -9042,7 +9042,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneIncrementAboveByteMaxValue) != 256) { - Console.WriteLine($"'(ulong)256.0f' was evaluted to '{(ulong)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); + Console.WriteLine($"'(ulong)256.0f' was evaluated to '{(ulong)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); _counter++; } } @@ -9071,7 +9071,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)int16MaxValue) != 32767) { - Console.WriteLine($"'(ulong)32767.0f' was evaluted to '{(ulong)int16MaxValue}'. Expected: '32767'."); + Console.WriteLine($"'(ulong)32767.0f' was evaluated to '{(ulong)int16MaxValue}'. Expected: '32767'."); _counter++; } } @@ -9142,7 +9142,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)singleOneDecrementUnderInt16MaxValue) != 32766) { - Console.WriteLine($"'(ulong)32766.998f' was evaluted to '{(ulong)singleOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); + Console.WriteLine($"'(ulong)32766.998f' was evaluated to '{(ulong)singleOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); _counter++; } } @@ -9157,7 +9157,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)singleOneFullDecrementUnderInt16MaxValue) != 32766) { - Console.WriteLine($"'(ulong)32766f' was evaluted to '{(ulong)singleOneFullDecrementUnderInt16MaxValue}'. Expected: '32766'."); + Console.WriteLine($"'(ulong)32766f' was evaluated to '{(ulong)singleOneFullDecrementUnderInt16MaxValue}'. Expected: '32766'."); _counter++; } } @@ -9172,7 +9172,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)singleOneIncrementAboveInt16MaxValue) != 32767) { - Console.WriteLine($"'(ulong)32767.002f' was evaluted to '{(ulong)singleOneIncrementAboveInt16MaxValue}'. Expected: '32767'."); + Console.WriteLine($"'(ulong)32767.002f' was evaluated to '{(ulong)singleOneIncrementAboveInt16MaxValue}'. Expected: '32767'."); _counter++; } } @@ -9187,7 +9187,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)singleOneFullIncrementAboveInt16MaxValue) != 32768) { - Console.WriteLine($"'(ulong)32768f' was evaluted to '{(ulong)singleOneFullIncrementAboveInt16MaxValue}'. Expected: '32768'."); + Console.WriteLine($"'(ulong)32768f' was evaluated to '{(ulong)singleOneFullIncrementAboveInt16MaxValue}'. Expected: '32768'."); _counter++; } } @@ -9230,7 +9230,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneDecrementUnderInt16MaxValue) != 32766) { - Console.WriteLine($"'(ulong)32766.0f' was evaluted to '{(ulong)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); + Console.WriteLine($"'(ulong)32766.0f' was evaluated to '{(ulong)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); _counter++; } } @@ -9245,7 +9245,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneIncrementAboveInt16MaxValue) != 32768) { - Console.WriteLine($"'(ulong)32768.0f' was evaluted to '{(ulong)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768'."); + Console.WriteLine($"'(ulong)32768.0f' was evaluated to '{(ulong)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768'."); _counter++; } } @@ -9260,7 +9260,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)uInt16MaxValue) != 65535) { - Console.WriteLine($"'(ulong)65535.0f' was evaluted to '{(ulong)uInt16MaxValue}'. Expected: '65535'."); + Console.WriteLine($"'(ulong)65535.0f' was evaluated to '{(ulong)uInt16MaxValue}'. Expected: '65535'."); _counter++; } } @@ -9275,7 +9275,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)singleOneDecrementUnderUInt16MaxValue) != 65534) { - Console.WriteLine($"'(ulong)65534.996f' was evaluted to '{(ulong)singleOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); + Console.WriteLine($"'(ulong)65534.996f' was evaluated to '{(ulong)singleOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); _counter++; } } @@ -9290,7 +9290,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)singleOneFullDecrementUnderUInt16MaxValue) != 65534) { - Console.WriteLine($"'(ulong)65534f' was evaluted to '{(ulong)singleOneFullDecrementUnderUInt16MaxValue}'. Expected: '65534'."); + Console.WriteLine($"'(ulong)65534f' was evaluated to '{(ulong)singleOneFullDecrementUnderUInt16MaxValue}'. Expected: '65534'."); _counter++; } } @@ -9305,7 +9305,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)singleOneIncrementAboveUInt16MaxValue) != 65535) { - Console.WriteLine($"'(ulong)65535.004f' was evaluted to '{(ulong)singleOneIncrementAboveUInt16MaxValue}'. Expected: '65535'."); + Console.WriteLine($"'(ulong)65535.004f' was evaluated to '{(ulong)singleOneIncrementAboveUInt16MaxValue}'. Expected: '65535'."); _counter++; } } @@ -9320,7 +9320,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)singleOneFullIncrementAboveUInt16MaxValue) != 65536) { - Console.WriteLine($"'(ulong)65536f' was evaluted to '{(ulong)singleOneFullIncrementAboveUInt16MaxValue}'. Expected: '65536'."); + Console.WriteLine($"'(ulong)65536f' was evaluated to '{(ulong)singleOneFullIncrementAboveUInt16MaxValue}'. Expected: '65536'."); _counter++; } } @@ -9335,7 +9335,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneDecrementUnderUInt16MaxValue) != 65534) { - Console.WriteLine($"'(ulong)65534.0f' was evaluted to '{(ulong)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); + Console.WriteLine($"'(ulong)65534.0f' was evaluated to '{(ulong)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); _counter++; } } @@ -9350,7 +9350,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneIncrementAboveUInt16MaxValue) != 65536) { - Console.WriteLine($"'(ulong)65536.0f' was evaluted to '{(ulong)integerOneIncrementAboveUInt16MaxValue}'. Expected: '65536'."); + Console.WriteLine($"'(ulong)65536.0f' was evaluated to '{(ulong)integerOneIncrementAboveUInt16MaxValue}'. Expected: '65536'."); _counter++; } } @@ -9379,7 +9379,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)int32MaxValue) != 2147483648) { - Console.WriteLine($"'(ulong)2147483647.0f' was evaluted to '{(ulong)int32MaxValue}'. Expected: '2147483648'."); + Console.WriteLine($"'(ulong)2147483647.0f' was evaluated to '{(ulong)int32MaxValue}'. Expected: '2147483648'."); _counter++; } } @@ -9422,7 +9422,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)singleOneDecrementUnderInt32MaxValue) != 2147483520) { - Console.WriteLine($"'(ulong)2.1474835E+09f' was evaluted to '{(ulong)singleOneDecrementUnderInt32MaxValue}'. Expected: '2147483520'."); + Console.WriteLine($"'(ulong)2.1474835E+09f' was evaluated to '{(ulong)singleOneDecrementUnderInt32MaxValue}'. Expected: '2147483520'."); _counter++; } } @@ -9437,7 +9437,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)singleOneIncrementAboveInt32MaxValue) != 2147483904) { - Console.WriteLine($"'(ulong)2.147484E+09f' was evaluted to '{(ulong)singleOneIncrementAboveInt32MaxValue}'. Expected: '2147483904'."); + Console.WriteLine($"'(ulong)2.147484E+09f' was evaluated to '{(ulong)singleOneIncrementAboveInt32MaxValue}'. Expected: '2147483904'."); _counter++; } } @@ -9452,7 +9452,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)singleOneFullIncrementAboveInt32MaxValue) != 2147483648) { - Console.WriteLine($"'(ulong)2.1474836E+09f' was evaluted to '{(ulong)singleOneFullIncrementAboveInt32MaxValue}'. Expected: '2147483648'."); + Console.WriteLine($"'(ulong)2.1474836E+09f' was evaluated to '{(ulong)singleOneFullIncrementAboveInt32MaxValue}'. Expected: '2147483648'."); _counter++; } } @@ -9495,7 +9495,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneDecrementUnderInt32MaxValue) != 2147483648) { - Console.WriteLine($"'(ulong)2147483646.0f' was evaluted to '{(ulong)integerOneDecrementUnderInt32MaxValue}'. Expected: '2147483648'."); + Console.WriteLine($"'(ulong)2147483646.0f' was evaluated to '{(ulong)integerOneDecrementUnderInt32MaxValue}'. Expected: '2147483648'."); _counter++; } } @@ -9510,7 +9510,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneIncrementAboveInt32MaxValue) != 2147483648) { - Console.WriteLine($"'(ulong)2147483648.0f' was evaluted to '{(ulong)integerOneIncrementAboveInt32MaxValue}'. Expected: '2147483648'."); + Console.WriteLine($"'(ulong)2147483648.0f' was evaluated to '{(ulong)integerOneIncrementAboveInt32MaxValue}'. Expected: '2147483648'."); _counter++; } } @@ -9525,7 +9525,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)uInt32MaxValue) != 4294967296) { - Console.WriteLine($"'(ulong)4294967295.0f' was evaluted to '{(ulong)uInt32MaxValue}'. Expected: '4294967296'."); + Console.WriteLine($"'(ulong)4294967295.0f' was evaluated to '{(ulong)uInt32MaxValue}'. Expected: '4294967296'."); _counter++; } } @@ -9540,7 +9540,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)singleOneDecrementUnderUInt32MaxValue) != 4294967040) { - Console.WriteLine($"'(ulong)4.294967E+09f' was evaluted to '{(ulong)singleOneDecrementUnderUInt32MaxValue}'. Expected: '4294967040'."); + Console.WriteLine($"'(ulong)4.294967E+09f' was evaluated to '{(ulong)singleOneDecrementUnderUInt32MaxValue}'. Expected: '4294967040'."); _counter++; } } @@ -9555,7 +9555,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)singleOneIncrementAboveUInt32MaxValue) != 4294967808) { - Console.WriteLine($"'(ulong)4.294968E+09f' was evaluted to '{(ulong)singleOneIncrementAboveUInt32MaxValue}'. Expected: '4294967808'."); + Console.WriteLine($"'(ulong)4.294968E+09f' was evaluated to '{(ulong)singleOneIncrementAboveUInt32MaxValue}'. Expected: '4294967808'."); _counter++; } } @@ -9570,7 +9570,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)singleOneFullIncrementAboveUInt32MaxValue) != 4294967296) { - Console.WriteLine($"'(ulong)4.2949673E+09f' was evaluted to '{(ulong)singleOneFullIncrementAboveUInt32MaxValue}'. Expected: '4294967296'."); + Console.WriteLine($"'(ulong)4.2949673E+09f' was evaluated to '{(ulong)singleOneFullIncrementAboveUInt32MaxValue}'. Expected: '4294967296'."); _counter++; } } @@ -9585,7 +9585,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneDecrementUnderUInt32MaxValue) != 4294967296) { - Console.WriteLine($"'(ulong)4294967294.0f' was evaluted to '{(ulong)integerOneDecrementUnderUInt32MaxValue}'. Expected: '4294967296'."); + Console.WriteLine($"'(ulong)4294967294.0f' was evaluated to '{(ulong)integerOneDecrementUnderUInt32MaxValue}'. Expected: '4294967296'."); _counter++; } } @@ -9600,7 +9600,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneIncrementAboveUInt32MaxValue) != 4294967296) { - Console.WriteLine($"'(ulong)4294967296.0f' was evaluted to '{(ulong)integerOneIncrementAboveUInt32MaxValue}'. Expected: '4294967296'."); + Console.WriteLine($"'(ulong)4294967296.0f' was evaluated to '{(ulong)integerOneIncrementAboveUInt32MaxValue}'. Expected: '4294967296'."); _counter++; } } @@ -9629,7 +9629,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)int64MaxValue) != 9223372036854775808) { - Console.WriteLine($"'(ulong)9223372036854775807.0f' was evaluted to '{(ulong)int64MaxValue}'. Expected: '9223372036854775808'."); + Console.WriteLine($"'(ulong)9223372036854775807.0f' was evaluated to '{(ulong)int64MaxValue}'. Expected: '9223372036854775808'."); _counter++; } } @@ -9658,7 +9658,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)singleOneDecrementUnderInt64MaxValue) != 9223371487098961920) { - Console.WriteLine($"'(ulong)9.2233715E+18f' was evaluted to '{(ulong)singleOneDecrementUnderInt64MaxValue}'. Expected: '9223371487098961920'."); + Console.WriteLine($"'(ulong)9.2233715E+18f' was evaluated to '{(ulong)singleOneDecrementUnderInt64MaxValue}'. Expected: '9223371487098961920'."); _counter++; } } @@ -9673,7 +9673,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)singleOneIncrementAboveInt64MaxValue) != 9223373136366403584) { - Console.WriteLine($"'(ulong)9.223373E+18f' was evaluted to '{(ulong)singleOneIncrementAboveInt64MaxValue}'. Expected: '9223373136366403584'."); + Console.WriteLine($"'(ulong)9.223373E+18f' was evaluated to '{(ulong)singleOneIncrementAboveInt64MaxValue}'. Expected: '9223373136366403584'."); _counter++; } } @@ -9688,7 +9688,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)singleOneFullIncrementAboveInt64MaxValue) != 9223372036854775808) { - Console.WriteLine($"'(ulong)9.223372E+18f' was evaluted to '{(ulong)singleOneFullIncrementAboveInt64MaxValue}'. Expected: '9223372036854775808'."); + Console.WriteLine($"'(ulong)9.223372E+18f' was evaluated to '{(ulong)singleOneFullIncrementAboveInt64MaxValue}'. Expected: '9223372036854775808'."); _counter++; } } @@ -9717,7 +9717,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneDecrementUnderInt64MaxValue) != 9223372036854775808) { - Console.WriteLine($"'(ulong)9223372036854775806.0f' was evaluted to '{(ulong)integerOneDecrementUnderInt64MaxValue}'. Expected: '9223372036854775808'."); + Console.WriteLine($"'(ulong)9223372036854775806.0f' was evaluated to '{(ulong)integerOneDecrementUnderInt64MaxValue}'. Expected: '9223372036854775808'."); _counter++; } } @@ -9732,7 +9732,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneIncrementAboveInt64MaxValue) != 9223372036854775808) { - Console.WriteLine($"'(ulong)9223372036854775808.0f' was evaluted to '{(ulong)integerOneIncrementAboveInt64MaxValue}'. Expected: '9223372036854775808'."); + Console.WriteLine($"'(ulong)9223372036854775808.0f' was evaluated to '{(ulong)integerOneIncrementAboveInt64MaxValue}'. Expected: '9223372036854775808'."); _counter++; } } @@ -9761,7 +9761,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)singleOneDecrementUnderUInt64MaxValue) != 18446742974197923840) { - Console.WriteLine($"'(ulong)1.8446743E+19f' was evaluted to '{(ulong)singleOneDecrementUnderUInt64MaxValue}'. Expected: '18446742974197923840'."); + Console.WriteLine($"'(ulong)1.8446743E+19f' was evaluated to '{(ulong)singleOneDecrementUnderUInt64MaxValue}'. Expected: '18446742974197923840'."); _counter++; } } diff --git a/src/tests/JIT/Directed/Convert/value_numbering_checked_casts_of_constants_int.cs b/src/tests/JIT/Directed/Convert/value_numbering_checked_casts_of_constants_int.cs index d8a58073fbf..51f0efe0238 100644 --- a/src/tests/JIT/Directed/Convert/value_numbering_checked_casts_of_constants_int.cs +++ b/src/tests/JIT/Directed/Convert/value_numbering_checked_casts_of_constants_int.cs @@ -19,7 +19,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerZero) != 0f) { - Console.WriteLine($"'(float)0' was evaluted to '{(float)integerZero}'. Expected: '0f'."); + Console.WriteLine($"'(float)0' was evaluated to '{(float)integerZero}'. Expected: '0f'."); _counter++; } } @@ -34,7 +34,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)sByteMinValue) != -128f) { - Console.WriteLine($"'(float)-128' was evaluted to '{(float)sByteMinValue}'. Expected: '-128f'."); + Console.WriteLine($"'(float)-128' was evaluated to '{(float)sByteMinValue}'. Expected: '-128f'."); _counter++; } } @@ -49,7 +49,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)sByteMaxValue) != 127f) { - Console.WriteLine($"'(float)127' was evaluted to '{(float)sByteMaxValue}'. Expected: '127f'."); + Console.WriteLine($"'(float)127' was evaluated to '{(float)sByteMaxValue}'. Expected: '127f'."); _counter++; } } @@ -64,7 +64,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneDecrementUnderSByteMinValue) != -129f) { - Console.WriteLine($"'(float)-129' was evaluted to '{(float)integerOneDecrementUnderSByteMinValue}'. Expected: '-129f'."); + Console.WriteLine($"'(float)-129' was evaluated to '{(float)integerOneDecrementUnderSByteMinValue}'. Expected: '-129f'."); _counter++; } } @@ -79,7 +79,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneIncrementAboveSByteMinValue) != -127f) { - Console.WriteLine($"'(float)-127' was evaluted to '{(float)integerOneIncrementAboveSByteMinValue}'. Expected: '-127f'."); + Console.WriteLine($"'(float)-127' was evaluated to '{(float)integerOneIncrementAboveSByteMinValue}'. Expected: '-127f'."); _counter++; } } @@ -94,7 +94,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneDecrementUnderSByteMaxValue) != 126f) { - Console.WriteLine($"'(float)126' was evaluted to '{(float)integerOneDecrementUnderSByteMaxValue}'. Expected: '126f'."); + Console.WriteLine($"'(float)126' was evaluated to '{(float)integerOneDecrementUnderSByteMaxValue}'. Expected: '126f'."); _counter++; } } @@ -109,7 +109,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneIncrementAboveSByteMaxValue) != 128f) { - Console.WriteLine($"'(float)128' was evaluted to '{(float)integerOneIncrementAboveSByteMaxValue}'. Expected: '128f'."); + Console.WriteLine($"'(float)128' was evaluated to '{(float)integerOneIncrementAboveSByteMaxValue}'. Expected: '128f'."); _counter++; } } @@ -124,7 +124,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)byteMaxValue) != 255f) { - Console.WriteLine($"'(float)255' was evaluted to '{(float)byteMaxValue}'. Expected: '255f'."); + Console.WriteLine($"'(float)255' was evaluated to '{(float)byteMaxValue}'. Expected: '255f'."); _counter++; } } @@ -139,7 +139,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneDecrementUnderByteMinValue) != -1f) { - Console.WriteLine($"'(float)-1' was evaluted to '{(float)integerOneDecrementUnderByteMinValue}'. Expected: '-1f'."); + Console.WriteLine($"'(float)-1' was evaluated to '{(float)integerOneDecrementUnderByteMinValue}'. Expected: '-1f'."); _counter++; } } @@ -154,7 +154,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneIncrementAboveByteMinValue) != 1f) { - Console.WriteLine($"'(float)1' was evaluted to '{(float)integerOneIncrementAboveByteMinValue}'. Expected: '1f'."); + Console.WriteLine($"'(float)1' was evaluated to '{(float)integerOneIncrementAboveByteMinValue}'. Expected: '1f'."); _counter++; } } @@ -169,7 +169,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneDecrementUnderByteMaxValue) != 254f) { - Console.WriteLine($"'(float)254' was evaluted to '{(float)integerOneDecrementUnderByteMaxValue}'. Expected: '254f'."); + Console.WriteLine($"'(float)254' was evaluated to '{(float)integerOneDecrementUnderByteMaxValue}'. Expected: '254f'."); _counter++; } } @@ -184,7 +184,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneIncrementAboveByteMaxValue) != 256f) { - Console.WriteLine($"'(float)256' was evaluted to '{(float)integerOneIncrementAboveByteMaxValue}'. Expected: '256f'."); + Console.WriteLine($"'(float)256' was evaluated to '{(float)integerOneIncrementAboveByteMaxValue}'. Expected: '256f'."); _counter++; } } @@ -199,7 +199,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)int16MinValue) != -32768f) { - Console.WriteLine($"'(float)-32768' was evaluted to '{(float)int16MinValue}'. Expected: '-32768f'."); + Console.WriteLine($"'(float)-32768' was evaluated to '{(float)int16MinValue}'. Expected: '-32768f'."); _counter++; } } @@ -214,7 +214,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)int16MaxValue) != 32767f) { - Console.WriteLine($"'(float)32767' was evaluted to '{(float)int16MaxValue}'. Expected: '32767f'."); + Console.WriteLine($"'(float)32767' was evaluated to '{(float)int16MaxValue}'. Expected: '32767f'."); _counter++; } } @@ -229,7 +229,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneDecrementUnderInt16MinValue) != -32769f) { - Console.WriteLine($"'(float)-32769' was evaluted to '{(float)integerOneDecrementUnderInt16MinValue}'. Expected: '-32769f'."); + Console.WriteLine($"'(float)-32769' was evaluated to '{(float)integerOneDecrementUnderInt16MinValue}'. Expected: '-32769f'."); _counter++; } } @@ -244,7 +244,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneIncrementAboveInt16MinValue) != -32767f) { - Console.WriteLine($"'(float)-32767' was evaluted to '{(float)integerOneIncrementAboveInt16MinValue}'. Expected: '-32767f'."); + Console.WriteLine($"'(float)-32767' was evaluated to '{(float)integerOneIncrementAboveInt16MinValue}'. Expected: '-32767f'."); _counter++; } } @@ -259,7 +259,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneDecrementUnderInt16MaxValue) != 32766f) { - Console.WriteLine($"'(float)32766' was evaluted to '{(float)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766f'."); + Console.WriteLine($"'(float)32766' was evaluated to '{(float)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766f'."); _counter++; } } @@ -274,7 +274,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneIncrementAboveInt16MaxValue) != 32768f) { - Console.WriteLine($"'(float)32768' was evaluted to '{(float)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768f'."); + Console.WriteLine($"'(float)32768' was evaluated to '{(float)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768f'."); _counter++; } } @@ -289,7 +289,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)uInt16MaxValue) != 65535f) { - Console.WriteLine($"'(float)65535' was evaluted to '{(float)uInt16MaxValue}'. Expected: '65535f'."); + Console.WriteLine($"'(float)65535' was evaluated to '{(float)uInt16MaxValue}'. Expected: '65535f'."); _counter++; } } @@ -304,7 +304,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneDecrementUnderUInt16MaxValue) != 65534f) { - Console.WriteLine($"'(float)65534' was evaluted to '{(float)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534f'."); + Console.WriteLine($"'(float)65534' was evaluated to '{(float)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534f'."); _counter++; } } @@ -319,7 +319,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneIncrementAboveUInt16MaxValue) != 65536f) { - Console.WriteLine($"'(float)65536' was evaluted to '{(float)integerOneIncrementAboveUInt16MaxValue}'. Expected: '65536f'."); + Console.WriteLine($"'(float)65536' was evaluated to '{(float)integerOneIncrementAboveUInt16MaxValue}'. Expected: '65536f'."); _counter++; } } @@ -334,7 +334,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)int32MinValue) != -2.1474836E+09f) { - Console.WriteLine($"'(float)-2147483648' was evaluted to '{(float)int32MinValue}'. Expected: '-2.1474836E+09f'."); + Console.WriteLine($"'(float)-2147483648' was evaluated to '{(float)int32MinValue}'. Expected: '-2.1474836E+09f'."); _counter++; } } @@ -349,7 +349,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)int32MaxValue) != 2.1474836E+09f) { - Console.WriteLine($"'(float)2147483647' was evaluted to '{(float)int32MaxValue}'. Expected: '2.1474836E+09f'."); + Console.WriteLine($"'(float)2147483647' was evaluated to '{(float)int32MaxValue}'. Expected: '2.1474836E+09f'."); _counter++; } } @@ -364,7 +364,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneIncrementAboveInt32MinValue) != -2.1474836E+09f) { - Console.WriteLine($"'(float)-2147483647' was evaluted to '{(float)integerOneIncrementAboveInt32MinValue}'. Expected: '-2.1474836E+09f'."); + Console.WriteLine($"'(float)-2147483647' was evaluated to '{(float)integerOneIncrementAboveInt32MinValue}'. Expected: '-2.1474836E+09f'."); _counter++; } } @@ -379,7 +379,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneDecrementUnderInt32MaxValue) != 2.1474836E+09f) { - Console.WriteLine($"'(float)2147483646' was evaluted to '{(float)integerOneDecrementUnderInt32MaxValue}'. Expected: '2.1474836E+09f'."); + Console.WriteLine($"'(float)2147483646' was evaluated to '{(float)integerOneDecrementUnderInt32MaxValue}'. Expected: '2.1474836E+09f'."); _counter++; } } @@ -398,7 +398,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerZero) != 0d) { - Console.WriteLine($"'(double)0' was evaluted to '{(double)integerZero}'. Expected: '0d'."); + Console.WriteLine($"'(double)0' was evaluated to '{(double)integerZero}'. Expected: '0d'."); _counter++; } } @@ -413,7 +413,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)sByteMinValue) != -128d) { - Console.WriteLine($"'(double)-128' was evaluted to '{(double)sByteMinValue}'. Expected: '-128d'."); + Console.WriteLine($"'(double)-128' was evaluated to '{(double)sByteMinValue}'. Expected: '-128d'."); _counter++; } } @@ -428,7 +428,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)sByteMaxValue) != 127d) { - Console.WriteLine($"'(double)127' was evaluted to '{(double)sByteMaxValue}'. Expected: '127d'."); + Console.WriteLine($"'(double)127' was evaluated to '{(double)sByteMaxValue}'. Expected: '127d'."); _counter++; } } @@ -443,7 +443,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneDecrementUnderSByteMinValue) != -129d) { - Console.WriteLine($"'(double)-129' was evaluted to '{(double)integerOneDecrementUnderSByteMinValue}'. Expected: '-129d'."); + Console.WriteLine($"'(double)-129' was evaluated to '{(double)integerOneDecrementUnderSByteMinValue}'. Expected: '-129d'."); _counter++; } } @@ -458,7 +458,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneIncrementAboveSByteMinValue) != -127d) { - Console.WriteLine($"'(double)-127' was evaluted to '{(double)integerOneIncrementAboveSByteMinValue}'. Expected: '-127d'."); + Console.WriteLine($"'(double)-127' was evaluated to '{(double)integerOneIncrementAboveSByteMinValue}'. Expected: '-127d'."); _counter++; } } @@ -473,7 +473,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneDecrementUnderSByteMaxValue) != 126d) { - Console.WriteLine($"'(double)126' was evaluted to '{(double)integerOneDecrementUnderSByteMaxValue}'. Expected: '126d'."); + Console.WriteLine($"'(double)126' was evaluated to '{(double)integerOneDecrementUnderSByteMaxValue}'. Expected: '126d'."); _counter++; } } @@ -488,7 +488,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneIncrementAboveSByteMaxValue) != 128d) { - Console.WriteLine($"'(double)128' was evaluted to '{(double)integerOneIncrementAboveSByteMaxValue}'. Expected: '128d'."); + Console.WriteLine($"'(double)128' was evaluated to '{(double)integerOneIncrementAboveSByteMaxValue}'. Expected: '128d'."); _counter++; } } @@ -503,7 +503,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)byteMaxValue) != 255d) { - Console.WriteLine($"'(double)255' was evaluted to '{(double)byteMaxValue}'. Expected: '255d'."); + Console.WriteLine($"'(double)255' was evaluated to '{(double)byteMaxValue}'. Expected: '255d'."); _counter++; } } @@ -518,7 +518,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneDecrementUnderByteMinValue) != -1d) { - Console.WriteLine($"'(double)-1' was evaluted to '{(double)integerOneDecrementUnderByteMinValue}'. Expected: '-1d'."); + Console.WriteLine($"'(double)-1' was evaluated to '{(double)integerOneDecrementUnderByteMinValue}'. Expected: '-1d'."); _counter++; } } @@ -533,7 +533,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneIncrementAboveByteMinValue) != 1d) { - Console.WriteLine($"'(double)1' was evaluted to '{(double)integerOneIncrementAboveByteMinValue}'. Expected: '1d'."); + Console.WriteLine($"'(double)1' was evaluated to '{(double)integerOneIncrementAboveByteMinValue}'. Expected: '1d'."); _counter++; } } @@ -548,7 +548,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneDecrementUnderByteMaxValue) != 254d) { - Console.WriteLine($"'(double)254' was evaluted to '{(double)integerOneDecrementUnderByteMaxValue}'. Expected: '254d'."); + Console.WriteLine($"'(double)254' was evaluated to '{(double)integerOneDecrementUnderByteMaxValue}'. Expected: '254d'."); _counter++; } } @@ -563,7 +563,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneIncrementAboveByteMaxValue) != 256d) { - Console.WriteLine($"'(double)256' was evaluted to '{(double)integerOneIncrementAboveByteMaxValue}'. Expected: '256d'."); + Console.WriteLine($"'(double)256' was evaluated to '{(double)integerOneIncrementAboveByteMaxValue}'. Expected: '256d'."); _counter++; } } @@ -578,7 +578,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)int16MinValue) != -32768d) { - Console.WriteLine($"'(double)-32768' was evaluted to '{(double)int16MinValue}'. Expected: '-32768d'."); + Console.WriteLine($"'(double)-32768' was evaluated to '{(double)int16MinValue}'. Expected: '-32768d'."); _counter++; } } @@ -593,7 +593,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)int16MaxValue) != 32767d) { - Console.WriteLine($"'(double)32767' was evaluted to '{(double)int16MaxValue}'. Expected: '32767d'."); + Console.WriteLine($"'(double)32767' was evaluated to '{(double)int16MaxValue}'. Expected: '32767d'."); _counter++; } } @@ -608,7 +608,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneDecrementUnderInt16MinValue) != -32769d) { - Console.WriteLine($"'(double)-32769' was evaluted to '{(double)integerOneDecrementUnderInt16MinValue}'. Expected: '-32769d'."); + Console.WriteLine($"'(double)-32769' was evaluated to '{(double)integerOneDecrementUnderInt16MinValue}'. Expected: '-32769d'."); _counter++; } } @@ -623,7 +623,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneIncrementAboveInt16MinValue) != -32767d) { - Console.WriteLine($"'(double)-32767' was evaluted to '{(double)integerOneIncrementAboveInt16MinValue}'. Expected: '-32767d'."); + Console.WriteLine($"'(double)-32767' was evaluated to '{(double)integerOneIncrementAboveInt16MinValue}'. Expected: '-32767d'."); _counter++; } } @@ -638,7 +638,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneDecrementUnderInt16MaxValue) != 32766d) { - Console.WriteLine($"'(double)32766' was evaluted to '{(double)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766d'."); + Console.WriteLine($"'(double)32766' was evaluated to '{(double)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766d'."); _counter++; } } @@ -653,7 +653,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneIncrementAboveInt16MaxValue) != 32768d) { - Console.WriteLine($"'(double)32768' was evaluted to '{(double)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768d'."); + Console.WriteLine($"'(double)32768' was evaluated to '{(double)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768d'."); _counter++; } } @@ -668,7 +668,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)uInt16MaxValue) != 65535d) { - Console.WriteLine($"'(double)65535' was evaluted to '{(double)uInt16MaxValue}'. Expected: '65535d'."); + Console.WriteLine($"'(double)65535' was evaluated to '{(double)uInt16MaxValue}'. Expected: '65535d'."); _counter++; } } @@ -683,7 +683,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneDecrementUnderUInt16MaxValue) != 65534d) { - Console.WriteLine($"'(double)65534' was evaluted to '{(double)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534d'."); + Console.WriteLine($"'(double)65534' was evaluated to '{(double)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534d'."); _counter++; } } @@ -698,7 +698,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneIncrementAboveUInt16MaxValue) != 65536d) { - Console.WriteLine($"'(double)65536' was evaluted to '{(double)integerOneIncrementAboveUInt16MaxValue}'. Expected: '65536d'."); + Console.WriteLine($"'(double)65536' was evaluated to '{(double)integerOneIncrementAboveUInt16MaxValue}'. Expected: '65536d'."); _counter++; } } @@ -713,7 +713,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)int32MinValue) != -2147483648d) { - Console.WriteLine($"'(double)-2147483648' was evaluted to '{(double)int32MinValue}'. Expected: '-2147483648d'."); + Console.WriteLine($"'(double)-2147483648' was evaluated to '{(double)int32MinValue}'. Expected: '-2147483648d'."); _counter++; } } @@ -728,7 +728,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)int32MaxValue) != 2147483647d) { - Console.WriteLine($"'(double)2147483647' was evaluted to '{(double)int32MaxValue}'. Expected: '2147483647d'."); + Console.WriteLine($"'(double)2147483647' was evaluated to '{(double)int32MaxValue}'. Expected: '2147483647d'."); _counter++; } } @@ -743,7 +743,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneIncrementAboveInt32MinValue) != -2147483647d) { - Console.WriteLine($"'(double)-2147483647' was evaluted to '{(double)integerOneIncrementAboveInt32MinValue}'. Expected: '-2147483647d'."); + Console.WriteLine($"'(double)-2147483647' was evaluated to '{(double)integerOneIncrementAboveInt32MinValue}'. Expected: '-2147483647d'."); _counter++; } } @@ -758,7 +758,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneDecrementUnderInt32MaxValue) != 2147483646d) { - Console.WriteLine($"'(double)2147483646' was evaluted to '{(double)integerOneDecrementUnderInt32MaxValue}'. Expected: '2147483646d'."); + Console.WriteLine($"'(double)2147483646' was evaluated to '{(double)integerOneDecrementUnderInt32MaxValue}'. Expected: '2147483646d'."); _counter++; } } @@ -777,7 +777,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)integerZero) != 0) { - Console.WriteLine($"'(sbyte)0' was evaluted to '{(sbyte)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(sbyte)0' was evaluated to '{(sbyte)integerZero}'. Expected: '0'."); _counter++; } } @@ -792,7 +792,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)sByteMinValue) != -128) { - Console.WriteLine($"'(sbyte)-128' was evaluted to '{(sbyte)sByteMinValue}'. Expected: '-128'."); + Console.WriteLine($"'(sbyte)-128' was evaluated to '{(sbyte)sByteMinValue}'. Expected: '-128'."); _counter++; } } @@ -807,7 +807,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)sByteMaxValue) != 127) { - Console.WriteLine($"'(sbyte)127' was evaluted to '{(sbyte)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(sbyte)127' was evaluated to '{(sbyte)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -836,7 +836,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)integerOneIncrementAboveSByteMinValue) != -127) { - Console.WriteLine($"'(sbyte)-127' was evaluted to '{(sbyte)integerOneIncrementAboveSByteMinValue}'. Expected: '-127'."); + Console.WriteLine($"'(sbyte)-127' was evaluated to '{(sbyte)integerOneIncrementAboveSByteMinValue}'. Expected: '-127'."); _counter++; } } @@ -851,7 +851,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(sbyte)126' was evaluted to '{(sbyte)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(sbyte)126' was evaluated to '{(sbyte)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -894,7 +894,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)integerOneDecrementUnderByteMinValue) != -1) { - Console.WriteLine($"'(sbyte)-1' was evaluted to '{(sbyte)integerOneDecrementUnderByteMinValue}'. Expected: '-1'."); + Console.WriteLine($"'(sbyte)-1' was evaluated to '{(sbyte)integerOneDecrementUnderByteMinValue}'. Expected: '-1'."); _counter++; } } @@ -909,7 +909,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(sbyte)1' was evaluted to '{(sbyte)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(sbyte)1' was evaluated to '{(sbyte)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -1138,7 +1138,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)integerZero) != 0) { - Console.WriteLine($"'(byte)0' was evaluted to '{(byte)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(byte)0' was evaluated to '{(byte)integerZero}'. Expected: '0'."); _counter++; } } @@ -1167,7 +1167,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)sByteMaxValue) != 127) { - Console.WriteLine($"'(byte)127' was evaluted to '{(byte)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(byte)127' was evaluated to '{(byte)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -1210,7 +1210,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(byte)126' was evaluted to '{(byte)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(byte)126' was evaluated to '{(byte)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -1225,7 +1225,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)integerOneIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(byte)128' was evaluted to '{(byte)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(byte)128' was evaluated to '{(byte)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -1240,7 +1240,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)byteMaxValue) != 255) { - Console.WriteLine($"'(byte)255' was evaluted to '{(byte)byteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(byte)255' was evaluated to '{(byte)byteMaxValue}'. Expected: '255'."); _counter++; } } @@ -1269,7 +1269,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(byte)1' was evaluted to '{(byte)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(byte)1' was evaluated to '{(byte)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -1284,7 +1284,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)integerOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(byte)254' was evaluted to '{(byte)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(byte)254' was evaluated to '{(byte)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -1499,7 +1499,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerZero) != 0) { - Console.WriteLine($"'(short)0' was evaluted to '{(short)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(short)0' was evaluated to '{(short)integerZero}'. Expected: '0'."); _counter++; } } @@ -1514,7 +1514,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)sByteMinValue) != -128) { - Console.WriteLine($"'(short)-128' was evaluted to '{(short)sByteMinValue}'. Expected: '-128'."); + Console.WriteLine($"'(short)-128' was evaluated to '{(short)sByteMinValue}'. Expected: '-128'."); _counter++; } } @@ -1529,7 +1529,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)sByteMaxValue) != 127) { - Console.WriteLine($"'(short)127' was evaluted to '{(short)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(short)127' was evaluated to '{(short)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -1544,7 +1544,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneDecrementUnderSByteMinValue) != -129) { - Console.WriteLine($"'(short)-129' was evaluted to '{(short)integerOneDecrementUnderSByteMinValue}'. Expected: '-129'."); + Console.WriteLine($"'(short)-129' was evaluated to '{(short)integerOneDecrementUnderSByteMinValue}'. Expected: '-129'."); _counter++; } } @@ -1559,7 +1559,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneIncrementAboveSByteMinValue) != -127) { - Console.WriteLine($"'(short)-127' was evaluted to '{(short)integerOneIncrementAboveSByteMinValue}'. Expected: '-127'."); + Console.WriteLine($"'(short)-127' was evaluated to '{(short)integerOneIncrementAboveSByteMinValue}'. Expected: '-127'."); _counter++; } } @@ -1574,7 +1574,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(short)126' was evaluted to '{(short)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(short)126' was evaluated to '{(short)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -1589,7 +1589,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(short)128' was evaluted to '{(short)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(short)128' was evaluated to '{(short)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -1604,7 +1604,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)byteMaxValue) != 255) { - Console.WriteLine($"'(short)255' was evaluted to '{(short)byteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(short)255' was evaluated to '{(short)byteMaxValue}'. Expected: '255'."); _counter++; } } @@ -1619,7 +1619,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneDecrementUnderByteMinValue) != -1) { - Console.WriteLine($"'(short)-1' was evaluted to '{(short)integerOneDecrementUnderByteMinValue}'. Expected: '-1'."); + Console.WriteLine($"'(short)-1' was evaluated to '{(short)integerOneDecrementUnderByteMinValue}'. Expected: '-1'."); _counter++; } } @@ -1634,7 +1634,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(short)1' was evaluted to '{(short)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(short)1' was evaluated to '{(short)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -1649,7 +1649,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(short)254' was evaluted to '{(short)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(short)254' was evaluated to '{(short)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -1664,7 +1664,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneIncrementAboveByteMaxValue) != 256) { - Console.WriteLine($"'(short)256' was evaluted to '{(short)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); + Console.WriteLine($"'(short)256' was evaluated to '{(short)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); _counter++; } } @@ -1679,7 +1679,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)int16MinValue) != -32768) { - Console.WriteLine($"'(short)-32768' was evaluted to '{(short)int16MinValue}'. Expected: '-32768'."); + Console.WriteLine($"'(short)-32768' was evaluated to '{(short)int16MinValue}'. Expected: '-32768'."); _counter++; } } @@ -1694,7 +1694,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)int16MaxValue) != 32767) { - Console.WriteLine($"'(short)32767' was evaluted to '{(short)int16MaxValue}'. Expected: '32767'."); + Console.WriteLine($"'(short)32767' was evaluated to '{(short)int16MaxValue}'. Expected: '32767'."); _counter++; } } @@ -1723,7 +1723,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneIncrementAboveInt16MinValue) != -32767) { - Console.WriteLine($"'(short)-32767' was evaluted to '{(short)integerOneIncrementAboveInt16MinValue}'. Expected: '-32767'."); + Console.WriteLine($"'(short)-32767' was evaluated to '{(short)integerOneIncrementAboveInt16MinValue}'. Expected: '-32767'."); _counter++; } } @@ -1738,7 +1738,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneDecrementUnderInt16MaxValue) != 32766) { - Console.WriteLine($"'(short)32766' was evaluted to '{(short)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); + Console.WriteLine($"'(short)32766' was evaluated to '{(short)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); _counter++; } } @@ -1869,7 +1869,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerZero) != 0) { - Console.WriteLine($"'(ushort)0' was evaluted to '{(ushort)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(ushort)0' was evaluated to '{(ushort)integerZero}'. Expected: '0'."); _counter++; } } @@ -1898,7 +1898,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)sByteMaxValue) != 127) { - Console.WriteLine($"'(ushort)127' was evaluted to '{(ushort)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(ushort)127' was evaluated to '{(ushort)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -1941,7 +1941,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(ushort)126' was evaluted to '{(ushort)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(ushort)126' was evaluated to '{(ushort)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -1956,7 +1956,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerOneIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(ushort)128' was evaluted to '{(ushort)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(ushort)128' was evaluated to '{(ushort)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -1971,7 +1971,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)byteMaxValue) != 255) { - Console.WriteLine($"'(ushort)255' was evaluted to '{(ushort)byteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(ushort)255' was evaluated to '{(ushort)byteMaxValue}'. Expected: '255'."); _counter++; } } @@ -2000,7 +2000,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(ushort)1' was evaluted to '{(ushort)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(ushort)1' was evaluated to '{(ushort)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -2015,7 +2015,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(ushort)254' was evaluted to '{(ushort)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(ushort)254' was evaluated to '{(ushort)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -2030,7 +2030,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerOneIncrementAboveByteMaxValue) != 256) { - Console.WriteLine($"'(ushort)256' was evaluted to '{(ushort)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); + Console.WriteLine($"'(ushort)256' was evaluated to '{(ushort)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); _counter++; } } @@ -2059,7 +2059,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)int16MaxValue) != 32767) { - Console.WriteLine($"'(ushort)32767' was evaluted to '{(ushort)int16MaxValue}'. Expected: '32767'."); + Console.WriteLine($"'(ushort)32767' was evaluated to '{(ushort)int16MaxValue}'. Expected: '32767'."); _counter++; } } @@ -2102,7 +2102,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerOneDecrementUnderInt16MaxValue) != 32766) { - Console.WriteLine($"'(ushort)32766' was evaluted to '{(ushort)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); + Console.WriteLine($"'(ushort)32766' was evaluated to '{(ushort)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); _counter++; } } @@ -2117,7 +2117,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerOneIncrementAboveInt16MaxValue) != 32768) { - Console.WriteLine($"'(ushort)32768' was evaluted to '{(ushort)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768'."); + Console.WriteLine($"'(ushort)32768' was evaluated to '{(ushort)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768'."); _counter++; } } @@ -2132,7 +2132,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)uInt16MaxValue) != 65535) { - Console.WriteLine($"'(ushort)65535' was evaluted to '{(ushort)uInt16MaxValue}'. Expected: '65535'."); + Console.WriteLine($"'(ushort)65535' was evaluated to '{(ushort)uInt16MaxValue}'. Expected: '65535'."); _counter++; } } @@ -2147,7 +2147,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerOneDecrementUnderUInt16MaxValue) != 65534) { - Console.WriteLine($"'(ushort)65534' was evaluted to '{(ushort)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); + Console.WriteLine($"'(ushort)65534' was evaluated to '{(ushort)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); _counter++; } } @@ -2236,7 +2236,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerZero) != 0) { - Console.WriteLine($"'(int)0' was evaluted to '{(int)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(int)0' was evaluated to '{(int)integerZero}'. Expected: '0'."); _counter++; } } @@ -2251,7 +2251,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)sByteMinValue) != -128) { - Console.WriteLine($"'(int)-128' was evaluted to '{(int)sByteMinValue}'. Expected: '-128'."); + Console.WriteLine($"'(int)-128' was evaluated to '{(int)sByteMinValue}'. Expected: '-128'."); _counter++; } } @@ -2266,7 +2266,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)sByteMaxValue) != 127) { - Console.WriteLine($"'(int)127' was evaluted to '{(int)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(int)127' was evaluated to '{(int)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -2281,7 +2281,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneDecrementUnderSByteMinValue) != -129) { - Console.WriteLine($"'(int)-129' was evaluted to '{(int)integerOneDecrementUnderSByteMinValue}'. Expected: '-129'."); + Console.WriteLine($"'(int)-129' was evaluated to '{(int)integerOneDecrementUnderSByteMinValue}'. Expected: '-129'."); _counter++; } } @@ -2296,7 +2296,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneIncrementAboveSByteMinValue) != -127) { - Console.WriteLine($"'(int)-127' was evaluted to '{(int)integerOneIncrementAboveSByteMinValue}'. Expected: '-127'."); + Console.WriteLine($"'(int)-127' was evaluated to '{(int)integerOneIncrementAboveSByteMinValue}'. Expected: '-127'."); _counter++; } } @@ -2311,7 +2311,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(int)126' was evaluted to '{(int)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(int)126' was evaluated to '{(int)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -2326,7 +2326,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(int)128' was evaluted to '{(int)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(int)128' was evaluated to '{(int)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -2341,7 +2341,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)byteMaxValue) != 255) { - Console.WriteLine($"'(int)255' was evaluted to '{(int)byteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(int)255' was evaluated to '{(int)byteMaxValue}'. Expected: '255'."); _counter++; } } @@ -2356,7 +2356,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneDecrementUnderByteMinValue) != -1) { - Console.WriteLine($"'(int)-1' was evaluted to '{(int)integerOneDecrementUnderByteMinValue}'. Expected: '-1'."); + Console.WriteLine($"'(int)-1' was evaluated to '{(int)integerOneDecrementUnderByteMinValue}'. Expected: '-1'."); _counter++; } } @@ -2371,7 +2371,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(int)1' was evaluted to '{(int)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(int)1' was evaluated to '{(int)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -2386,7 +2386,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(int)254' was evaluted to '{(int)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(int)254' was evaluated to '{(int)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -2401,7 +2401,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneIncrementAboveByteMaxValue) != 256) { - Console.WriteLine($"'(int)256' was evaluted to '{(int)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); + Console.WriteLine($"'(int)256' was evaluated to '{(int)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); _counter++; } } @@ -2416,7 +2416,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)int16MinValue) != -32768) { - Console.WriteLine($"'(int)-32768' was evaluted to '{(int)int16MinValue}'. Expected: '-32768'."); + Console.WriteLine($"'(int)-32768' was evaluated to '{(int)int16MinValue}'. Expected: '-32768'."); _counter++; } } @@ -2431,7 +2431,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)int16MaxValue) != 32767) { - Console.WriteLine($"'(int)32767' was evaluted to '{(int)int16MaxValue}'. Expected: '32767'."); + Console.WriteLine($"'(int)32767' was evaluated to '{(int)int16MaxValue}'. Expected: '32767'."); _counter++; } } @@ -2446,7 +2446,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneDecrementUnderInt16MinValue) != -32769) { - Console.WriteLine($"'(int)-32769' was evaluted to '{(int)integerOneDecrementUnderInt16MinValue}'. Expected: '-32769'."); + Console.WriteLine($"'(int)-32769' was evaluated to '{(int)integerOneDecrementUnderInt16MinValue}'. Expected: '-32769'."); _counter++; } } @@ -2461,7 +2461,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneIncrementAboveInt16MinValue) != -32767) { - Console.WriteLine($"'(int)-32767' was evaluted to '{(int)integerOneIncrementAboveInt16MinValue}'. Expected: '-32767'."); + Console.WriteLine($"'(int)-32767' was evaluated to '{(int)integerOneIncrementAboveInt16MinValue}'. Expected: '-32767'."); _counter++; } } @@ -2476,7 +2476,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneDecrementUnderInt16MaxValue) != 32766) { - Console.WriteLine($"'(int)32766' was evaluted to '{(int)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); + Console.WriteLine($"'(int)32766' was evaluated to '{(int)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); _counter++; } } @@ -2491,7 +2491,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneIncrementAboveInt16MaxValue) != 32768) { - Console.WriteLine($"'(int)32768' was evaluted to '{(int)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768'."); + Console.WriteLine($"'(int)32768' was evaluated to '{(int)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768'."); _counter++; } } @@ -2506,7 +2506,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)uInt16MaxValue) != 65535) { - Console.WriteLine($"'(int)65535' was evaluted to '{(int)uInt16MaxValue}'. Expected: '65535'."); + Console.WriteLine($"'(int)65535' was evaluated to '{(int)uInt16MaxValue}'. Expected: '65535'."); _counter++; } } @@ -2521,7 +2521,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneDecrementUnderUInt16MaxValue) != 65534) { - Console.WriteLine($"'(int)65534' was evaluted to '{(int)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); + Console.WriteLine($"'(int)65534' was evaluated to '{(int)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); _counter++; } } @@ -2536,7 +2536,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneIncrementAboveUInt16MaxValue) != 65536) { - Console.WriteLine($"'(int)65536' was evaluted to '{(int)integerOneIncrementAboveUInt16MaxValue}'. Expected: '65536'."); + Console.WriteLine($"'(int)65536' was evaluated to '{(int)integerOneIncrementAboveUInt16MaxValue}'. Expected: '65536'."); _counter++; } } @@ -2551,7 +2551,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)int32MinValue) != -2147483648) { - Console.WriteLine($"'(int)-2147483648' was evaluted to '{(int)int32MinValue}'. Expected: '-2147483648'."); + Console.WriteLine($"'(int)-2147483648' was evaluated to '{(int)int32MinValue}'. Expected: '-2147483648'."); _counter++; } } @@ -2566,7 +2566,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)int32MaxValue) != 2147483647) { - Console.WriteLine($"'(int)2147483647' was evaluted to '{(int)int32MaxValue}'. Expected: '2147483647'."); + Console.WriteLine($"'(int)2147483647' was evaluated to '{(int)int32MaxValue}'. Expected: '2147483647'."); _counter++; } } @@ -2581,7 +2581,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneIncrementAboveInt32MinValue) != -2147483647) { - Console.WriteLine($"'(int)-2147483647' was evaluted to '{(int)integerOneIncrementAboveInt32MinValue}'. Expected: '-2147483647'."); + Console.WriteLine($"'(int)-2147483647' was evaluated to '{(int)integerOneIncrementAboveInt32MinValue}'. Expected: '-2147483647'."); _counter++; } } @@ -2596,7 +2596,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneDecrementUnderInt32MaxValue) != 2147483646) { - Console.WriteLine($"'(int)2147483646' was evaluted to '{(int)integerOneDecrementUnderInt32MaxValue}'. Expected: '2147483646'."); + Console.WriteLine($"'(int)2147483646' was evaluated to '{(int)integerOneDecrementUnderInt32MaxValue}'. Expected: '2147483646'."); _counter++; } } @@ -2615,7 +2615,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerZero) != 0) { - Console.WriteLine($"'(uint)0' was evaluted to '{(uint)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(uint)0' was evaluated to '{(uint)integerZero}'. Expected: '0'."); _counter++; } } @@ -2644,7 +2644,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)sByteMaxValue) != 127) { - Console.WriteLine($"'(uint)127' was evaluted to '{(uint)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(uint)127' was evaluated to '{(uint)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -2687,7 +2687,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(uint)126' was evaluted to '{(uint)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(uint)126' was evaluated to '{(uint)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -2702,7 +2702,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(uint)128' was evaluted to '{(uint)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(uint)128' was evaluated to '{(uint)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -2717,7 +2717,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)byteMaxValue) != 255) { - Console.WriteLine($"'(uint)255' was evaluted to '{(uint)byteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(uint)255' was evaluated to '{(uint)byteMaxValue}'. Expected: '255'."); _counter++; } } @@ -2746,7 +2746,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(uint)1' was evaluted to '{(uint)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(uint)1' was evaluated to '{(uint)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -2761,7 +2761,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(uint)254' was evaluted to '{(uint)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(uint)254' was evaluated to '{(uint)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -2776,7 +2776,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneIncrementAboveByteMaxValue) != 256) { - Console.WriteLine($"'(uint)256' was evaluted to '{(uint)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); + Console.WriteLine($"'(uint)256' was evaluated to '{(uint)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); _counter++; } } @@ -2805,7 +2805,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)int16MaxValue) != 32767) { - Console.WriteLine($"'(uint)32767' was evaluted to '{(uint)int16MaxValue}'. Expected: '32767'."); + Console.WriteLine($"'(uint)32767' was evaluated to '{(uint)int16MaxValue}'. Expected: '32767'."); _counter++; } } @@ -2848,7 +2848,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneDecrementUnderInt16MaxValue) != 32766) { - Console.WriteLine($"'(uint)32766' was evaluted to '{(uint)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); + Console.WriteLine($"'(uint)32766' was evaluated to '{(uint)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); _counter++; } } @@ -2863,7 +2863,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneIncrementAboveInt16MaxValue) != 32768) { - Console.WriteLine($"'(uint)32768' was evaluted to '{(uint)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768'."); + Console.WriteLine($"'(uint)32768' was evaluated to '{(uint)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768'."); _counter++; } } @@ -2878,7 +2878,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)uInt16MaxValue) != 65535) { - Console.WriteLine($"'(uint)65535' was evaluted to '{(uint)uInt16MaxValue}'. Expected: '65535'."); + Console.WriteLine($"'(uint)65535' was evaluated to '{(uint)uInt16MaxValue}'. Expected: '65535'."); _counter++; } } @@ -2893,7 +2893,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneDecrementUnderUInt16MaxValue) != 65534) { - Console.WriteLine($"'(uint)65534' was evaluted to '{(uint)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); + Console.WriteLine($"'(uint)65534' was evaluated to '{(uint)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); _counter++; } } @@ -2908,7 +2908,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneIncrementAboveUInt16MaxValue) != 65536) { - Console.WriteLine($"'(uint)65536' was evaluted to '{(uint)integerOneIncrementAboveUInt16MaxValue}'. Expected: '65536'."); + Console.WriteLine($"'(uint)65536' was evaluated to '{(uint)integerOneIncrementAboveUInt16MaxValue}'. Expected: '65536'."); _counter++; } } @@ -2937,7 +2937,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)int32MaxValue) != 2147483647) { - Console.WriteLine($"'(uint)2147483647' was evaluted to '{(uint)int32MaxValue}'. Expected: '2147483647'."); + Console.WriteLine($"'(uint)2147483647' was evaluated to '{(uint)int32MaxValue}'. Expected: '2147483647'."); _counter++; } } @@ -2966,7 +2966,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneDecrementUnderInt32MaxValue) != 2147483646) { - Console.WriteLine($"'(uint)2147483646' was evaluted to '{(uint)integerOneDecrementUnderInt32MaxValue}'. Expected: '2147483646'."); + Console.WriteLine($"'(uint)2147483646' was evaluated to '{(uint)integerOneDecrementUnderInt32MaxValue}'. Expected: '2147483646'."); _counter++; } } @@ -2985,7 +2985,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerZero) != 0) { - Console.WriteLine($"'(long)0' was evaluted to '{(long)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(long)0' was evaluated to '{(long)integerZero}'. Expected: '0'."); _counter++; } } @@ -3000,7 +3000,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)sByteMinValue) != -128) { - Console.WriteLine($"'(long)-128' was evaluted to '{(long)sByteMinValue}'. Expected: '-128'."); + Console.WriteLine($"'(long)-128' was evaluated to '{(long)sByteMinValue}'. Expected: '-128'."); _counter++; } } @@ -3015,7 +3015,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)sByteMaxValue) != 127) { - Console.WriteLine($"'(long)127' was evaluted to '{(long)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(long)127' was evaluated to '{(long)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -3030,7 +3030,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneDecrementUnderSByteMinValue) != -129) { - Console.WriteLine($"'(long)-129' was evaluted to '{(long)integerOneDecrementUnderSByteMinValue}'. Expected: '-129'."); + Console.WriteLine($"'(long)-129' was evaluated to '{(long)integerOneDecrementUnderSByteMinValue}'. Expected: '-129'."); _counter++; } } @@ -3045,7 +3045,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneIncrementAboveSByteMinValue) != -127) { - Console.WriteLine($"'(long)-127' was evaluted to '{(long)integerOneIncrementAboveSByteMinValue}'. Expected: '-127'."); + Console.WriteLine($"'(long)-127' was evaluated to '{(long)integerOneIncrementAboveSByteMinValue}'. Expected: '-127'."); _counter++; } } @@ -3060,7 +3060,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(long)126' was evaluted to '{(long)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(long)126' was evaluated to '{(long)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -3075,7 +3075,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(long)128' was evaluted to '{(long)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(long)128' was evaluated to '{(long)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -3090,7 +3090,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)byteMaxValue) != 255) { - Console.WriteLine($"'(long)255' was evaluted to '{(long)byteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(long)255' was evaluated to '{(long)byteMaxValue}'. Expected: '255'."); _counter++; } } @@ -3105,7 +3105,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneDecrementUnderByteMinValue) != -1) { - Console.WriteLine($"'(long)-1' was evaluted to '{(long)integerOneDecrementUnderByteMinValue}'. Expected: '-1'."); + Console.WriteLine($"'(long)-1' was evaluated to '{(long)integerOneDecrementUnderByteMinValue}'. Expected: '-1'."); _counter++; } } @@ -3120,7 +3120,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(long)1' was evaluted to '{(long)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(long)1' was evaluated to '{(long)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -3135,7 +3135,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(long)254' was evaluted to '{(long)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(long)254' was evaluated to '{(long)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -3150,7 +3150,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneIncrementAboveByteMaxValue) != 256) { - Console.WriteLine($"'(long)256' was evaluted to '{(long)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); + Console.WriteLine($"'(long)256' was evaluated to '{(long)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); _counter++; } } @@ -3165,7 +3165,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)int16MinValue) != -32768) { - Console.WriteLine($"'(long)-32768' was evaluted to '{(long)int16MinValue}'. Expected: '-32768'."); + Console.WriteLine($"'(long)-32768' was evaluated to '{(long)int16MinValue}'. Expected: '-32768'."); _counter++; } } @@ -3180,7 +3180,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)int16MaxValue) != 32767) { - Console.WriteLine($"'(long)32767' was evaluted to '{(long)int16MaxValue}'. Expected: '32767'."); + Console.WriteLine($"'(long)32767' was evaluated to '{(long)int16MaxValue}'. Expected: '32767'."); _counter++; } } @@ -3195,7 +3195,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneDecrementUnderInt16MinValue) != -32769) { - Console.WriteLine($"'(long)-32769' was evaluted to '{(long)integerOneDecrementUnderInt16MinValue}'. Expected: '-32769'."); + Console.WriteLine($"'(long)-32769' was evaluated to '{(long)integerOneDecrementUnderInt16MinValue}'. Expected: '-32769'."); _counter++; } } @@ -3210,7 +3210,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneIncrementAboveInt16MinValue) != -32767) { - Console.WriteLine($"'(long)-32767' was evaluted to '{(long)integerOneIncrementAboveInt16MinValue}'. Expected: '-32767'."); + Console.WriteLine($"'(long)-32767' was evaluated to '{(long)integerOneIncrementAboveInt16MinValue}'. Expected: '-32767'."); _counter++; } } @@ -3225,7 +3225,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneDecrementUnderInt16MaxValue) != 32766) { - Console.WriteLine($"'(long)32766' was evaluted to '{(long)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); + Console.WriteLine($"'(long)32766' was evaluated to '{(long)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); _counter++; } } @@ -3240,7 +3240,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneIncrementAboveInt16MaxValue) != 32768) { - Console.WriteLine($"'(long)32768' was evaluted to '{(long)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768'."); + Console.WriteLine($"'(long)32768' was evaluated to '{(long)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768'."); _counter++; } } @@ -3255,7 +3255,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)uInt16MaxValue) != 65535) { - Console.WriteLine($"'(long)65535' was evaluted to '{(long)uInt16MaxValue}'. Expected: '65535'."); + Console.WriteLine($"'(long)65535' was evaluated to '{(long)uInt16MaxValue}'. Expected: '65535'."); _counter++; } } @@ -3270,7 +3270,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneDecrementUnderUInt16MaxValue) != 65534) { - Console.WriteLine($"'(long)65534' was evaluted to '{(long)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); + Console.WriteLine($"'(long)65534' was evaluated to '{(long)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); _counter++; } } @@ -3285,7 +3285,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneIncrementAboveUInt16MaxValue) != 65536) { - Console.WriteLine($"'(long)65536' was evaluted to '{(long)integerOneIncrementAboveUInt16MaxValue}'. Expected: '65536'."); + Console.WriteLine($"'(long)65536' was evaluated to '{(long)integerOneIncrementAboveUInt16MaxValue}'. Expected: '65536'."); _counter++; } } @@ -3300,7 +3300,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)int32MinValue) != -2147483648) { - Console.WriteLine($"'(long)-2147483648' was evaluted to '{(long)int32MinValue}'. Expected: '-2147483648'."); + Console.WriteLine($"'(long)-2147483648' was evaluated to '{(long)int32MinValue}'. Expected: '-2147483648'."); _counter++; } } @@ -3315,7 +3315,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)int32MaxValue) != 2147483647) { - Console.WriteLine($"'(long)2147483647' was evaluted to '{(long)int32MaxValue}'. Expected: '2147483647'."); + Console.WriteLine($"'(long)2147483647' was evaluated to '{(long)int32MaxValue}'. Expected: '2147483647'."); _counter++; } } @@ -3330,7 +3330,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneIncrementAboveInt32MinValue) != -2147483647) { - Console.WriteLine($"'(long)-2147483647' was evaluted to '{(long)integerOneIncrementAboveInt32MinValue}'. Expected: '-2147483647'."); + Console.WriteLine($"'(long)-2147483647' was evaluated to '{(long)integerOneIncrementAboveInt32MinValue}'. Expected: '-2147483647'."); _counter++; } } @@ -3345,7 +3345,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneDecrementUnderInt32MaxValue) != 2147483646) { - Console.WriteLine($"'(long)2147483646' was evaluted to '{(long)integerOneDecrementUnderInt32MaxValue}'. Expected: '2147483646'."); + Console.WriteLine($"'(long)2147483646' was evaluated to '{(long)integerOneDecrementUnderInt32MaxValue}'. Expected: '2147483646'."); _counter++; } } @@ -3364,7 +3364,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerZero) != 0) { - Console.WriteLine($"'(ulong)0' was evaluted to '{(ulong)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(ulong)0' was evaluated to '{(ulong)integerZero}'. Expected: '0'."); _counter++; } } @@ -3393,7 +3393,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)sByteMaxValue) != 127) { - Console.WriteLine($"'(ulong)127' was evaluted to '{(ulong)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(ulong)127' was evaluated to '{(ulong)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -3436,7 +3436,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(ulong)126' was evaluted to '{(ulong)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(ulong)126' was evaluated to '{(ulong)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -3451,7 +3451,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(ulong)128' was evaluted to '{(ulong)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(ulong)128' was evaluated to '{(ulong)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -3466,7 +3466,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)byteMaxValue) != 255) { - Console.WriteLine($"'(ulong)255' was evaluted to '{(ulong)byteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(ulong)255' was evaluated to '{(ulong)byteMaxValue}'. Expected: '255'."); _counter++; } } @@ -3495,7 +3495,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(ulong)1' was evaluted to '{(ulong)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(ulong)1' was evaluated to '{(ulong)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -3510,7 +3510,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(ulong)254' was evaluted to '{(ulong)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(ulong)254' was evaluated to '{(ulong)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -3525,7 +3525,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneIncrementAboveByteMaxValue) != 256) { - Console.WriteLine($"'(ulong)256' was evaluted to '{(ulong)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); + Console.WriteLine($"'(ulong)256' was evaluated to '{(ulong)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); _counter++; } } @@ -3554,7 +3554,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)int16MaxValue) != 32767) { - Console.WriteLine($"'(ulong)32767' was evaluted to '{(ulong)int16MaxValue}'. Expected: '32767'."); + Console.WriteLine($"'(ulong)32767' was evaluated to '{(ulong)int16MaxValue}'. Expected: '32767'."); _counter++; } } @@ -3597,7 +3597,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneDecrementUnderInt16MaxValue) != 32766) { - Console.WriteLine($"'(ulong)32766' was evaluted to '{(ulong)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); + Console.WriteLine($"'(ulong)32766' was evaluated to '{(ulong)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); _counter++; } } @@ -3612,7 +3612,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneIncrementAboveInt16MaxValue) != 32768) { - Console.WriteLine($"'(ulong)32768' was evaluted to '{(ulong)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768'."); + Console.WriteLine($"'(ulong)32768' was evaluated to '{(ulong)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768'."); _counter++; } } @@ -3627,7 +3627,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)uInt16MaxValue) != 65535) { - Console.WriteLine($"'(ulong)65535' was evaluted to '{(ulong)uInt16MaxValue}'. Expected: '65535'."); + Console.WriteLine($"'(ulong)65535' was evaluated to '{(ulong)uInt16MaxValue}'. Expected: '65535'."); _counter++; } } @@ -3642,7 +3642,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneDecrementUnderUInt16MaxValue) != 65534) { - Console.WriteLine($"'(ulong)65534' was evaluted to '{(ulong)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); + Console.WriteLine($"'(ulong)65534' was evaluated to '{(ulong)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); _counter++; } } @@ -3657,7 +3657,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneIncrementAboveUInt16MaxValue) != 65536) { - Console.WriteLine($"'(ulong)65536' was evaluted to '{(ulong)integerOneIncrementAboveUInt16MaxValue}'. Expected: '65536'."); + Console.WriteLine($"'(ulong)65536' was evaluated to '{(ulong)integerOneIncrementAboveUInt16MaxValue}'. Expected: '65536'."); _counter++; } } @@ -3686,7 +3686,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)int32MaxValue) != 2147483647) { - Console.WriteLine($"'(ulong)2147483647' was evaluted to '{(ulong)int32MaxValue}'. Expected: '2147483647'."); + Console.WriteLine($"'(ulong)2147483647' was evaluated to '{(ulong)int32MaxValue}'. Expected: '2147483647'."); _counter++; } } @@ -3715,7 +3715,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneDecrementUnderInt32MaxValue) != 2147483646) { - Console.WriteLine($"'(ulong)2147483646' was evaluted to '{(ulong)integerOneDecrementUnderInt32MaxValue}'. Expected: '2147483646'."); + Console.WriteLine($"'(ulong)2147483646' was evaluated to '{(ulong)integerOneDecrementUnderInt32MaxValue}'. Expected: '2147483646'."); _counter++; } } @@ -3734,7 +3734,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerZero) != 0f) { - Console.WriteLine($"'(float)0' was evaluted to '{(float)integerZero}'. Expected: '0f'."); + Console.WriteLine($"'(float)0' was evaluated to '{(float)integerZero}'. Expected: '0f'."); _counter++; } } @@ -3749,7 +3749,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)sByteMaxValue) != 127f) { - Console.WriteLine($"'(float)127' was evaluted to '{(float)sByteMaxValue}'. Expected: '127f'."); + Console.WriteLine($"'(float)127' was evaluated to '{(float)sByteMaxValue}'. Expected: '127f'."); _counter++; } } @@ -3764,7 +3764,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneDecrementUnderSByteMaxValue) != 126f) { - Console.WriteLine($"'(float)126' was evaluted to '{(float)integerOneDecrementUnderSByteMaxValue}'. Expected: '126f'."); + Console.WriteLine($"'(float)126' was evaluated to '{(float)integerOneDecrementUnderSByteMaxValue}'. Expected: '126f'."); _counter++; } } @@ -3779,7 +3779,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneIncrementAboveSByteMaxValue) != 128f) { - Console.WriteLine($"'(float)128' was evaluted to '{(float)integerOneIncrementAboveSByteMaxValue}'. Expected: '128f'."); + Console.WriteLine($"'(float)128' was evaluated to '{(float)integerOneIncrementAboveSByteMaxValue}'. Expected: '128f'."); _counter++; } } @@ -3794,7 +3794,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)byteMaxValue) != 255f) { - Console.WriteLine($"'(float)255' was evaluted to '{(float)byteMaxValue}'. Expected: '255f'."); + Console.WriteLine($"'(float)255' was evaluated to '{(float)byteMaxValue}'. Expected: '255f'."); _counter++; } } @@ -3809,7 +3809,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneIncrementAboveByteMinValue) != 1f) { - Console.WriteLine($"'(float)1' was evaluted to '{(float)integerOneIncrementAboveByteMinValue}'. Expected: '1f'."); + Console.WriteLine($"'(float)1' was evaluated to '{(float)integerOneIncrementAboveByteMinValue}'. Expected: '1f'."); _counter++; } } @@ -3824,7 +3824,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneDecrementUnderByteMaxValue) != 254f) { - Console.WriteLine($"'(float)254' was evaluted to '{(float)integerOneDecrementUnderByteMaxValue}'. Expected: '254f'."); + Console.WriteLine($"'(float)254' was evaluated to '{(float)integerOneDecrementUnderByteMaxValue}'. Expected: '254f'."); _counter++; } } @@ -3839,7 +3839,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneIncrementAboveByteMaxValue) != 256f) { - Console.WriteLine($"'(float)256' was evaluted to '{(float)integerOneIncrementAboveByteMaxValue}'. Expected: '256f'."); + Console.WriteLine($"'(float)256' was evaluated to '{(float)integerOneIncrementAboveByteMaxValue}'. Expected: '256f'."); _counter++; } } @@ -3854,7 +3854,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)int16MaxValue) != 32767f) { - Console.WriteLine($"'(float)32767' was evaluted to '{(float)int16MaxValue}'. Expected: '32767f'."); + Console.WriteLine($"'(float)32767' was evaluated to '{(float)int16MaxValue}'. Expected: '32767f'."); _counter++; } } @@ -3869,7 +3869,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneDecrementUnderInt16MaxValue) != 32766f) { - Console.WriteLine($"'(float)32766' was evaluted to '{(float)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766f'."); + Console.WriteLine($"'(float)32766' was evaluated to '{(float)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766f'."); _counter++; } } @@ -3884,7 +3884,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneIncrementAboveInt16MaxValue) != 32768f) { - Console.WriteLine($"'(float)32768' was evaluted to '{(float)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768f'."); + Console.WriteLine($"'(float)32768' was evaluated to '{(float)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768f'."); _counter++; } } @@ -3899,7 +3899,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)uInt16MaxValue) != 65535f) { - Console.WriteLine($"'(float)65535' was evaluted to '{(float)uInt16MaxValue}'. Expected: '65535f'."); + Console.WriteLine($"'(float)65535' was evaluated to '{(float)uInt16MaxValue}'. Expected: '65535f'."); _counter++; } } @@ -3914,7 +3914,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneDecrementUnderUInt16MaxValue) != 65534f) { - Console.WriteLine($"'(float)65534' was evaluted to '{(float)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534f'."); + Console.WriteLine($"'(float)65534' was evaluated to '{(float)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534f'."); _counter++; } } @@ -3929,7 +3929,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneIncrementAboveUInt16MaxValue) != 65536f) { - Console.WriteLine($"'(float)65536' was evaluted to '{(float)integerOneIncrementAboveUInt16MaxValue}'. Expected: '65536f'."); + Console.WriteLine($"'(float)65536' was evaluated to '{(float)integerOneIncrementAboveUInt16MaxValue}'. Expected: '65536f'."); _counter++; } } @@ -3944,7 +3944,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)int32MaxValue) != 2.1474836E+09f) { - Console.WriteLine($"'(float)2147483647' was evaluted to '{(float)int32MaxValue}'. Expected: '2.1474836E+09f'."); + Console.WriteLine($"'(float)2147483647' was evaluated to '{(float)int32MaxValue}'. Expected: '2.1474836E+09f'."); _counter++; } } @@ -3959,7 +3959,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneDecrementUnderInt32MaxValue) != 2.1474836E+09f) { - Console.WriteLine($"'(float)2147483646' was evaluted to '{(float)integerOneDecrementUnderInt32MaxValue}'. Expected: '2.1474836E+09f'."); + Console.WriteLine($"'(float)2147483646' was evaluated to '{(float)integerOneDecrementUnderInt32MaxValue}'. Expected: '2.1474836E+09f'."); _counter++; } } @@ -3974,7 +3974,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneIncrementAboveInt32MaxValue) != 2.1474836E+09f) { - Console.WriteLine($"'(float)2147483648' was evaluted to '{(float)integerOneIncrementAboveInt32MaxValue}'. Expected: '2.1474836E+09f'."); + Console.WriteLine($"'(float)2147483648' was evaluated to '{(float)integerOneIncrementAboveInt32MaxValue}'. Expected: '2.1474836E+09f'."); _counter++; } } @@ -3989,7 +3989,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)uInt32MaxValue) != 4.2949673E+09f) { - Console.WriteLine($"'(float)4294967295' was evaluted to '{(float)uInt32MaxValue}'. Expected: '4.2949673E+09f'."); + Console.WriteLine($"'(float)4294967295' was evaluated to '{(float)uInt32MaxValue}'. Expected: '4.2949673E+09f'."); _counter++; } } @@ -4004,7 +4004,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneDecrementUnderUInt32MaxValue) != 4.2949673E+09f) { - Console.WriteLine($"'(float)4294967294' was evaluted to '{(float)integerOneDecrementUnderUInt32MaxValue}'. Expected: '4.2949673E+09f'."); + Console.WriteLine($"'(float)4294967294' was evaluated to '{(float)integerOneDecrementUnderUInt32MaxValue}'. Expected: '4.2949673E+09f'."); _counter++; } } @@ -4023,7 +4023,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerZero) != 0d) { - Console.WriteLine($"'(double)0' was evaluted to '{(double)integerZero}'. Expected: '0d'."); + Console.WriteLine($"'(double)0' was evaluated to '{(double)integerZero}'. Expected: '0d'."); _counter++; } } @@ -4038,7 +4038,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)sByteMaxValue) != 127d) { - Console.WriteLine($"'(double)127' was evaluted to '{(double)sByteMaxValue}'. Expected: '127d'."); + Console.WriteLine($"'(double)127' was evaluated to '{(double)sByteMaxValue}'. Expected: '127d'."); _counter++; } } @@ -4053,7 +4053,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneDecrementUnderSByteMaxValue) != 126d) { - Console.WriteLine($"'(double)126' was evaluted to '{(double)integerOneDecrementUnderSByteMaxValue}'. Expected: '126d'."); + Console.WriteLine($"'(double)126' was evaluated to '{(double)integerOneDecrementUnderSByteMaxValue}'. Expected: '126d'."); _counter++; } } @@ -4068,7 +4068,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneIncrementAboveSByteMaxValue) != 128d) { - Console.WriteLine($"'(double)128' was evaluted to '{(double)integerOneIncrementAboveSByteMaxValue}'. Expected: '128d'."); + Console.WriteLine($"'(double)128' was evaluated to '{(double)integerOneIncrementAboveSByteMaxValue}'. Expected: '128d'."); _counter++; } } @@ -4083,7 +4083,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)byteMaxValue) != 255d) { - Console.WriteLine($"'(double)255' was evaluted to '{(double)byteMaxValue}'. Expected: '255d'."); + Console.WriteLine($"'(double)255' was evaluated to '{(double)byteMaxValue}'. Expected: '255d'."); _counter++; } } @@ -4098,7 +4098,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneIncrementAboveByteMinValue) != 1d) { - Console.WriteLine($"'(double)1' was evaluted to '{(double)integerOneIncrementAboveByteMinValue}'. Expected: '1d'."); + Console.WriteLine($"'(double)1' was evaluated to '{(double)integerOneIncrementAboveByteMinValue}'. Expected: '1d'."); _counter++; } } @@ -4113,7 +4113,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneDecrementUnderByteMaxValue) != 254d) { - Console.WriteLine($"'(double)254' was evaluted to '{(double)integerOneDecrementUnderByteMaxValue}'. Expected: '254d'."); + Console.WriteLine($"'(double)254' was evaluated to '{(double)integerOneDecrementUnderByteMaxValue}'. Expected: '254d'."); _counter++; } } @@ -4128,7 +4128,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneIncrementAboveByteMaxValue) != 256d) { - Console.WriteLine($"'(double)256' was evaluted to '{(double)integerOneIncrementAboveByteMaxValue}'. Expected: '256d'."); + Console.WriteLine($"'(double)256' was evaluated to '{(double)integerOneIncrementAboveByteMaxValue}'. Expected: '256d'."); _counter++; } } @@ -4143,7 +4143,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)int16MaxValue) != 32767d) { - Console.WriteLine($"'(double)32767' was evaluted to '{(double)int16MaxValue}'. Expected: '32767d'."); + Console.WriteLine($"'(double)32767' was evaluated to '{(double)int16MaxValue}'. Expected: '32767d'."); _counter++; } } @@ -4158,7 +4158,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneDecrementUnderInt16MaxValue) != 32766d) { - Console.WriteLine($"'(double)32766' was evaluted to '{(double)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766d'."); + Console.WriteLine($"'(double)32766' was evaluated to '{(double)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766d'."); _counter++; } } @@ -4173,7 +4173,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneIncrementAboveInt16MaxValue) != 32768d) { - Console.WriteLine($"'(double)32768' was evaluted to '{(double)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768d'."); + Console.WriteLine($"'(double)32768' was evaluated to '{(double)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768d'."); _counter++; } } @@ -4188,7 +4188,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)uInt16MaxValue) != 65535d) { - Console.WriteLine($"'(double)65535' was evaluted to '{(double)uInt16MaxValue}'. Expected: '65535d'."); + Console.WriteLine($"'(double)65535' was evaluated to '{(double)uInt16MaxValue}'. Expected: '65535d'."); _counter++; } } @@ -4203,7 +4203,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneDecrementUnderUInt16MaxValue) != 65534d) { - Console.WriteLine($"'(double)65534' was evaluted to '{(double)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534d'."); + Console.WriteLine($"'(double)65534' was evaluated to '{(double)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534d'."); _counter++; } } @@ -4218,7 +4218,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneIncrementAboveUInt16MaxValue) != 65536d) { - Console.WriteLine($"'(double)65536' was evaluted to '{(double)integerOneIncrementAboveUInt16MaxValue}'. Expected: '65536d'."); + Console.WriteLine($"'(double)65536' was evaluated to '{(double)integerOneIncrementAboveUInt16MaxValue}'. Expected: '65536d'."); _counter++; } } @@ -4233,7 +4233,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)int32MaxValue) != 2147483647d) { - Console.WriteLine($"'(double)2147483647' was evaluted to '{(double)int32MaxValue}'. Expected: '2147483647d'."); + Console.WriteLine($"'(double)2147483647' was evaluated to '{(double)int32MaxValue}'. Expected: '2147483647d'."); _counter++; } } @@ -4248,7 +4248,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneDecrementUnderInt32MaxValue) != 2147483646d) { - Console.WriteLine($"'(double)2147483646' was evaluted to '{(double)integerOneDecrementUnderInt32MaxValue}'. Expected: '2147483646d'."); + Console.WriteLine($"'(double)2147483646' was evaluated to '{(double)integerOneDecrementUnderInt32MaxValue}'. Expected: '2147483646d'."); _counter++; } } @@ -4263,7 +4263,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneIncrementAboveInt32MaxValue) != 2147483648d) { - Console.WriteLine($"'(double)2147483648' was evaluted to '{(double)integerOneIncrementAboveInt32MaxValue}'. Expected: '2147483648d'."); + Console.WriteLine($"'(double)2147483648' was evaluated to '{(double)integerOneIncrementAboveInt32MaxValue}'. Expected: '2147483648d'."); _counter++; } } @@ -4278,7 +4278,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)uInt32MaxValue) != 4294967295d) { - Console.WriteLine($"'(double)4294967295' was evaluted to '{(double)uInt32MaxValue}'. Expected: '4294967295d'."); + Console.WriteLine($"'(double)4294967295' was evaluated to '{(double)uInt32MaxValue}'. Expected: '4294967295d'."); _counter++; } } @@ -4293,7 +4293,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneDecrementUnderUInt32MaxValue) != 4294967294d) { - Console.WriteLine($"'(double)4294967294' was evaluted to '{(double)integerOneDecrementUnderUInt32MaxValue}'. Expected: '4294967294d'."); + Console.WriteLine($"'(double)4294967294' was evaluated to '{(double)integerOneDecrementUnderUInt32MaxValue}'. Expected: '4294967294d'."); _counter++; } } @@ -4312,7 +4312,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)integerZero) != 0) { - Console.WriteLine($"'(sbyte)0' was evaluted to '{(sbyte)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(sbyte)0' was evaluated to '{(sbyte)integerZero}'. Expected: '0'."); _counter++; } } @@ -4327,7 +4327,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)sByteMaxValue) != 127) { - Console.WriteLine($"'(sbyte)127' was evaluted to '{(sbyte)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(sbyte)127' was evaluated to '{(sbyte)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -4342,7 +4342,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(sbyte)126' was evaluted to '{(sbyte)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(sbyte)126' was evaluated to '{(sbyte)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -4385,7 +4385,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(sbyte)1' was evaluted to '{(sbyte)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(sbyte)1' was evaluated to '{(sbyte)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -4586,7 +4586,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)integerZero) != 0) { - Console.WriteLine($"'(byte)0' was evaluted to '{(byte)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(byte)0' was evaluated to '{(byte)integerZero}'. Expected: '0'."); _counter++; } } @@ -4601,7 +4601,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)sByteMaxValue) != 127) { - Console.WriteLine($"'(byte)127' was evaluted to '{(byte)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(byte)127' was evaluated to '{(byte)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -4616,7 +4616,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(byte)126' was evaluted to '{(byte)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(byte)126' was evaluated to '{(byte)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -4631,7 +4631,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)integerOneIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(byte)128' was evaluted to '{(byte)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(byte)128' was evaluated to '{(byte)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -4646,7 +4646,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)byteMaxValue) != 255) { - Console.WriteLine($"'(byte)255' was evaluted to '{(byte)byteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(byte)255' was evaluated to '{(byte)byteMaxValue}'. Expected: '255'."); _counter++; } } @@ -4661,7 +4661,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(byte)1' was evaluted to '{(byte)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(byte)1' was evaluated to '{(byte)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -4676,7 +4676,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)integerOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(byte)254' was evaluted to '{(byte)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(byte)254' was evaluated to '{(byte)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -4863,7 +4863,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerZero) != 0) { - Console.WriteLine($"'(short)0' was evaluted to '{(short)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(short)0' was evaluated to '{(short)integerZero}'. Expected: '0'."); _counter++; } } @@ -4878,7 +4878,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)sByteMaxValue) != 127) { - Console.WriteLine($"'(short)127' was evaluted to '{(short)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(short)127' was evaluated to '{(short)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -4893,7 +4893,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(short)126' was evaluted to '{(short)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(short)126' was evaluated to '{(short)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -4908,7 +4908,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(short)128' was evaluted to '{(short)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(short)128' was evaluated to '{(short)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -4923,7 +4923,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)byteMaxValue) != 255) { - Console.WriteLine($"'(short)255' was evaluted to '{(short)byteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(short)255' was evaluated to '{(short)byteMaxValue}'. Expected: '255'."); _counter++; } } @@ -4938,7 +4938,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(short)1' was evaluted to '{(short)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(short)1' was evaluated to '{(short)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -4953,7 +4953,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(short)254' was evaluted to '{(short)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(short)254' was evaluated to '{(short)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -4968,7 +4968,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneIncrementAboveByteMaxValue) != 256) { - Console.WriteLine($"'(short)256' was evaluted to '{(short)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); + Console.WriteLine($"'(short)256' was evaluated to '{(short)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); _counter++; } } @@ -4983,7 +4983,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)int16MaxValue) != 32767) { - Console.WriteLine($"'(short)32767' was evaluted to '{(short)int16MaxValue}'. Expected: '32767'."); + Console.WriteLine($"'(short)32767' was evaluated to '{(short)int16MaxValue}'. Expected: '32767'."); _counter++; } } @@ -4998,7 +4998,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneDecrementUnderInt16MaxValue) != 32766) { - Console.WriteLine($"'(short)32766' was evaluted to '{(short)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); + Console.WriteLine($"'(short)32766' was evaluated to '{(short)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); _counter++; } } @@ -5143,7 +5143,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerZero) != 0) { - Console.WriteLine($"'(ushort)0' was evaluted to '{(ushort)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(ushort)0' was evaluated to '{(ushort)integerZero}'. Expected: '0'."); _counter++; } } @@ -5158,7 +5158,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)sByteMaxValue) != 127) { - Console.WriteLine($"'(ushort)127' was evaluted to '{(ushort)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(ushort)127' was evaluated to '{(ushort)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -5173,7 +5173,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(ushort)126' was evaluted to '{(ushort)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(ushort)126' was evaluated to '{(ushort)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -5188,7 +5188,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerOneIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(ushort)128' was evaluted to '{(ushort)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(ushort)128' was evaluated to '{(ushort)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -5203,7 +5203,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)byteMaxValue) != 255) { - Console.WriteLine($"'(ushort)255' was evaluted to '{(ushort)byteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(ushort)255' was evaluated to '{(ushort)byteMaxValue}'. Expected: '255'."); _counter++; } } @@ -5218,7 +5218,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(ushort)1' was evaluted to '{(ushort)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(ushort)1' was evaluated to '{(ushort)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -5233,7 +5233,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(ushort)254' was evaluted to '{(ushort)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(ushort)254' was evaluated to '{(ushort)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -5248,7 +5248,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerOneIncrementAboveByteMaxValue) != 256) { - Console.WriteLine($"'(ushort)256' was evaluted to '{(ushort)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); + Console.WriteLine($"'(ushort)256' was evaluated to '{(ushort)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); _counter++; } } @@ -5263,7 +5263,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)int16MaxValue) != 32767) { - Console.WriteLine($"'(ushort)32767' was evaluted to '{(ushort)int16MaxValue}'. Expected: '32767'."); + Console.WriteLine($"'(ushort)32767' was evaluated to '{(ushort)int16MaxValue}'. Expected: '32767'."); _counter++; } } @@ -5278,7 +5278,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerOneDecrementUnderInt16MaxValue) != 32766) { - Console.WriteLine($"'(ushort)32766' was evaluted to '{(ushort)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); + Console.WriteLine($"'(ushort)32766' was evaluated to '{(ushort)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); _counter++; } } @@ -5293,7 +5293,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerOneIncrementAboveInt16MaxValue) != 32768) { - Console.WriteLine($"'(ushort)32768' was evaluted to '{(ushort)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768'."); + Console.WriteLine($"'(ushort)32768' was evaluated to '{(ushort)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768'."); _counter++; } } @@ -5308,7 +5308,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)uInt16MaxValue) != 65535) { - Console.WriteLine($"'(ushort)65535' was evaluted to '{(ushort)uInt16MaxValue}'. Expected: '65535'."); + Console.WriteLine($"'(ushort)65535' was evaluated to '{(ushort)uInt16MaxValue}'. Expected: '65535'."); _counter++; } } @@ -5323,7 +5323,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerOneDecrementUnderUInt16MaxValue) != 65534) { - Console.WriteLine($"'(ushort)65534' was evaluted to '{(ushort)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); + Console.WriteLine($"'(ushort)65534' was evaluated to '{(ushort)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); _counter++; } } @@ -5426,7 +5426,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerZero) != 0) { - Console.WriteLine($"'(int)0' was evaluted to '{(int)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(int)0' was evaluated to '{(int)integerZero}'. Expected: '0'."); _counter++; } } @@ -5441,7 +5441,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)sByteMaxValue) != 127) { - Console.WriteLine($"'(int)127' was evaluted to '{(int)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(int)127' was evaluated to '{(int)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -5456,7 +5456,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(int)126' was evaluted to '{(int)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(int)126' was evaluated to '{(int)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -5471,7 +5471,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(int)128' was evaluted to '{(int)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(int)128' was evaluated to '{(int)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -5486,7 +5486,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)byteMaxValue) != 255) { - Console.WriteLine($"'(int)255' was evaluted to '{(int)byteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(int)255' was evaluated to '{(int)byteMaxValue}'. Expected: '255'."); _counter++; } } @@ -5501,7 +5501,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(int)1' was evaluted to '{(int)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(int)1' was evaluated to '{(int)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -5516,7 +5516,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(int)254' was evaluted to '{(int)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(int)254' was evaluated to '{(int)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -5531,7 +5531,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneIncrementAboveByteMaxValue) != 256) { - Console.WriteLine($"'(int)256' was evaluted to '{(int)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); + Console.WriteLine($"'(int)256' was evaluated to '{(int)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); _counter++; } } @@ -5546,7 +5546,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)int16MaxValue) != 32767) { - Console.WriteLine($"'(int)32767' was evaluted to '{(int)int16MaxValue}'. Expected: '32767'."); + Console.WriteLine($"'(int)32767' was evaluated to '{(int)int16MaxValue}'. Expected: '32767'."); _counter++; } } @@ -5561,7 +5561,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneDecrementUnderInt16MaxValue) != 32766) { - Console.WriteLine($"'(int)32766' was evaluted to '{(int)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); + Console.WriteLine($"'(int)32766' was evaluated to '{(int)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); _counter++; } } @@ -5576,7 +5576,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneIncrementAboveInt16MaxValue) != 32768) { - Console.WriteLine($"'(int)32768' was evaluted to '{(int)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768'."); + Console.WriteLine($"'(int)32768' was evaluated to '{(int)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768'."); _counter++; } } @@ -5591,7 +5591,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)uInt16MaxValue) != 65535) { - Console.WriteLine($"'(int)65535' was evaluted to '{(int)uInt16MaxValue}'. Expected: '65535'."); + Console.WriteLine($"'(int)65535' was evaluated to '{(int)uInt16MaxValue}'. Expected: '65535'."); _counter++; } } @@ -5606,7 +5606,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneDecrementUnderUInt16MaxValue) != 65534) { - Console.WriteLine($"'(int)65534' was evaluted to '{(int)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); + Console.WriteLine($"'(int)65534' was evaluated to '{(int)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); _counter++; } } @@ -5621,7 +5621,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneIncrementAboveUInt16MaxValue) != 65536) { - Console.WriteLine($"'(int)65536' was evaluted to '{(int)integerOneIncrementAboveUInt16MaxValue}'. Expected: '65536'."); + Console.WriteLine($"'(int)65536' was evaluated to '{(int)integerOneIncrementAboveUInt16MaxValue}'. Expected: '65536'."); _counter++; } } @@ -5636,7 +5636,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)int32MaxValue) != 2147483647) { - Console.WriteLine($"'(int)2147483647' was evaluted to '{(int)int32MaxValue}'. Expected: '2147483647'."); + Console.WriteLine($"'(int)2147483647' was evaluated to '{(int)int32MaxValue}'. Expected: '2147483647'."); _counter++; } } @@ -5651,7 +5651,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneDecrementUnderInt32MaxValue) != 2147483646) { - Console.WriteLine($"'(int)2147483646' was evaluted to '{(int)integerOneDecrementUnderInt32MaxValue}'. Expected: '2147483646'."); + Console.WriteLine($"'(int)2147483646' was evaluated to '{(int)integerOneDecrementUnderInt32MaxValue}'. Expected: '2147483646'."); _counter++; } } @@ -5712,7 +5712,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerZero) != 0) { - Console.WriteLine($"'(uint)0' was evaluted to '{(uint)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(uint)0' was evaluated to '{(uint)integerZero}'. Expected: '0'."); _counter++; } } @@ -5727,7 +5727,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)sByteMaxValue) != 127) { - Console.WriteLine($"'(uint)127' was evaluted to '{(uint)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(uint)127' was evaluated to '{(uint)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -5742,7 +5742,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(uint)126' was evaluted to '{(uint)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(uint)126' was evaluated to '{(uint)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -5757,7 +5757,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(uint)128' was evaluted to '{(uint)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(uint)128' was evaluated to '{(uint)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -5772,7 +5772,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)byteMaxValue) != 255) { - Console.WriteLine($"'(uint)255' was evaluted to '{(uint)byteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(uint)255' was evaluated to '{(uint)byteMaxValue}'. Expected: '255'."); _counter++; } } @@ -5787,7 +5787,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(uint)1' was evaluted to '{(uint)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(uint)1' was evaluated to '{(uint)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -5802,7 +5802,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(uint)254' was evaluted to '{(uint)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(uint)254' was evaluated to '{(uint)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -5817,7 +5817,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneIncrementAboveByteMaxValue) != 256) { - Console.WriteLine($"'(uint)256' was evaluted to '{(uint)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); + Console.WriteLine($"'(uint)256' was evaluated to '{(uint)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); _counter++; } } @@ -5832,7 +5832,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)int16MaxValue) != 32767) { - Console.WriteLine($"'(uint)32767' was evaluted to '{(uint)int16MaxValue}'. Expected: '32767'."); + Console.WriteLine($"'(uint)32767' was evaluated to '{(uint)int16MaxValue}'. Expected: '32767'."); _counter++; } } @@ -5847,7 +5847,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneDecrementUnderInt16MaxValue) != 32766) { - Console.WriteLine($"'(uint)32766' was evaluted to '{(uint)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); + Console.WriteLine($"'(uint)32766' was evaluated to '{(uint)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); _counter++; } } @@ -5862,7 +5862,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneIncrementAboveInt16MaxValue) != 32768) { - Console.WriteLine($"'(uint)32768' was evaluted to '{(uint)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768'."); + Console.WriteLine($"'(uint)32768' was evaluated to '{(uint)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768'."); _counter++; } } @@ -5877,7 +5877,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)uInt16MaxValue) != 65535) { - Console.WriteLine($"'(uint)65535' was evaluted to '{(uint)uInt16MaxValue}'. Expected: '65535'."); + Console.WriteLine($"'(uint)65535' was evaluated to '{(uint)uInt16MaxValue}'. Expected: '65535'."); _counter++; } } @@ -5892,7 +5892,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneDecrementUnderUInt16MaxValue) != 65534) { - Console.WriteLine($"'(uint)65534' was evaluted to '{(uint)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); + Console.WriteLine($"'(uint)65534' was evaluated to '{(uint)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); _counter++; } } @@ -5907,7 +5907,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneIncrementAboveUInt16MaxValue) != 65536) { - Console.WriteLine($"'(uint)65536' was evaluted to '{(uint)integerOneIncrementAboveUInt16MaxValue}'. Expected: '65536'."); + Console.WriteLine($"'(uint)65536' was evaluated to '{(uint)integerOneIncrementAboveUInt16MaxValue}'. Expected: '65536'."); _counter++; } } @@ -5922,7 +5922,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)int32MaxValue) != 2147483647) { - Console.WriteLine($"'(uint)2147483647' was evaluted to '{(uint)int32MaxValue}'. Expected: '2147483647'."); + Console.WriteLine($"'(uint)2147483647' was evaluated to '{(uint)int32MaxValue}'. Expected: '2147483647'."); _counter++; } } @@ -5937,7 +5937,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneDecrementUnderInt32MaxValue) != 2147483646) { - Console.WriteLine($"'(uint)2147483646' was evaluted to '{(uint)integerOneDecrementUnderInt32MaxValue}'. Expected: '2147483646'."); + Console.WriteLine($"'(uint)2147483646' was evaluated to '{(uint)integerOneDecrementUnderInt32MaxValue}'. Expected: '2147483646'."); _counter++; } } @@ -5952,7 +5952,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneIncrementAboveInt32MaxValue) != 2147483648) { - Console.WriteLine($"'(uint)2147483648' was evaluted to '{(uint)integerOneIncrementAboveInt32MaxValue}'. Expected: '2147483648'."); + Console.WriteLine($"'(uint)2147483648' was evaluated to '{(uint)integerOneIncrementAboveInt32MaxValue}'. Expected: '2147483648'."); _counter++; } } @@ -5967,7 +5967,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)uInt32MaxValue) != 4294967295) { - Console.WriteLine($"'(uint)4294967295' was evaluted to '{(uint)uInt32MaxValue}'. Expected: '4294967295'."); + Console.WriteLine($"'(uint)4294967295' was evaluated to '{(uint)uInt32MaxValue}'. Expected: '4294967295'."); _counter++; } } @@ -5982,7 +5982,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneDecrementUnderUInt32MaxValue) != 4294967294) { - Console.WriteLine($"'(uint)4294967294' was evaluted to '{(uint)integerOneDecrementUnderUInt32MaxValue}'. Expected: '4294967294'."); + Console.WriteLine($"'(uint)4294967294' was evaluated to '{(uint)integerOneDecrementUnderUInt32MaxValue}'. Expected: '4294967294'."); _counter++; } } @@ -6001,7 +6001,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerZero) != 0) { - Console.WriteLine($"'(long)0' was evaluted to '{(long)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(long)0' was evaluated to '{(long)integerZero}'. Expected: '0'."); _counter++; } } @@ -6016,7 +6016,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)sByteMaxValue) != 127) { - Console.WriteLine($"'(long)127' was evaluted to '{(long)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(long)127' was evaluated to '{(long)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -6031,7 +6031,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(long)126' was evaluted to '{(long)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(long)126' was evaluated to '{(long)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -6046,7 +6046,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(long)128' was evaluted to '{(long)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(long)128' was evaluated to '{(long)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -6061,7 +6061,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)byteMaxValue) != 255) { - Console.WriteLine($"'(long)255' was evaluted to '{(long)byteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(long)255' was evaluated to '{(long)byteMaxValue}'. Expected: '255'."); _counter++; } } @@ -6076,7 +6076,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(long)1' was evaluted to '{(long)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(long)1' was evaluated to '{(long)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -6091,7 +6091,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(long)254' was evaluted to '{(long)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(long)254' was evaluated to '{(long)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -6106,7 +6106,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneIncrementAboveByteMaxValue) != 256) { - Console.WriteLine($"'(long)256' was evaluted to '{(long)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); + Console.WriteLine($"'(long)256' was evaluated to '{(long)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); _counter++; } } @@ -6121,7 +6121,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)int16MaxValue) != 32767) { - Console.WriteLine($"'(long)32767' was evaluted to '{(long)int16MaxValue}'. Expected: '32767'."); + Console.WriteLine($"'(long)32767' was evaluated to '{(long)int16MaxValue}'. Expected: '32767'."); _counter++; } } @@ -6136,7 +6136,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneDecrementUnderInt16MaxValue) != 32766) { - Console.WriteLine($"'(long)32766' was evaluted to '{(long)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); + Console.WriteLine($"'(long)32766' was evaluated to '{(long)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); _counter++; } } @@ -6151,7 +6151,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneIncrementAboveInt16MaxValue) != 32768) { - Console.WriteLine($"'(long)32768' was evaluted to '{(long)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768'."); + Console.WriteLine($"'(long)32768' was evaluated to '{(long)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768'."); _counter++; } } @@ -6166,7 +6166,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)uInt16MaxValue) != 65535) { - Console.WriteLine($"'(long)65535' was evaluted to '{(long)uInt16MaxValue}'. Expected: '65535'."); + Console.WriteLine($"'(long)65535' was evaluated to '{(long)uInt16MaxValue}'. Expected: '65535'."); _counter++; } } @@ -6181,7 +6181,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneDecrementUnderUInt16MaxValue) != 65534) { - Console.WriteLine($"'(long)65534' was evaluted to '{(long)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); + Console.WriteLine($"'(long)65534' was evaluated to '{(long)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); _counter++; } } @@ -6196,7 +6196,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneIncrementAboveUInt16MaxValue) != 65536) { - Console.WriteLine($"'(long)65536' was evaluted to '{(long)integerOneIncrementAboveUInt16MaxValue}'. Expected: '65536'."); + Console.WriteLine($"'(long)65536' was evaluated to '{(long)integerOneIncrementAboveUInt16MaxValue}'. Expected: '65536'."); _counter++; } } @@ -6211,7 +6211,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)int32MaxValue) != 2147483647) { - Console.WriteLine($"'(long)2147483647' was evaluted to '{(long)int32MaxValue}'. Expected: '2147483647'."); + Console.WriteLine($"'(long)2147483647' was evaluated to '{(long)int32MaxValue}'. Expected: '2147483647'."); _counter++; } } @@ -6226,7 +6226,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneDecrementUnderInt32MaxValue) != 2147483646) { - Console.WriteLine($"'(long)2147483646' was evaluted to '{(long)integerOneDecrementUnderInt32MaxValue}'. Expected: '2147483646'."); + Console.WriteLine($"'(long)2147483646' was evaluated to '{(long)integerOneDecrementUnderInt32MaxValue}'. Expected: '2147483646'."); _counter++; } } @@ -6241,7 +6241,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneIncrementAboveInt32MaxValue) != 2147483648) { - Console.WriteLine($"'(long)2147483648' was evaluted to '{(long)integerOneIncrementAboveInt32MaxValue}'. Expected: '2147483648'."); + Console.WriteLine($"'(long)2147483648' was evaluated to '{(long)integerOneIncrementAboveInt32MaxValue}'. Expected: '2147483648'."); _counter++; } } @@ -6256,7 +6256,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)uInt32MaxValue) != 4294967295) { - Console.WriteLine($"'(long)4294967295' was evaluted to '{(long)uInt32MaxValue}'. Expected: '4294967295'."); + Console.WriteLine($"'(long)4294967295' was evaluated to '{(long)uInt32MaxValue}'. Expected: '4294967295'."); _counter++; } } @@ -6271,7 +6271,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneDecrementUnderUInt32MaxValue) != 4294967294) { - Console.WriteLine($"'(long)4294967294' was evaluted to '{(long)integerOneDecrementUnderUInt32MaxValue}'. Expected: '4294967294'."); + Console.WriteLine($"'(long)4294967294' was evaluated to '{(long)integerOneDecrementUnderUInt32MaxValue}'. Expected: '4294967294'."); _counter++; } } @@ -6290,7 +6290,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerZero) != 0) { - Console.WriteLine($"'(ulong)0' was evaluted to '{(ulong)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(ulong)0' was evaluated to '{(ulong)integerZero}'. Expected: '0'."); _counter++; } } @@ -6305,7 +6305,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)sByteMaxValue) != 127) { - Console.WriteLine($"'(ulong)127' was evaluted to '{(ulong)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(ulong)127' was evaluated to '{(ulong)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -6320,7 +6320,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(ulong)126' was evaluted to '{(ulong)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(ulong)126' was evaluated to '{(ulong)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -6335,7 +6335,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(ulong)128' was evaluted to '{(ulong)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(ulong)128' was evaluated to '{(ulong)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -6350,7 +6350,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)byteMaxValue) != 255) { - Console.WriteLine($"'(ulong)255' was evaluted to '{(ulong)byteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(ulong)255' was evaluated to '{(ulong)byteMaxValue}'. Expected: '255'."); _counter++; } } @@ -6365,7 +6365,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(ulong)1' was evaluted to '{(ulong)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(ulong)1' was evaluated to '{(ulong)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -6380,7 +6380,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(ulong)254' was evaluted to '{(ulong)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(ulong)254' was evaluated to '{(ulong)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -6395,7 +6395,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneIncrementAboveByteMaxValue) != 256) { - Console.WriteLine($"'(ulong)256' was evaluted to '{(ulong)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); + Console.WriteLine($"'(ulong)256' was evaluated to '{(ulong)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); _counter++; } } @@ -6410,7 +6410,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)int16MaxValue) != 32767) { - Console.WriteLine($"'(ulong)32767' was evaluted to '{(ulong)int16MaxValue}'. Expected: '32767'."); + Console.WriteLine($"'(ulong)32767' was evaluated to '{(ulong)int16MaxValue}'. Expected: '32767'."); _counter++; } } @@ -6425,7 +6425,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneDecrementUnderInt16MaxValue) != 32766) { - Console.WriteLine($"'(ulong)32766' was evaluted to '{(ulong)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); + Console.WriteLine($"'(ulong)32766' was evaluated to '{(ulong)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); _counter++; } } @@ -6440,7 +6440,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneIncrementAboveInt16MaxValue) != 32768) { - Console.WriteLine($"'(ulong)32768' was evaluted to '{(ulong)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768'."); + Console.WriteLine($"'(ulong)32768' was evaluated to '{(ulong)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768'."); _counter++; } } @@ -6455,7 +6455,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)uInt16MaxValue) != 65535) { - Console.WriteLine($"'(ulong)65535' was evaluted to '{(ulong)uInt16MaxValue}'. Expected: '65535'."); + Console.WriteLine($"'(ulong)65535' was evaluated to '{(ulong)uInt16MaxValue}'. Expected: '65535'."); _counter++; } } @@ -6470,7 +6470,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneDecrementUnderUInt16MaxValue) != 65534) { - Console.WriteLine($"'(ulong)65534' was evaluted to '{(ulong)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); + Console.WriteLine($"'(ulong)65534' was evaluated to '{(ulong)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); _counter++; } } @@ -6485,7 +6485,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneIncrementAboveUInt16MaxValue) != 65536) { - Console.WriteLine($"'(ulong)65536' was evaluted to '{(ulong)integerOneIncrementAboveUInt16MaxValue}'. Expected: '65536'."); + Console.WriteLine($"'(ulong)65536' was evaluated to '{(ulong)integerOneIncrementAboveUInt16MaxValue}'. Expected: '65536'."); _counter++; } } @@ -6500,7 +6500,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)int32MaxValue) != 2147483647) { - Console.WriteLine($"'(ulong)2147483647' was evaluted to '{(ulong)int32MaxValue}'. Expected: '2147483647'."); + Console.WriteLine($"'(ulong)2147483647' was evaluated to '{(ulong)int32MaxValue}'. Expected: '2147483647'."); _counter++; } } @@ -6515,7 +6515,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneDecrementUnderInt32MaxValue) != 2147483646) { - Console.WriteLine($"'(ulong)2147483646' was evaluted to '{(ulong)integerOneDecrementUnderInt32MaxValue}'. Expected: '2147483646'."); + Console.WriteLine($"'(ulong)2147483646' was evaluated to '{(ulong)integerOneDecrementUnderInt32MaxValue}'. Expected: '2147483646'."); _counter++; } } @@ -6530,7 +6530,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneIncrementAboveInt32MaxValue) != 2147483648) { - Console.WriteLine($"'(ulong)2147483648' was evaluted to '{(ulong)integerOneIncrementAboveInt32MaxValue}'. Expected: '2147483648'."); + Console.WriteLine($"'(ulong)2147483648' was evaluated to '{(ulong)integerOneIncrementAboveInt32MaxValue}'. Expected: '2147483648'."); _counter++; } } @@ -6545,7 +6545,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)uInt32MaxValue) != 4294967295) { - Console.WriteLine($"'(ulong)4294967295' was evaluted to '{(ulong)uInt32MaxValue}'. Expected: '4294967295'."); + Console.WriteLine($"'(ulong)4294967295' was evaluated to '{(ulong)uInt32MaxValue}'. Expected: '4294967295'."); _counter++; } } @@ -6560,7 +6560,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneDecrementUnderUInt32MaxValue) != 4294967294) { - Console.WriteLine($"'(ulong)4294967294' was evaluted to '{(ulong)integerOneDecrementUnderUInt32MaxValue}'. Expected: '4294967294'."); + Console.WriteLine($"'(ulong)4294967294' was evaluated to '{(ulong)integerOneDecrementUnderUInt32MaxValue}'. Expected: '4294967294'."); _counter++; } } diff --git a/src/tests/JIT/Directed/Convert/value_numbering_checked_casts_of_constants_long.cs b/src/tests/JIT/Directed/Convert/value_numbering_checked_casts_of_constants_long.cs index 92484db78fd..4d2a90d3031 100644 --- a/src/tests/JIT/Directed/Convert/value_numbering_checked_casts_of_constants_long.cs +++ b/src/tests/JIT/Directed/Convert/value_numbering_checked_casts_of_constants_long.cs @@ -19,7 +19,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerZero) != 0f) { - Console.WriteLine($"'(float)0' was evaluted to '{(float)integerZero}'. Expected: '0f'."); + Console.WriteLine($"'(float)0' was evaluated to '{(float)integerZero}'. Expected: '0f'."); _counter++; } } @@ -34,7 +34,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)sByteMinValue) != -128f) { - Console.WriteLine($"'(float)-128' was evaluted to '{(float)sByteMinValue}'. Expected: '-128f'."); + Console.WriteLine($"'(float)-128' was evaluated to '{(float)sByteMinValue}'. Expected: '-128f'."); _counter++; } } @@ -49,7 +49,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)sByteMaxValue) != 127f) { - Console.WriteLine($"'(float)127' was evaluted to '{(float)sByteMaxValue}'. Expected: '127f'."); + Console.WriteLine($"'(float)127' was evaluated to '{(float)sByteMaxValue}'. Expected: '127f'."); _counter++; } } @@ -64,7 +64,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneDecrementUnderSByteMinValue) != -129f) { - Console.WriteLine($"'(float)-129' was evaluted to '{(float)integerOneDecrementUnderSByteMinValue}'. Expected: '-129f'."); + Console.WriteLine($"'(float)-129' was evaluated to '{(float)integerOneDecrementUnderSByteMinValue}'. Expected: '-129f'."); _counter++; } } @@ -79,7 +79,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneIncrementAboveSByteMinValue) != -127f) { - Console.WriteLine($"'(float)-127' was evaluted to '{(float)integerOneIncrementAboveSByteMinValue}'. Expected: '-127f'."); + Console.WriteLine($"'(float)-127' was evaluated to '{(float)integerOneIncrementAboveSByteMinValue}'. Expected: '-127f'."); _counter++; } } @@ -94,7 +94,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneDecrementUnderSByteMaxValue) != 126f) { - Console.WriteLine($"'(float)126' was evaluted to '{(float)integerOneDecrementUnderSByteMaxValue}'. Expected: '126f'."); + Console.WriteLine($"'(float)126' was evaluated to '{(float)integerOneDecrementUnderSByteMaxValue}'. Expected: '126f'."); _counter++; } } @@ -109,7 +109,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneIncrementAboveSByteMaxValue) != 128f) { - Console.WriteLine($"'(float)128' was evaluted to '{(float)integerOneIncrementAboveSByteMaxValue}'. Expected: '128f'."); + Console.WriteLine($"'(float)128' was evaluated to '{(float)integerOneIncrementAboveSByteMaxValue}'. Expected: '128f'."); _counter++; } } @@ -124,7 +124,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)byteMaxValue) != 255f) { - Console.WriteLine($"'(float)255' was evaluted to '{(float)byteMaxValue}'. Expected: '255f'."); + Console.WriteLine($"'(float)255' was evaluated to '{(float)byteMaxValue}'. Expected: '255f'."); _counter++; } } @@ -139,7 +139,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneDecrementUnderByteMinValue) != -1f) { - Console.WriteLine($"'(float)-1' was evaluted to '{(float)integerOneDecrementUnderByteMinValue}'. Expected: '-1f'."); + Console.WriteLine($"'(float)-1' was evaluated to '{(float)integerOneDecrementUnderByteMinValue}'. Expected: '-1f'."); _counter++; } } @@ -154,7 +154,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneIncrementAboveByteMinValue) != 1f) { - Console.WriteLine($"'(float)1' was evaluted to '{(float)integerOneIncrementAboveByteMinValue}'. Expected: '1f'."); + Console.WriteLine($"'(float)1' was evaluated to '{(float)integerOneIncrementAboveByteMinValue}'. Expected: '1f'."); _counter++; } } @@ -169,7 +169,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneDecrementUnderByteMaxValue) != 254f) { - Console.WriteLine($"'(float)254' was evaluted to '{(float)integerOneDecrementUnderByteMaxValue}'. Expected: '254f'."); + Console.WriteLine($"'(float)254' was evaluated to '{(float)integerOneDecrementUnderByteMaxValue}'. Expected: '254f'."); _counter++; } } @@ -184,7 +184,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneIncrementAboveByteMaxValue) != 256f) { - Console.WriteLine($"'(float)256' was evaluted to '{(float)integerOneIncrementAboveByteMaxValue}'. Expected: '256f'."); + Console.WriteLine($"'(float)256' was evaluated to '{(float)integerOneIncrementAboveByteMaxValue}'. Expected: '256f'."); _counter++; } } @@ -199,7 +199,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)int16MinValue) != -32768f) { - Console.WriteLine($"'(float)-32768' was evaluted to '{(float)int16MinValue}'. Expected: '-32768f'."); + Console.WriteLine($"'(float)-32768' was evaluated to '{(float)int16MinValue}'. Expected: '-32768f'."); _counter++; } } @@ -214,7 +214,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)int16MaxValue) != 32767f) { - Console.WriteLine($"'(float)32767' was evaluted to '{(float)int16MaxValue}'. Expected: '32767f'."); + Console.WriteLine($"'(float)32767' was evaluated to '{(float)int16MaxValue}'. Expected: '32767f'."); _counter++; } } @@ -229,7 +229,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneDecrementUnderInt16MinValue) != -32769f) { - Console.WriteLine($"'(float)-32769' was evaluted to '{(float)integerOneDecrementUnderInt16MinValue}'. Expected: '-32769f'."); + Console.WriteLine($"'(float)-32769' was evaluated to '{(float)integerOneDecrementUnderInt16MinValue}'. Expected: '-32769f'."); _counter++; } } @@ -244,7 +244,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneIncrementAboveInt16MinValue) != -32767f) { - Console.WriteLine($"'(float)-32767' was evaluted to '{(float)integerOneIncrementAboveInt16MinValue}'. Expected: '-32767f'."); + Console.WriteLine($"'(float)-32767' was evaluated to '{(float)integerOneIncrementAboveInt16MinValue}'. Expected: '-32767f'."); _counter++; } } @@ -259,7 +259,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneDecrementUnderInt16MaxValue) != 32766f) { - Console.WriteLine($"'(float)32766' was evaluted to '{(float)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766f'."); + Console.WriteLine($"'(float)32766' was evaluated to '{(float)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766f'."); _counter++; } } @@ -274,7 +274,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneIncrementAboveInt16MaxValue) != 32768f) { - Console.WriteLine($"'(float)32768' was evaluted to '{(float)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768f'."); + Console.WriteLine($"'(float)32768' was evaluated to '{(float)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768f'."); _counter++; } } @@ -289,7 +289,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)uInt16MaxValue) != 65535f) { - Console.WriteLine($"'(float)65535' was evaluted to '{(float)uInt16MaxValue}'. Expected: '65535f'."); + Console.WriteLine($"'(float)65535' was evaluated to '{(float)uInt16MaxValue}'. Expected: '65535f'."); _counter++; } } @@ -304,7 +304,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneDecrementUnderUInt16MaxValue) != 65534f) { - Console.WriteLine($"'(float)65534' was evaluted to '{(float)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534f'."); + Console.WriteLine($"'(float)65534' was evaluated to '{(float)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534f'."); _counter++; } } @@ -319,7 +319,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneIncrementAboveUInt16MaxValue) != 65536f) { - Console.WriteLine($"'(float)65536' was evaluted to '{(float)integerOneIncrementAboveUInt16MaxValue}'. Expected: '65536f'."); + Console.WriteLine($"'(float)65536' was evaluated to '{(float)integerOneIncrementAboveUInt16MaxValue}'. Expected: '65536f'."); _counter++; } } @@ -334,7 +334,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)int32MinValue) != -2.1474836E+09f) { - Console.WriteLine($"'(float)-2147483648' was evaluted to '{(float)int32MinValue}'. Expected: '-2.1474836E+09f'."); + Console.WriteLine($"'(float)-2147483648' was evaluated to '{(float)int32MinValue}'. Expected: '-2.1474836E+09f'."); _counter++; } } @@ -349,7 +349,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)int32MaxValue) != 2.1474836E+09f) { - Console.WriteLine($"'(float)2147483647' was evaluted to '{(float)int32MaxValue}'. Expected: '2.1474836E+09f'."); + Console.WriteLine($"'(float)2147483647' was evaluated to '{(float)int32MaxValue}'. Expected: '2.1474836E+09f'."); _counter++; } } @@ -364,7 +364,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneDecrementUnderInt32MinValue) != -2.1474836E+09f) { - Console.WriteLine($"'(float)-2147483649' was evaluted to '{(float)integerOneDecrementUnderInt32MinValue}'. Expected: '-2.1474836E+09f'."); + Console.WriteLine($"'(float)-2147483649' was evaluated to '{(float)integerOneDecrementUnderInt32MinValue}'. Expected: '-2.1474836E+09f'."); _counter++; } } @@ -379,7 +379,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneIncrementAboveInt32MinValue) != -2.1474836E+09f) { - Console.WriteLine($"'(float)-2147483647' was evaluted to '{(float)integerOneIncrementAboveInt32MinValue}'. Expected: '-2.1474836E+09f'."); + Console.WriteLine($"'(float)-2147483647' was evaluated to '{(float)integerOneIncrementAboveInt32MinValue}'. Expected: '-2.1474836E+09f'."); _counter++; } } @@ -394,7 +394,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneDecrementUnderInt32MaxValue) != 2.1474836E+09f) { - Console.WriteLine($"'(float)2147483646' was evaluted to '{(float)integerOneDecrementUnderInt32MaxValue}'. Expected: '2.1474836E+09f'."); + Console.WriteLine($"'(float)2147483646' was evaluated to '{(float)integerOneDecrementUnderInt32MaxValue}'. Expected: '2.1474836E+09f'."); _counter++; } } @@ -409,7 +409,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneIncrementAboveInt32MaxValue) != 2.1474836E+09f) { - Console.WriteLine($"'(float)2147483648' was evaluted to '{(float)integerOneIncrementAboveInt32MaxValue}'. Expected: '2.1474836E+09f'."); + Console.WriteLine($"'(float)2147483648' was evaluated to '{(float)integerOneIncrementAboveInt32MaxValue}'. Expected: '2.1474836E+09f'."); _counter++; } } @@ -424,7 +424,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)uInt32MaxValue) != 4.2949673E+09f) { - Console.WriteLine($"'(float)4294967295' was evaluted to '{(float)uInt32MaxValue}'. Expected: '4.2949673E+09f'."); + Console.WriteLine($"'(float)4294967295' was evaluated to '{(float)uInt32MaxValue}'. Expected: '4.2949673E+09f'."); _counter++; } } @@ -439,7 +439,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneDecrementUnderUInt32MaxValue) != 4.2949673E+09f) { - Console.WriteLine($"'(float)4294967294' was evaluted to '{(float)integerOneDecrementUnderUInt32MaxValue}'. Expected: '4.2949673E+09f'."); + Console.WriteLine($"'(float)4294967294' was evaluated to '{(float)integerOneDecrementUnderUInt32MaxValue}'. Expected: '4.2949673E+09f'."); _counter++; } } @@ -454,7 +454,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneIncrementAboveUInt32MaxValue) != 4.2949673E+09f) { - Console.WriteLine($"'(float)4294967296' was evaluted to '{(float)integerOneIncrementAboveUInt32MaxValue}'. Expected: '4.2949673E+09f'."); + Console.WriteLine($"'(float)4294967296' was evaluated to '{(float)integerOneIncrementAboveUInt32MaxValue}'. Expected: '4.2949673E+09f'."); _counter++; } } @@ -469,7 +469,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)int64MinValue) != -9.223372E+18f) { - Console.WriteLine($"'(float)-9223372036854775808' was evaluted to '{(float)int64MinValue}'. Expected: '-9.223372E+18f'."); + Console.WriteLine($"'(float)-9223372036854775808' was evaluated to '{(float)int64MinValue}'. Expected: '-9.223372E+18f'."); _counter++; } } @@ -484,7 +484,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)int64MaxValue) != 9.223372E+18f) { - Console.WriteLine($"'(float)9223372036854775807' was evaluted to '{(float)int64MaxValue}'. Expected: '9.223372E+18f'."); + Console.WriteLine($"'(float)9223372036854775807' was evaluated to '{(float)int64MaxValue}'. Expected: '9.223372E+18f'."); _counter++; } } @@ -499,7 +499,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneIncrementAboveInt64MinValue) != -9.223372E+18f) { - Console.WriteLine($"'(float)-9223372036854775807' was evaluted to '{(float)integerOneIncrementAboveInt64MinValue}'. Expected: '-9.223372E+18f'."); + Console.WriteLine($"'(float)-9223372036854775807' was evaluated to '{(float)integerOneIncrementAboveInt64MinValue}'. Expected: '-9.223372E+18f'."); _counter++; } } @@ -514,7 +514,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneDecrementUnderInt64MaxValue) != 9.223372E+18f) { - Console.WriteLine($"'(float)9223372036854775806' was evaluted to '{(float)integerOneDecrementUnderInt64MaxValue}'. Expected: '9.223372E+18f'."); + Console.WriteLine($"'(float)9223372036854775806' was evaluated to '{(float)integerOneDecrementUnderInt64MaxValue}'. Expected: '9.223372E+18f'."); _counter++; } } @@ -533,7 +533,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerZero) != 0d) { - Console.WriteLine($"'(double)0' was evaluted to '{(double)integerZero}'. Expected: '0d'."); + Console.WriteLine($"'(double)0' was evaluated to '{(double)integerZero}'. Expected: '0d'."); _counter++; } } @@ -548,7 +548,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)sByteMinValue) != -128d) { - Console.WriteLine($"'(double)-128' was evaluted to '{(double)sByteMinValue}'. Expected: '-128d'."); + Console.WriteLine($"'(double)-128' was evaluated to '{(double)sByteMinValue}'. Expected: '-128d'."); _counter++; } } @@ -563,7 +563,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)sByteMaxValue) != 127d) { - Console.WriteLine($"'(double)127' was evaluted to '{(double)sByteMaxValue}'. Expected: '127d'."); + Console.WriteLine($"'(double)127' was evaluated to '{(double)sByteMaxValue}'. Expected: '127d'."); _counter++; } } @@ -578,7 +578,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneDecrementUnderSByteMinValue) != -129d) { - Console.WriteLine($"'(double)-129' was evaluted to '{(double)integerOneDecrementUnderSByteMinValue}'. Expected: '-129d'."); + Console.WriteLine($"'(double)-129' was evaluated to '{(double)integerOneDecrementUnderSByteMinValue}'. Expected: '-129d'."); _counter++; } } @@ -593,7 +593,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneIncrementAboveSByteMinValue) != -127d) { - Console.WriteLine($"'(double)-127' was evaluted to '{(double)integerOneIncrementAboveSByteMinValue}'. Expected: '-127d'."); + Console.WriteLine($"'(double)-127' was evaluated to '{(double)integerOneIncrementAboveSByteMinValue}'. Expected: '-127d'."); _counter++; } } @@ -608,7 +608,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneDecrementUnderSByteMaxValue) != 126d) { - Console.WriteLine($"'(double)126' was evaluted to '{(double)integerOneDecrementUnderSByteMaxValue}'. Expected: '126d'."); + Console.WriteLine($"'(double)126' was evaluated to '{(double)integerOneDecrementUnderSByteMaxValue}'. Expected: '126d'."); _counter++; } } @@ -623,7 +623,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneIncrementAboveSByteMaxValue) != 128d) { - Console.WriteLine($"'(double)128' was evaluted to '{(double)integerOneIncrementAboveSByteMaxValue}'. Expected: '128d'."); + Console.WriteLine($"'(double)128' was evaluated to '{(double)integerOneIncrementAboveSByteMaxValue}'. Expected: '128d'."); _counter++; } } @@ -638,7 +638,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)byteMaxValue) != 255d) { - Console.WriteLine($"'(double)255' was evaluted to '{(double)byteMaxValue}'. Expected: '255d'."); + Console.WriteLine($"'(double)255' was evaluated to '{(double)byteMaxValue}'. Expected: '255d'."); _counter++; } } @@ -653,7 +653,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneDecrementUnderByteMinValue) != -1d) { - Console.WriteLine($"'(double)-1' was evaluted to '{(double)integerOneDecrementUnderByteMinValue}'. Expected: '-1d'."); + Console.WriteLine($"'(double)-1' was evaluated to '{(double)integerOneDecrementUnderByteMinValue}'. Expected: '-1d'."); _counter++; } } @@ -668,7 +668,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneIncrementAboveByteMinValue) != 1d) { - Console.WriteLine($"'(double)1' was evaluted to '{(double)integerOneIncrementAboveByteMinValue}'. Expected: '1d'."); + Console.WriteLine($"'(double)1' was evaluated to '{(double)integerOneIncrementAboveByteMinValue}'. Expected: '1d'."); _counter++; } } @@ -683,7 +683,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneDecrementUnderByteMaxValue) != 254d) { - Console.WriteLine($"'(double)254' was evaluted to '{(double)integerOneDecrementUnderByteMaxValue}'. Expected: '254d'."); + Console.WriteLine($"'(double)254' was evaluated to '{(double)integerOneDecrementUnderByteMaxValue}'. Expected: '254d'."); _counter++; } } @@ -698,7 +698,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneIncrementAboveByteMaxValue) != 256d) { - Console.WriteLine($"'(double)256' was evaluted to '{(double)integerOneIncrementAboveByteMaxValue}'. Expected: '256d'."); + Console.WriteLine($"'(double)256' was evaluated to '{(double)integerOneIncrementAboveByteMaxValue}'. Expected: '256d'."); _counter++; } } @@ -713,7 +713,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)int16MinValue) != -32768d) { - Console.WriteLine($"'(double)-32768' was evaluted to '{(double)int16MinValue}'. Expected: '-32768d'."); + Console.WriteLine($"'(double)-32768' was evaluated to '{(double)int16MinValue}'. Expected: '-32768d'."); _counter++; } } @@ -728,7 +728,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)int16MaxValue) != 32767d) { - Console.WriteLine($"'(double)32767' was evaluted to '{(double)int16MaxValue}'. Expected: '32767d'."); + Console.WriteLine($"'(double)32767' was evaluated to '{(double)int16MaxValue}'. Expected: '32767d'."); _counter++; } } @@ -743,7 +743,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneDecrementUnderInt16MinValue) != -32769d) { - Console.WriteLine($"'(double)-32769' was evaluted to '{(double)integerOneDecrementUnderInt16MinValue}'. Expected: '-32769d'."); + Console.WriteLine($"'(double)-32769' was evaluated to '{(double)integerOneDecrementUnderInt16MinValue}'. Expected: '-32769d'."); _counter++; } } @@ -758,7 +758,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneIncrementAboveInt16MinValue) != -32767d) { - Console.WriteLine($"'(double)-32767' was evaluted to '{(double)integerOneIncrementAboveInt16MinValue}'. Expected: '-32767d'."); + Console.WriteLine($"'(double)-32767' was evaluated to '{(double)integerOneIncrementAboveInt16MinValue}'. Expected: '-32767d'."); _counter++; } } @@ -773,7 +773,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneDecrementUnderInt16MaxValue) != 32766d) { - Console.WriteLine($"'(double)32766' was evaluted to '{(double)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766d'."); + Console.WriteLine($"'(double)32766' was evaluated to '{(double)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766d'."); _counter++; } } @@ -788,7 +788,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneIncrementAboveInt16MaxValue) != 32768d) { - Console.WriteLine($"'(double)32768' was evaluted to '{(double)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768d'."); + Console.WriteLine($"'(double)32768' was evaluated to '{(double)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768d'."); _counter++; } } @@ -803,7 +803,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)uInt16MaxValue) != 65535d) { - Console.WriteLine($"'(double)65535' was evaluted to '{(double)uInt16MaxValue}'. Expected: '65535d'."); + Console.WriteLine($"'(double)65535' was evaluated to '{(double)uInt16MaxValue}'. Expected: '65535d'."); _counter++; } } @@ -818,7 +818,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneDecrementUnderUInt16MaxValue) != 65534d) { - Console.WriteLine($"'(double)65534' was evaluted to '{(double)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534d'."); + Console.WriteLine($"'(double)65534' was evaluated to '{(double)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534d'."); _counter++; } } @@ -833,7 +833,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneIncrementAboveUInt16MaxValue) != 65536d) { - Console.WriteLine($"'(double)65536' was evaluted to '{(double)integerOneIncrementAboveUInt16MaxValue}'. Expected: '65536d'."); + Console.WriteLine($"'(double)65536' was evaluated to '{(double)integerOneIncrementAboveUInt16MaxValue}'. Expected: '65536d'."); _counter++; } } @@ -848,7 +848,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)int32MinValue) != -2147483648d) { - Console.WriteLine($"'(double)-2147483648' was evaluted to '{(double)int32MinValue}'. Expected: '-2147483648d'."); + Console.WriteLine($"'(double)-2147483648' was evaluated to '{(double)int32MinValue}'. Expected: '-2147483648d'."); _counter++; } } @@ -863,7 +863,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)int32MaxValue) != 2147483647d) { - Console.WriteLine($"'(double)2147483647' was evaluted to '{(double)int32MaxValue}'. Expected: '2147483647d'."); + Console.WriteLine($"'(double)2147483647' was evaluated to '{(double)int32MaxValue}'. Expected: '2147483647d'."); _counter++; } } @@ -878,7 +878,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneDecrementUnderInt32MinValue) != -2147483649d) { - Console.WriteLine($"'(double)-2147483649' was evaluted to '{(double)integerOneDecrementUnderInt32MinValue}'. Expected: '-2147483649d'."); + Console.WriteLine($"'(double)-2147483649' was evaluated to '{(double)integerOneDecrementUnderInt32MinValue}'. Expected: '-2147483649d'."); _counter++; } } @@ -893,7 +893,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneIncrementAboveInt32MinValue) != -2147483647d) { - Console.WriteLine($"'(double)-2147483647' was evaluted to '{(double)integerOneIncrementAboveInt32MinValue}'. Expected: '-2147483647d'."); + Console.WriteLine($"'(double)-2147483647' was evaluated to '{(double)integerOneIncrementAboveInt32MinValue}'. Expected: '-2147483647d'."); _counter++; } } @@ -908,7 +908,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneDecrementUnderInt32MaxValue) != 2147483646d) { - Console.WriteLine($"'(double)2147483646' was evaluted to '{(double)integerOneDecrementUnderInt32MaxValue}'. Expected: '2147483646d'."); + Console.WriteLine($"'(double)2147483646' was evaluated to '{(double)integerOneDecrementUnderInt32MaxValue}'. Expected: '2147483646d'."); _counter++; } } @@ -923,7 +923,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneIncrementAboveInt32MaxValue) != 2147483648d) { - Console.WriteLine($"'(double)2147483648' was evaluted to '{(double)integerOneIncrementAboveInt32MaxValue}'. Expected: '2147483648d'."); + Console.WriteLine($"'(double)2147483648' was evaluated to '{(double)integerOneIncrementAboveInt32MaxValue}'. Expected: '2147483648d'."); _counter++; } } @@ -938,7 +938,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)uInt32MaxValue) != 4294967295d) { - Console.WriteLine($"'(double)4294967295' was evaluted to '{(double)uInt32MaxValue}'. Expected: '4294967295d'."); + Console.WriteLine($"'(double)4294967295' was evaluated to '{(double)uInt32MaxValue}'. Expected: '4294967295d'."); _counter++; } } @@ -953,7 +953,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneDecrementUnderUInt32MaxValue) != 4294967294d) { - Console.WriteLine($"'(double)4294967294' was evaluted to '{(double)integerOneDecrementUnderUInt32MaxValue}'. Expected: '4294967294d'."); + Console.WriteLine($"'(double)4294967294' was evaluated to '{(double)integerOneDecrementUnderUInt32MaxValue}'. Expected: '4294967294d'."); _counter++; } } @@ -968,7 +968,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneIncrementAboveUInt32MaxValue) != 4294967296d) { - Console.WriteLine($"'(double)4294967296' was evaluted to '{(double)integerOneIncrementAboveUInt32MaxValue}'. Expected: '4294967296d'."); + Console.WriteLine($"'(double)4294967296' was evaluated to '{(double)integerOneIncrementAboveUInt32MaxValue}'. Expected: '4294967296d'."); _counter++; } } @@ -983,7 +983,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)int64MinValue) != -9.223372036854776E+18d) { - Console.WriteLine($"'(double)-9223372036854775808' was evaluted to '{(double)int64MinValue}'. Expected: '-9.223372036854776E+18d'."); + Console.WriteLine($"'(double)-9223372036854775808' was evaluated to '{(double)int64MinValue}'. Expected: '-9.223372036854776E+18d'."); _counter++; } } @@ -998,7 +998,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)int64MaxValue) != 9.223372036854776E+18d) { - Console.WriteLine($"'(double)9223372036854775807' was evaluted to '{(double)int64MaxValue}'. Expected: '9.223372036854776E+18d'."); + Console.WriteLine($"'(double)9223372036854775807' was evaluated to '{(double)int64MaxValue}'. Expected: '9.223372036854776E+18d'."); _counter++; } } @@ -1013,7 +1013,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneIncrementAboveInt64MinValue) != -9.223372036854776E+18d) { - Console.WriteLine($"'(double)-9223372036854775807' was evaluted to '{(double)integerOneIncrementAboveInt64MinValue}'. Expected: '-9.223372036854776E+18d'."); + Console.WriteLine($"'(double)-9223372036854775807' was evaluated to '{(double)integerOneIncrementAboveInt64MinValue}'. Expected: '-9.223372036854776E+18d'."); _counter++; } } @@ -1028,7 +1028,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneDecrementUnderInt64MaxValue) != 9.223372036854776E+18d) { - Console.WriteLine($"'(double)9223372036854775806' was evaluted to '{(double)integerOneDecrementUnderInt64MaxValue}'. Expected: '9.223372036854776E+18d'."); + Console.WriteLine($"'(double)9223372036854775806' was evaluated to '{(double)integerOneDecrementUnderInt64MaxValue}'. Expected: '9.223372036854776E+18d'."); _counter++; } } @@ -1047,7 +1047,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)integerZero) != 0) { - Console.WriteLine($"'(sbyte)0' was evaluted to '{(sbyte)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(sbyte)0' was evaluated to '{(sbyte)integerZero}'. Expected: '0'."); _counter++; } } @@ -1062,7 +1062,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)sByteMinValue) != -128) { - Console.WriteLine($"'(sbyte)-128' was evaluted to '{(sbyte)sByteMinValue}'. Expected: '-128'."); + Console.WriteLine($"'(sbyte)-128' was evaluated to '{(sbyte)sByteMinValue}'. Expected: '-128'."); _counter++; } } @@ -1077,7 +1077,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)sByteMaxValue) != 127) { - Console.WriteLine($"'(sbyte)127' was evaluted to '{(sbyte)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(sbyte)127' was evaluated to '{(sbyte)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -1106,7 +1106,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)integerOneIncrementAboveSByteMinValue) != -127) { - Console.WriteLine($"'(sbyte)-127' was evaluted to '{(sbyte)integerOneIncrementAboveSByteMinValue}'. Expected: '-127'."); + Console.WriteLine($"'(sbyte)-127' was evaluated to '{(sbyte)integerOneIncrementAboveSByteMinValue}'. Expected: '-127'."); _counter++; } } @@ -1121,7 +1121,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(sbyte)126' was evaluted to '{(sbyte)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(sbyte)126' was evaluated to '{(sbyte)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -1164,7 +1164,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)integerOneDecrementUnderByteMinValue) != -1) { - Console.WriteLine($"'(sbyte)-1' was evaluted to '{(sbyte)integerOneDecrementUnderByteMinValue}'. Expected: '-1'."); + Console.WriteLine($"'(sbyte)-1' was evaluated to '{(sbyte)integerOneDecrementUnderByteMinValue}'. Expected: '-1'."); _counter++; } } @@ -1179,7 +1179,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(sbyte)1' was evaluted to '{(sbyte)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(sbyte)1' was evaluated to '{(sbyte)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -1534,7 +1534,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)integerZero) != 0) { - Console.WriteLine($"'(byte)0' was evaluted to '{(byte)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(byte)0' was evaluated to '{(byte)integerZero}'. Expected: '0'."); _counter++; } } @@ -1563,7 +1563,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)sByteMaxValue) != 127) { - Console.WriteLine($"'(byte)127' was evaluted to '{(byte)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(byte)127' was evaluated to '{(byte)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -1606,7 +1606,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(byte)126' was evaluted to '{(byte)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(byte)126' was evaluated to '{(byte)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -1621,7 +1621,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)integerOneIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(byte)128' was evaluted to '{(byte)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(byte)128' was evaluated to '{(byte)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -1636,7 +1636,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)byteMaxValue) != 255) { - Console.WriteLine($"'(byte)255' was evaluted to '{(byte)byteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(byte)255' was evaluated to '{(byte)byteMaxValue}'. Expected: '255'."); _counter++; } } @@ -1665,7 +1665,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(byte)1' was evaluted to '{(byte)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(byte)1' was evaluated to '{(byte)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -1680,7 +1680,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)integerOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(byte)254' was evaluted to '{(byte)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(byte)254' was evaluated to '{(byte)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -2021,7 +2021,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerZero) != 0) { - Console.WriteLine($"'(short)0' was evaluted to '{(short)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(short)0' was evaluated to '{(short)integerZero}'. Expected: '0'."); _counter++; } } @@ -2036,7 +2036,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)sByteMinValue) != -128) { - Console.WriteLine($"'(short)-128' was evaluted to '{(short)sByteMinValue}'. Expected: '-128'."); + Console.WriteLine($"'(short)-128' was evaluated to '{(short)sByteMinValue}'. Expected: '-128'."); _counter++; } } @@ -2051,7 +2051,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)sByteMaxValue) != 127) { - Console.WriteLine($"'(short)127' was evaluted to '{(short)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(short)127' was evaluated to '{(short)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -2066,7 +2066,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneDecrementUnderSByteMinValue) != -129) { - Console.WriteLine($"'(short)-129' was evaluted to '{(short)integerOneDecrementUnderSByteMinValue}'. Expected: '-129'."); + Console.WriteLine($"'(short)-129' was evaluated to '{(short)integerOneDecrementUnderSByteMinValue}'. Expected: '-129'."); _counter++; } } @@ -2081,7 +2081,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneIncrementAboveSByteMinValue) != -127) { - Console.WriteLine($"'(short)-127' was evaluted to '{(short)integerOneIncrementAboveSByteMinValue}'. Expected: '-127'."); + Console.WriteLine($"'(short)-127' was evaluated to '{(short)integerOneIncrementAboveSByteMinValue}'. Expected: '-127'."); _counter++; } } @@ -2096,7 +2096,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(short)126' was evaluted to '{(short)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(short)126' was evaluated to '{(short)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -2111,7 +2111,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(short)128' was evaluted to '{(short)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(short)128' was evaluated to '{(short)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -2126,7 +2126,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)byteMaxValue) != 255) { - Console.WriteLine($"'(short)255' was evaluted to '{(short)byteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(short)255' was evaluated to '{(short)byteMaxValue}'. Expected: '255'."); _counter++; } } @@ -2141,7 +2141,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneDecrementUnderByteMinValue) != -1) { - Console.WriteLine($"'(short)-1' was evaluted to '{(short)integerOneDecrementUnderByteMinValue}'. Expected: '-1'."); + Console.WriteLine($"'(short)-1' was evaluated to '{(short)integerOneDecrementUnderByteMinValue}'. Expected: '-1'."); _counter++; } } @@ -2156,7 +2156,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(short)1' was evaluted to '{(short)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(short)1' was evaluated to '{(short)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -2171,7 +2171,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(short)254' was evaluted to '{(short)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(short)254' was evaluated to '{(short)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -2186,7 +2186,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneIncrementAboveByteMaxValue) != 256) { - Console.WriteLine($"'(short)256' was evaluted to '{(short)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); + Console.WriteLine($"'(short)256' was evaluated to '{(short)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); _counter++; } } @@ -2201,7 +2201,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)int16MinValue) != -32768) { - Console.WriteLine($"'(short)-32768' was evaluted to '{(short)int16MinValue}'. Expected: '-32768'."); + Console.WriteLine($"'(short)-32768' was evaluated to '{(short)int16MinValue}'. Expected: '-32768'."); _counter++; } } @@ -2216,7 +2216,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)int16MaxValue) != 32767) { - Console.WriteLine($"'(short)32767' was evaluted to '{(short)int16MaxValue}'. Expected: '32767'."); + Console.WriteLine($"'(short)32767' was evaluated to '{(short)int16MaxValue}'. Expected: '32767'."); _counter++; } } @@ -2245,7 +2245,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneIncrementAboveInt16MinValue) != -32767) { - Console.WriteLine($"'(short)-32767' was evaluted to '{(short)integerOneIncrementAboveInt16MinValue}'. Expected: '-32767'."); + Console.WriteLine($"'(short)-32767' was evaluated to '{(short)integerOneIncrementAboveInt16MinValue}'. Expected: '-32767'."); _counter++; } } @@ -2260,7 +2260,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneDecrementUnderInt16MaxValue) != 32766) { - Console.WriteLine($"'(short)32766' was evaluted to '{(short)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); + Console.WriteLine($"'(short)32766' was evaluated to '{(short)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); _counter++; } } @@ -2517,7 +2517,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerZero) != 0) { - Console.WriteLine($"'(ushort)0' was evaluted to '{(ushort)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(ushort)0' was evaluated to '{(ushort)integerZero}'. Expected: '0'."); _counter++; } } @@ -2546,7 +2546,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)sByteMaxValue) != 127) { - Console.WriteLine($"'(ushort)127' was evaluted to '{(ushort)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(ushort)127' was evaluated to '{(ushort)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -2589,7 +2589,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(ushort)126' was evaluted to '{(ushort)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(ushort)126' was evaluated to '{(ushort)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -2604,7 +2604,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerOneIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(ushort)128' was evaluted to '{(ushort)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(ushort)128' was evaluated to '{(ushort)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -2619,7 +2619,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)byteMaxValue) != 255) { - Console.WriteLine($"'(ushort)255' was evaluted to '{(ushort)byteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(ushort)255' was evaluated to '{(ushort)byteMaxValue}'. Expected: '255'."); _counter++; } } @@ -2648,7 +2648,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(ushort)1' was evaluted to '{(ushort)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(ushort)1' was evaluated to '{(ushort)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -2663,7 +2663,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(ushort)254' was evaluted to '{(ushort)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(ushort)254' was evaluated to '{(ushort)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -2678,7 +2678,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerOneIncrementAboveByteMaxValue) != 256) { - Console.WriteLine($"'(ushort)256' was evaluted to '{(ushort)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); + Console.WriteLine($"'(ushort)256' was evaluated to '{(ushort)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); _counter++; } } @@ -2707,7 +2707,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)int16MaxValue) != 32767) { - Console.WriteLine($"'(ushort)32767' was evaluted to '{(ushort)int16MaxValue}'. Expected: '32767'."); + Console.WriteLine($"'(ushort)32767' was evaluated to '{(ushort)int16MaxValue}'. Expected: '32767'."); _counter++; } } @@ -2750,7 +2750,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerOneDecrementUnderInt16MaxValue) != 32766) { - Console.WriteLine($"'(ushort)32766' was evaluted to '{(ushort)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); + Console.WriteLine($"'(ushort)32766' was evaluated to '{(ushort)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); _counter++; } } @@ -2765,7 +2765,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerOneIncrementAboveInt16MaxValue) != 32768) { - Console.WriteLine($"'(ushort)32768' was evaluted to '{(ushort)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768'."); + Console.WriteLine($"'(ushort)32768' was evaluated to '{(ushort)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768'."); _counter++; } } @@ -2780,7 +2780,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)uInt16MaxValue) != 65535) { - Console.WriteLine($"'(ushort)65535' was evaluted to '{(ushort)uInt16MaxValue}'. Expected: '65535'."); + Console.WriteLine($"'(ushort)65535' was evaluated to '{(ushort)uInt16MaxValue}'. Expected: '65535'."); _counter++; } } @@ -2795,7 +2795,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerOneDecrementUnderUInt16MaxValue) != 65534) { - Console.WriteLine($"'(ushort)65534' was evaluted to '{(ushort)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); + Console.WriteLine($"'(ushort)65534' was evaluated to '{(ushort)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); _counter++; } } @@ -3010,7 +3010,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerZero) != 0) { - Console.WriteLine($"'(int)0' was evaluted to '{(int)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(int)0' was evaluated to '{(int)integerZero}'. Expected: '0'."); _counter++; } } @@ -3025,7 +3025,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)sByteMinValue) != -128) { - Console.WriteLine($"'(int)-128' was evaluted to '{(int)sByteMinValue}'. Expected: '-128'."); + Console.WriteLine($"'(int)-128' was evaluated to '{(int)sByteMinValue}'. Expected: '-128'."); _counter++; } } @@ -3040,7 +3040,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)sByteMaxValue) != 127) { - Console.WriteLine($"'(int)127' was evaluted to '{(int)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(int)127' was evaluated to '{(int)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -3055,7 +3055,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneDecrementUnderSByteMinValue) != -129) { - Console.WriteLine($"'(int)-129' was evaluted to '{(int)integerOneDecrementUnderSByteMinValue}'. Expected: '-129'."); + Console.WriteLine($"'(int)-129' was evaluated to '{(int)integerOneDecrementUnderSByteMinValue}'. Expected: '-129'."); _counter++; } } @@ -3070,7 +3070,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneIncrementAboveSByteMinValue) != -127) { - Console.WriteLine($"'(int)-127' was evaluted to '{(int)integerOneIncrementAboveSByteMinValue}'. Expected: '-127'."); + Console.WriteLine($"'(int)-127' was evaluated to '{(int)integerOneIncrementAboveSByteMinValue}'. Expected: '-127'."); _counter++; } } @@ -3085,7 +3085,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(int)126' was evaluted to '{(int)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(int)126' was evaluated to '{(int)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -3100,7 +3100,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(int)128' was evaluted to '{(int)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(int)128' was evaluated to '{(int)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -3115,7 +3115,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)byteMaxValue) != 255) { - Console.WriteLine($"'(int)255' was evaluted to '{(int)byteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(int)255' was evaluated to '{(int)byteMaxValue}'. Expected: '255'."); _counter++; } } @@ -3130,7 +3130,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneDecrementUnderByteMinValue) != -1) { - Console.WriteLine($"'(int)-1' was evaluted to '{(int)integerOneDecrementUnderByteMinValue}'. Expected: '-1'."); + Console.WriteLine($"'(int)-1' was evaluated to '{(int)integerOneDecrementUnderByteMinValue}'. Expected: '-1'."); _counter++; } } @@ -3145,7 +3145,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(int)1' was evaluted to '{(int)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(int)1' was evaluated to '{(int)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -3160,7 +3160,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(int)254' was evaluted to '{(int)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(int)254' was evaluated to '{(int)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -3175,7 +3175,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneIncrementAboveByteMaxValue) != 256) { - Console.WriteLine($"'(int)256' was evaluted to '{(int)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); + Console.WriteLine($"'(int)256' was evaluated to '{(int)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); _counter++; } } @@ -3190,7 +3190,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)int16MinValue) != -32768) { - Console.WriteLine($"'(int)-32768' was evaluted to '{(int)int16MinValue}'. Expected: '-32768'."); + Console.WriteLine($"'(int)-32768' was evaluated to '{(int)int16MinValue}'. Expected: '-32768'."); _counter++; } } @@ -3205,7 +3205,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)int16MaxValue) != 32767) { - Console.WriteLine($"'(int)32767' was evaluted to '{(int)int16MaxValue}'. Expected: '32767'."); + Console.WriteLine($"'(int)32767' was evaluated to '{(int)int16MaxValue}'. Expected: '32767'."); _counter++; } } @@ -3220,7 +3220,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneDecrementUnderInt16MinValue) != -32769) { - Console.WriteLine($"'(int)-32769' was evaluted to '{(int)integerOneDecrementUnderInt16MinValue}'. Expected: '-32769'."); + Console.WriteLine($"'(int)-32769' was evaluated to '{(int)integerOneDecrementUnderInt16MinValue}'. Expected: '-32769'."); _counter++; } } @@ -3235,7 +3235,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneIncrementAboveInt16MinValue) != -32767) { - Console.WriteLine($"'(int)-32767' was evaluted to '{(int)integerOneIncrementAboveInt16MinValue}'. Expected: '-32767'."); + Console.WriteLine($"'(int)-32767' was evaluated to '{(int)integerOneIncrementAboveInt16MinValue}'. Expected: '-32767'."); _counter++; } } @@ -3250,7 +3250,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneDecrementUnderInt16MaxValue) != 32766) { - Console.WriteLine($"'(int)32766' was evaluted to '{(int)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); + Console.WriteLine($"'(int)32766' was evaluated to '{(int)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); _counter++; } } @@ -3265,7 +3265,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneIncrementAboveInt16MaxValue) != 32768) { - Console.WriteLine($"'(int)32768' was evaluted to '{(int)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768'."); + Console.WriteLine($"'(int)32768' was evaluated to '{(int)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768'."); _counter++; } } @@ -3280,7 +3280,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)uInt16MaxValue) != 65535) { - Console.WriteLine($"'(int)65535' was evaluted to '{(int)uInt16MaxValue}'. Expected: '65535'."); + Console.WriteLine($"'(int)65535' was evaluated to '{(int)uInt16MaxValue}'. Expected: '65535'."); _counter++; } } @@ -3295,7 +3295,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneDecrementUnderUInt16MaxValue) != 65534) { - Console.WriteLine($"'(int)65534' was evaluted to '{(int)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); + Console.WriteLine($"'(int)65534' was evaluated to '{(int)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); _counter++; } } @@ -3310,7 +3310,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneIncrementAboveUInt16MaxValue) != 65536) { - Console.WriteLine($"'(int)65536' was evaluted to '{(int)integerOneIncrementAboveUInt16MaxValue}'. Expected: '65536'."); + Console.WriteLine($"'(int)65536' was evaluated to '{(int)integerOneIncrementAboveUInt16MaxValue}'. Expected: '65536'."); _counter++; } } @@ -3325,7 +3325,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)int32MinValue) != -2147483648) { - Console.WriteLine($"'(int)-2147483648' was evaluted to '{(int)int32MinValue}'. Expected: '-2147483648'."); + Console.WriteLine($"'(int)-2147483648' was evaluated to '{(int)int32MinValue}'. Expected: '-2147483648'."); _counter++; } } @@ -3340,7 +3340,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)int32MaxValue) != 2147483647) { - Console.WriteLine($"'(int)2147483647' was evaluted to '{(int)int32MaxValue}'. Expected: '2147483647'."); + Console.WriteLine($"'(int)2147483647' was evaluated to '{(int)int32MaxValue}'. Expected: '2147483647'."); _counter++; } } @@ -3369,7 +3369,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneIncrementAboveInt32MinValue) != -2147483647) { - Console.WriteLine($"'(int)-2147483647' was evaluted to '{(int)integerOneIncrementAboveInt32MinValue}'. Expected: '-2147483647'."); + Console.WriteLine($"'(int)-2147483647' was evaluated to '{(int)integerOneIncrementAboveInt32MinValue}'. Expected: '-2147483647'."); _counter++; } } @@ -3384,7 +3384,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneDecrementUnderInt32MaxValue) != 2147483646) { - Console.WriteLine($"'(int)2147483646' was evaluted to '{(int)integerOneDecrementUnderInt32MaxValue}'. Expected: '2147483646'."); + Console.WriteLine($"'(int)2147483646' was evaluated to '{(int)integerOneDecrementUnderInt32MaxValue}'. Expected: '2147483646'."); _counter++; } } @@ -3515,7 +3515,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerZero) != 0) { - Console.WriteLine($"'(uint)0' was evaluted to '{(uint)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(uint)0' was evaluated to '{(uint)integerZero}'. Expected: '0'."); _counter++; } } @@ -3544,7 +3544,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)sByteMaxValue) != 127) { - Console.WriteLine($"'(uint)127' was evaluted to '{(uint)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(uint)127' was evaluated to '{(uint)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -3587,7 +3587,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(uint)126' was evaluted to '{(uint)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(uint)126' was evaluated to '{(uint)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -3602,7 +3602,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(uint)128' was evaluted to '{(uint)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(uint)128' was evaluated to '{(uint)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -3617,7 +3617,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)byteMaxValue) != 255) { - Console.WriteLine($"'(uint)255' was evaluted to '{(uint)byteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(uint)255' was evaluated to '{(uint)byteMaxValue}'. Expected: '255'."); _counter++; } } @@ -3646,7 +3646,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(uint)1' was evaluted to '{(uint)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(uint)1' was evaluated to '{(uint)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -3661,7 +3661,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(uint)254' was evaluted to '{(uint)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(uint)254' was evaluated to '{(uint)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -3676,7 +3676,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneIncrementAboveByteMaxValue) != 256) { - Console.WriteLine($"'(uint)256' was evaluted to '{(uint)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); + Console.WriteLine($"'(uint)256' was evaluated to '{(uint)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); _counter++; } } @@ -3705,7 +3705,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)int16MaxValue) != 32767) { - Console.WriteLine($"'(uint)32767' was evaluted to '{(uint)int16MaxValue}'. Expected: '32767'."); + Console.WriteLine($"'(uint)32767' was evaluated to '{(uint)int16MaxValue}'. Expected: '32767'."); _counter++; } } @@ -3748,7 +3748,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneDecrementUnderInt16MaxValue) != 32766) { - Console.WriteLine($"'(uint)32766' was evaluted to '{(uint)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); + Console.WriteLine($"'(uint)32766' was evaluated to '{(uint)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); _counter++; } } @@ -3763,7 +3763,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneIncrementAboveInt16MaxValue) != 32768) { - Console.WriteLine($"'(uint)32768' was evaluted to '{(uint)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768'."); + Console.WriteLine($"'(uint)32768' was evaluated to '{(uint)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768'."); _counter++; } } @@ -3778,7 +3778,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)uInt16MaxValue) != 65535) { - Console.WriteLine($"'(uint)65535' was evaluted to '{(uint)uInt16MaxValue}'. Expected: '65535'."); + Console.WriteLine($"'(uint)65535' was evaluated to '{(uint)uInt16MaxValue}'. Expected: '65535'."); _counter++; } } @@ -3793,7 +3793,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneDecrementUnderUInt16MaxValue) != 65534) { - Console.WriteLine($"'(uint)65534' was evaluted to '{(uint)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); + Console.WriteLine($"'(uint)65534' was evaluated to '{(uint)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); _counter++; } } @@ -3808,7 +3808,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneIncrementAboveUInt16MaxValue) != 65536) { - Console.WriteLine($"'(uint)65536' was evaluted to '{(uint)integerOneIncrementAboveUInt16MaxValue}'. Expected: '65536'."); + Console.WriteLine($"'(uint)65536' was evaluated to '{(uint)integerOneIncrementAboveUInt16MaxValue}'. Expected: '65536'."); _counter++; } } @@ -3837,7 +3837,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)int32MaxValue) != 2147483647) { - Console.WriteLine($"'(uint)2147483647' was evaluted to '{(uint)int32MaxValue}'. Expected: '2147483647'."); + Console.WriteLine($"'(uint)2147483647' was evaluated to '{(uint)int32MaxValue}'. Expected: '2147483647'."); _counter++; } } @@ -3880,7 +3880,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneDecrementUnderInt32MaxValue) != 2147483646) { - Console.WriteLine($"'(uint)2147483646' was evaluted to '{(uint)integerOneDecrementUnderInt32MaxValue}'. Expected: '2147483646'."); + Console.WriteLine($"'(uint)2147483646' was evaluated to '{(uint)integerOneDecrementUnderInt32MaxValue}'. Expected: '2147483646'."); _counter++; } } @@ -3895,7 +3895,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneIncrementAboveInt32MaxValue) != 2147483648) { - Console.WriteLine($"'(uint)2147483648' was evaluted to '{(uint)integerOneIncrementAboveInt32MaxValue}'. Expected: '2147483648'."); + Console.WriteLine($"'(uint)2147483648' was evaluated to '{(uint)integerOneIncrementAboveInt32MaxValue}'. Expected: '2147483648'."); _counter++; } } @@ -3910,7 +3910,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)uInt32MaxValue) != 4294967295) { - Console.WriteLine($"'(uint)4294967295' was evaluted to '{(uint)uInt32MaxValue}'. Expected: '4294967295'."); + Console.WriteLine($"'(uint)4294967295' was evaluated to '{(uint)uInt32MaxValue}'. Expected: '4294967295'."); _counter++; } } @@ -3925,7 +3925,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneDecrementUnderUInt32MaxValue) != 4294967294) { - Console.WriteLine($"'(uint)4294967294' was evaluted to '{(uint)integerOneDecrementUnderUInt32MaxValue}'. Expected: '4294967294'."); + Console.WriteLine($"'(uint)4294967294' was evaluated to '{(uint)integerOneDecrementUnderUInt32MaxValue}'. Expected: '4294967294'."); _counter++; } } @@ -4014,7 +4014,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerZero) != 0) { - Console.WriteLine($"'(long)0' was evaluted to '{(long)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(long)0' was evaluated to '{(long)integerZero}'. Expected: '0'."); _counter++; } } @@ -4029,7 +4029,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)sByteMinValue) != -128) { - Console.WriteLine($"'(long)-128' was evaluted to '{(long)sByteMinValue}'. Expected: '-128'."); + Console.WriteLine($"'(long)-128' was evaluated to '{(long)sByteMinValue}'. Expected: '-128'."); _counter++; } } @@ -4044,7 +4044,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)sByteMaxValue) != 127) { - Console.WriteLine($"'(long)127' was evaluted to '{(long)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(long)127' was evaluated to '{(long)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -4059,7 +4059,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneDecrementUnderSByteMinValue) != -129) { - Console.WriteLine($"'(long)-129' was evaluted to '{(long)integerOneDecrementUnderSByteMinValue}'. Expected: '-129'."); + Console.WriteLine($"'(long)-129' was evaluated to '{(long)integerOneDecrementUnderSByteMinValue}'. Expected: '-129'."); _counter++; } } @@ -4074,7 +4074,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneIncrementAboveSByteMinValue) != -127) { - Console.WriteLine($"'(long)-127' was evaluted to '{(long)integerOneIncrementAboveSByteMinValue}'. Expected: '-127'."); + Console.WriteLine($"'(long)-127' was evaluated to '{(long)integerOneIncrementAboveSByteMinValue}'. Expected: '-127'."); _counter++; } } @@ -4089,7 +4089,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(long)126' was evaluted to '{(long)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(long)126' was evaluated to '{(long)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -4104,7 +4104,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(long)128' was evaluted to '{(long)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(long)128' was evaluated to '{(long)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -4119,7 +4119,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)byteMaxValue) != 255) { - Console.WriteLine($"'(long)255' was evaluted to '{(long)byteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(long)255' was evaluated to '{(long)byteMaxValue}'. Expected: '255'."); _counter++; } } @@ -4134,7 +4134,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneDecrementUnderByteMinValue) != -1) { - Console.WriteLine($"'(long)-1' was evaluted to '{(long)integerOneDecrementUnderByteMinValue}'. Expected: '-1'."); + Console.WriteLine($"'(long)-1' was evaluated to '{(long)integerOneDecrementUnderByteMinValue}'. Expected: '-1'."); _counter++; } } @@ -4149,7 +4149,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(long)1' was evaluted to '{(long)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(long)1' was evaluated to '{(long)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -4164,7 +4164,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(long)254' was evaluted to '{(long)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(long)254' was evaluated to '{(long)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -4179,7 +4179,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneIncrementAboveByteMaxValue) != 256) { - Console.WriteLine($"'(long)256' was evaluted to '{(long)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); + Console.WriteLine($"'(long)256' was evaluated to '{(long)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); _counter++; } } @@ -4194,7 +4194,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)int16MinValue) != -32768) { - Console.WriteLine($"'(long)-32768' was evaluted to '{(long)int16MinValue}'. Expected: '-32768'."); + Console.WriteLine($"'(long)-32768' was evaluated to '{(long)int16MinValue}'. Expected: '-32768'."); _counter++; } } @@ -4209,7 +4209,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)int16MaxValue) != 32767) { - Console.WriteLine($"'(long)32767' was evaluted to '{(long)int16MaxValue}'. Expected: '32767'."); + Console.WriteLine($"'(long)32767' was evaluated to '{(long)int16MaxValue}'. Expected: '32767'."); _counter++; } } @@ -4224,7 +4224,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneDecrementUnderInt16MinValue) != -32769) { - Console.WriteLine($"'(long)-32769' was evaluted to '{(long)integerOneDecrementUnderInt16MinValue}'. Expected: '-32769'."); + Console.WriteLine($"'(long)-32769' was evaluated to '{(long)integerOneDecrementUnderInt16MinValue}'. Expected: '-32769'."); _counter++; } } @@ -4239,7 +4239,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneIncrementAboveInt16MinValue) != -32767) { - Console.WriteLine($"'(long)-32767' was evaluted to '{(long)integerOneIncrementAboveInt16MinValue}'. Expected: '-32767'."); + Console.WriteLine($"'(long)-32767' was evaluated to '{(long)integerOneIncrementAboveInt16MinValue}'. Expected: '-32767'."); _counter++; } } @@ -4254,7 +4254,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneDecrementUnderInt16MaxValue) != 32766) { - Console.WriteLine($"'(long)32766' was evaluted to '{(long)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); + Console.WriteLine($"'(long)32766' was evaluated to '{(long)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); _counter++; } } @@ -4269,7 +4269,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneIncrementAboveInt16MaxValue) != 32768) { - Console.WriteLine($"'(long)32768' was evaluted to '{(long)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768'."); + Console.WriteLine($"'(long)32768' was evaluated to '{(long)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768'."); _counter++; } } @@ -4284,7 +4284,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)uInt16MaxValue) != 65535) { - Console.WriteLine($"'(long)65535' was evaluted to '{(long)uInt16MaxValue}'. Expected: '65535'."); + Console.WriteLine($"'(long)65535' was evaluated to '{(long)uInt16MaxValue}'. Expected: '65535'."); _counter++; } } @@ -4299,7 +4299,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneDecrementUnderUInt16MaxValue) != 65534) { - Console.WriteLine($"'(long)65534' was evaluted to '{(long)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); + Console.WriteLine($"'(long)65534' was evaluated to '{(long)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); _counter++; } } @@ -4314,7 +4314,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneIncrementAboveUInt16MaxValue) != 65536) { - Console.WriteLine($"'(long)65536' was evaluted to '{(long)integerOneIncrementAboveUInt16MaxValue}'. Expected: '65536'."); + Console.WriteLine($"'(long)65536' was evaluated to '{(long)integerOneIncrementAboveUInt16MaxValue}'. Expected: '65536'."); _counter++; } } @@ -4329,7 +4329,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)int32MinValue) != -2147483648) { - Console.WriteLine($"'(long)-2147483648' was evaluted to '{(long)int32MinValue}'. Expected: '-2147483648'."); + Console.WriteLine($"'(long)-2147483648' was evaluated to '{(long)int32MinValue}'. Expected: '-2147483648'."); _counter++; } } @@ -4344,7 +4344,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)int32MaxValue) != 2147483647) { - Console.WriteLine($"'(long)2147483647' was evaluted to '{(long)int32MaxValue}'. Expected: '2147483647'."); + Console.WriteLine($"'(long)2147483647' was evaluated to '{(long)int32MaxValue}'. Expected: '2147483647'."); _counter++; } } @@ -4359,7 +4359,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneDecrementUnderInt32MinValue) != -2147483649) { - Console.WriteLine($"'(long)-2147483649' was evaluted to '{(long)integerOneDecrementUnderInt32MinValue}'. Expected: '-2147483649'."); + Console.WriteLine($"'(long)-2147483649' was evaluated to '{(long)integerOneDecrementUnderInt32MinValue}'. Expected: '-2147483649'."); _counter++; } } @@ -4374,7 +4374,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneIncrementAboveInt32MinValue) != -2147483647) { - Console.WriteLine($"'(long)-2147483647' was evaluted to '{(long)integerOneIncrementAboveInt32MinValue}'. Expected: '-2147483647'."); + Console.WriteLine($"'(long)-2147483647' was evaluated to '{(long)integerOneIncrementAboveInt32MinValue}'. Expected: '-2147483647'."); _counter++; } } @@ -4389,7 +4389,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneDecrementUnderInt32MaxValue) != 2147483646) { - Console.WriteLine($"'(long)2147483646' was evaluted to '{(long)integerOneDecrementUnderInt32MaxValue}'. Expected: '2147483646'."); + Console.WriteLine($"'(long)2147483646' was evaluated to '{(long)integerOneDecrementUnderInt32MaxValue}'. Expected: '2147483646'."); _counter++; } } @@ -4404,7 +4404,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneIncrementAboveInt32MaxValue) != 2147483648) { - Console.WriteLine($"'(long)2147483648' was evaluted to '{(long)integerOneIncrementAboveInt32MaxValue}'. Expected: '2147483648'."); + Console.WriteLine($"'(long)2147483648' was evaluated to '{(long)integerOneIncrementAboveInt32MaxValue}'. Expected: '2147483648'."); _counter++; } } @@ -4419,7 +4419,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)uInt32MaxValue) != 4294967295) { - Console.WriteLine($"'(long)4294967295' was evaluted to '{(long)uInt32MaxValue}'. Expected: '4294967295'."); + Console.WriteLine($"'(long)4294967295' was evaluated to '{(long)uInt32MaxValue}'. Expected: '4294967295'."); _counter++; } } @@ -4434,7 +4434,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneDecrementUnderUInt32MaxValue) != 4294967294) { - Console.WriteLine($"'(long)4294967294' was evaluted to '{(long)integerOneDecrementUnderUInt32MaxValue}'. Expected: '4294967294'."); + Console.WriteLine($"'(long)4294967294' was evaluated to '{(long)integerOneDecrementUnderUInt32MaxValue}'. Expected: '4294967294'."); _counter++; } } @@ -4449,7 +4449,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneIncrementAboveUInt32MaxValue) != 4294967296) { - Console.WriteLine($"'(long)4294967296' was evaluted to '{(long)integerOneIncrementAboveUInt32MaxValue}'. Expected: '4294967296'."); + Console.WriteLine($"'(long)4294967296' was evaluated to '{(long)integerOneIncrementAboveUInt32MaxValue}'. Expected: '4294967296'."); _counter++; } } @@ -4464,7 +4464,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)int64MinValue) != -9223372036854775808) { - Console.WriteLine($"'(long)-9223372036854775808' was evaluted to '{(long)int64MinValue}'. Expected: '-9223372036854775808'."); + Console.WriteLine($"'(long)-9223372036854775808' was evaluated to '{(long)int64MinValue}'. Expected: '-9223372036854775808'."); _counter++; } } @@ -4479,7 +4479,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)int64MaxValue) != 9223372036854775807) { - Console.WriteLine($"'(long)9223372036854775807' was evaluted to '{(long)int64MaxValue}'. Expected: '9223372036854775807'."); + Console.WriteLine($"'(long)9223372036854775807' was evaluated to '{(long)int64MaxValue}'. Expected: '9223372036854775807'."); _counter++; } } @@ -4494,7 +4494,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneIncrementAboveInt64MinValue) != -9223372036854775807) { - Console.WriteLine($"'(long)-9223372036854775807' was evaluted to '{(long)integerOneIncrementAboveInt64MinValue}'. Expected: '-9223372036854775807'."); + Console.WriteLine($"'(long)-9223372036854775807' was evaluated to '{(long)integerOneIncrementAboveInt64MinValue}'. Expected: '-9223372036854775807'."); _counter++; } } @@ -4509,7 +4509,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneDecrementUnderInt64MaxValue) != 9223372036854775806) { - Console.WriteLine($"'(long)9223372036854775806' was evaluted to '{(long)integerOneDecrementUnderInt64MaxValue}'. Expected: '9223372036854775806'."); + Console.WriteLine($"'(long)9223372036854775806' was evaluated to '{(long)integerOneDecrementUnderInt64MaxValue}'. Expected: '9223372036854775806'."); _counter++; } } @@ -4528,7 +4528,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerZero) != 0) { - Console.WriteLine($"'(ulong)0' was evaluted to '{(ulong)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(ulong)0' was evaluated to '{(ulong)integerZero}'. Expected: '0'."); _counter++; } } @@ -4557,7 +4557,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)sByteMaxValue) != 127) { - Console.WriteLine($"'(ulong)127' was evaluted to '{(ulong)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(ulong)127' was evaluated to '{(ulong)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -4600,7 +4600,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(ulong)126' was evaluted to '{(ulong)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(ulong)126' was evaluated to '{(ulong)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -4615,7 +4615,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(ulong)128' was evaluted to '{(ulong)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(ulong)128' was evaluated to '{(ulong)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -4630,7 +4630,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)byteMaxValue) != 255) { - Console.WriteLine($"'(ulong)255' was evaluted to '{(ulong)byteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(ulong)255' was evaluated to '{(ulong)byteMaxValue}'. Expected: '255'."); _counter++; } } @@ -4659,7 +4659,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(ulong)1' was evaluted to '{(ulong)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(ulong)1' was evaluated to '{(ulong)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -4674,7 +4674,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(ulong)254' was evaluted to '{(ulong)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(ulong)254' was evaluated to '{(ulong)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -4689,7 +4689,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneIncrementAboveByteMaxValue) != 256) { - Console.WriteLine($"'(ulong)256' was evaluted to '{(ulong)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); + Console.WriteLine($"'(ulong)256' was evaluated to '{(ulong)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); _counter++; } } @@ -4718,7 +4718,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)int16MaxValue) != 32767) { - Console.WriteLine($"'(ulong)32767' was evaluted to '{(ulong)int16MaxValue}'. Expected: '32767'."); + Console.WriteLine($"'(ulong)32767' was evaluated to '{(ulong)int16MaxValue}'. Expected: '32767'."); _counter++; } } @@ -4761,7 +4761,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneDecrementUnderInt16MaxValue) != 32766) { - Console.WriteLine($"'(ulong)32766' was evaluted to '{(ulong)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); + Console.WriteLine($"'(ulong)32766' was evaluated to '{(ulong)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); _counter++; } } @@ -4776,7 +4776,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneIncrementAboveInt16MaxValue) != 32768) { - Console.WriteLine($"'(ulong)32768' was evaluted to '{(ulong)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768'."); + Console.WriteLine($"'(ulong)32768' was evaluated to '{(ulong)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768'."); _counter++; } } @@ -4791,7 +4791,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)uInt16MaxValue) != 65535) { - Console.WriteLine($"'(ulong)65535' was evaluted to '{(ulong)uInt16MaxValue}'. Expected: '65535'."); + Console.WriteLine($"'(ulong)65535' was evaluated to '{(ulong)uInt16MaxValue}'. Expected: '65535'."); _counter++; } } @@ -4806,7 +4806,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneDecrementUnderUInt16MaxValue) != 65534) { - Console.WriteLine($"'(ulong)65534' was evaluted to '{(ulong)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); + Console.WriteLine($"'(ulong)65534' was evaluated to '{(ulong)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); _counter++; } } @@ -4821,7 +4821,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneIncrementAboveUInt16MaxValue) != 65536) { - Console.WriteLine($"'(ulong)65536' was evaluted to '{(ulong)integerOneIncrementAboveUInt16MaxValue}'. Expected: '65536'."); + Console.WriteLine($"'(ulong)65536' was evaluated to '{(ulong)integerOneIncrementAboveUInt16MaxValue}'. Expected: '65536'."); _counter++; } } @@ -4850,7 +4850,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)int32MaxValue) != 2147483647) { - Console.WriteLine($"'(ulong)2147483647' was evaluted to '{(ulong)int32MaxValue}'. Expected: '2147483647'."); + Console.WriteLine($"'(ulong)2147483647' was evaluated to '{(ulong)int32MaxValue}'. Expected: '2147483647'."); _counter++; } } @@ -4893,7 +4893,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneDecrementUnderInt32MaxValue) != 2147483646) { - Console.WriteLine($"'(ulong)2147483646' was evaluted to '{(ulong)integerOneDecrementUnderInt32MaxValue}'. Expected: '2147483646'."); + Console.WriteLine($"'(ulong)2147483646' was evaluated to '{(ulong)integerOneDecrementUnderInt32MaxValue}'. Expected: '2147483646'."); _counter++; } } @@ -4908,7 +4908,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneIncrementAboveInt32MaxValue) != 2147483648) { - Console.WriteLine($"'(ulong)2147483648' was evaluted to '{(ulong)integerOneIncrementAboveInt32MaxValue}'. Expected: '2147483648'."); + Console.WriteLine($"'(ulong)2147483648' was evaluated to '{(ulong)integerOneIncrementAboveInt32MaxValue}'. Expected: '2147483648'."); _counter++; } } @@ -4923,7 +4923,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)uInt32MaxValue) != 4294967295) { - Console.WriteLine($"'(ulong)4294967295' was evaluted to '{(ulong)uInt32MaxValue}'. Expected: '4294967295'."); + Console.WriteLine($"'(ulong)4294967295' was evaluated to '{(ulong)uInt32MaxValue}'. Expected: '4294967295'."); _counter++; } } @@ -4938,7 +4938,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneDecrementUnderUInt32MaxValue) != 4294967294) { - Console.WriteLine($"'(ulong)4294967294' was evaluted to '{(ulong)integerOneDecrementUnderUInt32MaxValue}'. Expected: '4294967294'."); + Console.WriteLine($"'(ulong)4294967294' was evaluated to '{(ulong)integerOneDecrementUnderUInt32MaxValue}'. Expected: '4294967294'."); _counter++; } } @@ -4953,7 +4953,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneIncrementAboveUInt32MaxValue) != 4294967296) { - Console.WriteLine($"'(ulong)4294967296' was evaluted to '{(ulong)integerOneIncrementAboveUInt32MaxValue}'. Expected: '4294967296'."); + Console.WriteLine($"'(ulong)4294967296' was evaluated to '{(ulong)integerOneIncrementAboveUInt32MaxValue}'. Expected: '4294967296'."); _counter++; } } @@ -4982,7 +4982,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)int64MaxValue) != 9223372036854775807) { - Console.WriteLine($"'(ulong)9223372036854775807' was evaluted to '{(ulong)int64MaxValue}'. Expected: '9223372036854775807'."); + Console.WriteLine($"'(ulong)9223372036854775807' was evaluated to '{(ulong)int64MaxValue}'. Expected: '9223372036854775807'."); _counter++; } } @@ -5011,7 +5011,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneDecrementUnderInt64MaxValue) != 9223372036854775806) { - Console.WriteLine($"'(ulong)9223372036854775806' was evaluted to '{(ulong)integerOneDecrementUnderInt64MaxValue}'. Expected: '9223372036854775806'."); + Console.WriteLine($"'(ulong)9223372036854775806' was evaluated to '{(ulong)integerOneDecrementUnderInt64MaxValue}'. Expected: '9223372036854775806'."); _counter++; } } @@ -5030,7 +5030,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerZero) != 0f) { - Console.WriteLine($"'(float)0' was evaluted to '{(float)integerZero}'. Expected: '0f'."); + Console.WriteLine($"'(float)0' was evaluated to '{(float)integerZero}'. Expected: '0f'."); _counter++; } } @@ -5045,7 +5045,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)sByteMaxValue) != 127f) { - Console.WriteLine($"'(float)127' was evaluted to '{(float)sByteMaxValue}'. Expected: '127f'."); + Console.WriteLine($"'(float)127' was evaluated to '{(float)sByteMaxValue}'. Expected: '127f'."); _counter++; } } @@ -5060,7 +5060,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneDecrementUnderSByteMaxValue) != 126f) { - Console.WriteLine($"'(float)126' was evaluted to '{(float)integerOneDecrementUnderSByteMaxValue}'. Expected: '126f'."); + Console.WriteLine($"'(float)126' was evaluated to '{(float)integerOneDecrementUnderSByteMaxValue}'. Expected: '126f'."); _counter++; } } @@ -5075,7 +5075,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneIncrementAboveSByteMaxValue) != 128f) { - Console.WriteLine($"'(float)128' was evaluted to '{(float)integerOneIncrementAboveSByteMaxValue}'. Expected: '128f'."); + Console.WriteLine($"'(float)128' was evaluated to '{(float)integerOneIncrementAboveSByteMaxValue}'. Expected: '128f'."); _counter++; } } @@ -5090,7 +5090,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)byteMaxValue) != 255f) { - Console.WriteLine($"'(float)255' was evaluted to '{(float)byteMaxValue}'. Expected: '255f'."); + Console.WriteLine($"'(float)255' was evaluated to '{(float)byteMaxValue}'. Expected: '255f'."); _counter++; } } @@ -5105,7 +5105,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneIncrementAboveByteMinValue) != 1f) { - Console.WriteLine($"'(float)1' was evaluted to '{(float)integerOneIncrementAboveByteMinValue}'. Expected: '1f'."); + Console.WriteLine($"'(float)1' was evaluated to '{(float)integerOneIncrementAboveByteMinValue}'. Expected: '1f'."); _counter++; } } @@ -5120,7 +5120,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneDecrementUnderByteMaxValue) != 254f) { - Console.WriteLine($"'(float)254' was evaluted to '{(float)integerOneDecrementUnderByteMaxValue}'. Expected: '254f'."); + Console.WriteLine($"'(float)254' was evaluated to '{(float)integerOneDecrementUnderByteMaxValue}'. Expected: '254f'."); _counter++; } } @@ -5135,7 +5135,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneIncrementAboveByteMaxValue) != 256f) { - Console.WriteLine($"'(float)256' was evaluted to '{(float)integerOneIncrementAboveByteMaxValue}'. Expected: '256f'."); + Console.WriteLine($"'(float)256' was evaluated to '{(float)integerOneIncrementAboveByteMaxValue}'. Expected: '256f'."); _counter++; } } @@ -5150,7 +5150,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)int16MaxValue) != 32767f) { - Console.WriteLine($"'(float)32767' was evaluted to '{(float)int16MaxValue}'. Expected: '32767f'."); + Console.WriteLine($"'(float)32767' was evaluated to '{(float)int16MaxValue}'. Expected: '32767f'."); _counter++; } } @@ -5165,7 +5165,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneDecrementUnderInt16MaxValue) != 32766f) { - Console.WriteLine($"'(float)32766' was evaluted to '{(float)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766f'."); + Console.WriteLine($"'(float)32766' was evaluated to '{(float)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766f'."); _counter++; } } @@ -5180,7 +5180,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneIncrementAboveInt16MaxValue) != 32768f) { - Console.WriteLine($"'(float)32768' was evaluted to '{(float)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768f'."); + Console.WriteLine($"'(float)32768' was evaluated to '{(float)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768f'."); _counter++; } } @@ -5195,7 +5195,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)uInt16MaxValue) != 65535f) { - Console.WriteLine($"'(float)65535' was evaluted to '{(float)uInt16MaxValue}'. Expected: '65535f'."); + Console.WriteLine($"'(float)65535' was evaluated to '{(float)uInt16MaxValue}'. Expected: '65535f'."); _counter++; } } @@ -5210,7 +5210,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneDecrementUnderUInt16MaxValue) != 65534f) { - Console.WriteLine($"'(float)65534' was evaluted to '{(float)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534f'."); + Console.WriteLine($"'(float)65534' was evaluated to '{(float)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534f'."); _counter++; } } @@ -5225,7 +5225,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneIncrementAboveUInt16MaxValue) != 65536f) { - Console.WriteLine($"'(float)65536' was evaluted to '{(float)integerOneIncrementAboveUInt16MaxValue}'. Expected: '65536f'."); + Console.WriteLine($"'(float)65536' was evaluated to '{(float)integerOneIncrementAboveUInt16MaxValue}'. Expected: '65536f'."); _counter++; } } @@ -5240,7 +5240,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)int32MaxValue) != 2.1474836E+09f) { - Console.WriteLine($"'(float)2147483647' was evaluted to '{(float)int32MaxValue}'. Expected: '2.1474836E+09f'."); + Console.WriteLine($"'(float)2147483647' was evaluated to '{(float)int32MaxValue}'. Expected: '2.1474836E+09f'."); _counter++; } } @@ -5255,7 +5255,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneDecrementUnderInt32MaxValue) != 2.1474836E+09f) { - Console.WriteLine($"'(float)2147483646' was evaluted to '{(float)integerOneDecrementUnderInt32MaxValue}'. Expected: '2.1474836E+09f'."); + Console.WriteLine($"'(float)2147483646' was evaluated to '{(float)integerOneDecrementUnderInt32MaxValue}'. Expected: '2.1474836E+09f'."); _counter++; } } @@ -5270,7 +5270,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneIncrementAboveInt32MaxValue) != 2.1474836E+09f) { - Console.WriteLine($"'(float)2147483648' was evaluted to '{(float)integerOneIncrementAboveInt32MaxValue}'. Expected: '2.1474836E+09f'."); + Console.WriteLine($"'(float)2147483648' was evaluated to '{(float)integerOneIncrementAboveInt32MaxValue}'. Expected: '2.1474836E+09f'."); _counter++; } } @@ -5285,7 +5285,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)uInt32MaxValue) != 4.2949673E+09f) { - Console.WriteLine($"'(float)4294967295' was evaluted to '{(float)uInt32MaxValue}'. Expected: '4.2949673E+09f'."); + Console.WriteLine($"'(float)4294967295' was evaluated to '{(float)uInt32MaxValue}'. Expected: '4.2949673E+09f'."); _counter++; } } @@ -5300,7 +5300,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneDecrementUnderUInt32MaxValue) != 4.2949673E+09f) { - Console.WriteLine($"'(float)4294967294' was evaluted to '{(float)integerOneDecrementUnderUInt32MaxValue}'. Expected: '4.2949673E+09f'."); + Console.WriteLine($"'(float)4294967294' was evaluated to '{(float)integerOneDecrementUnderUInt32MaxValue}'. Expected: '4.2949673E+09f'."); _counter++; } } @@ -5315,7 +5315,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneIncrementAboveUInt32MaxValue) != 4.2949673E+09f) { - Console.WriteLine($"'(float)4294967296' was evaluted to '{(float)integerOneIncrementAboveUInt32MaxValue}'. Expected: '4.2949673E+09f'."); + Console.WriteLine($"'(float)4294967296' was evaluated to '{(float)integerOneIncrementAboveUInt32MaxValue}'. Expected: '4.2949673E+09f'."); _counter++; } } @@ -5330,7 +5330,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)int64MaxValue) != 9.223372E+18f) { - Console.WriteLine($"'(float)9223372036854775807' was evaluted to '{(float)int64MaxValue}'. Expected: '9.223372E+18f'."); + Console.WriteLine($"'(float)9223372036854775807' was evaluated to '{(float)int64MaxValue}'. Expected: '9.223372E+18f'."); _counter++; } } @@ -5345,7 +5345,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneDecrementUnderInt64MaxValue) != 9.223372E+18f) { - Console.WriteLine($"'(float)9223372036854775806' was evaluted to '{(float)integerOneDecrementUnderInt64MaxValue}'. Expected: '9.223372E+18f'."); + Console.WriteLine($"'(float)9223372036854775806' was evaluated to '{(float)integerOneDecrementUnderInt64MaxValue}'. Expected: '9.223372E+18f'."); _counter++; } } @@ -5360,7 +5360,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneIncrementAboveInt64MaxValue) != 9.223372E+18f) { - Console.WriteLine($"'(float)9223372036854775808' was evaluted to '{(float)integerOneIncrementAboveInt64MaxValue}'. Expected: '9.223372E+18f'."); + Console.WriteLine($"'(float)9223372036854775808' was evaluated to '{(float)integerOneIncrementAboveInt64MaxValue}'. Expected: '9.223372E+18f'."); _counter++; } } @@ -5375,7 +5375,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)uInt64MaxValue) != 1.8446744E+19f) { - Console.WriteLine($"'(float)18446744073709551615' was evaluted to '{(float)uInt64MaxValue}'. Expected: '1.8446744E+19f'."); + Console.WriteLine($"'(float)18446744073709551615' was evaluated to '{(float)uInt64MaxValue}'. Expected: '1.8446744E+19f'."); _counter++; } } @@ -5390,7 +5390,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneDecrementUnderUInt64MaxValue) != 1.8446744E+19f) { - Console.WriteLine($"'(float)18446744073709551614' was evaluted to '{(float)integerOneDecrementUnderUInt64MaxValue}'. Expected: '1.8446744E+19f'."); + Console.WriteLine($"'(float)18446744073709551614' was evaluated to '{(float)integerOneDecrementUnderUInt64MaxValue}'. Expected: '1.8446744E+19f'."); _counter++; } } @@ -5409,7 +5409,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerZero) != 0d) { - Console.WriteLine($"'(double)0' was evaluted to '{(double)integerZero}'. Expected: '0d'."); + Console.WriteLine($"'(double)0' was evaluated to '{(double)integerZero}'. Expected: '0d'."); _counter++; } } @@ -5424,7 +5424,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)sByteMaxValue) != 127d) { - Console.WriteLine($"'(double)127' was evaluted to '{(double)sByteMaxValue}'. Expected: '127d'."); + Console.WriteLine($"'(double)127' was evaluated to '{(double)sByteMaxValue}'. Expected: '127d'."); _counter++; } } @@ -5439,7 +5439,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneDecrementUnderSByteMaxValue) != 126d) { - Console.WriteLine($"'(double)126' was evaluted to '{(double)integerOneDecrementUnderSByteMaxValue}'. Expected: '126d'."); + Console.WriteLine($"'(double)126' was evaluated to '{(double)integerOneDecrementUnderSByteMaxValue}'. Expected: '126d'."); _counter++; } } @@ -5454,7 +5454,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneIncrementAboveSByteMaxValue) != 128d) { - Console.WriteLine($"'(double)128' was evaluted to '{(double)integerOneIncrementAboveSByteMaxValue}'. Expected: '128d'."); + Console.WriteLine($"'(double)128' was evaluated to '{(double)integerOneIncrementAboveSByteMaxValue}'. Expected: '128d'."); _counter++; } } @@ -5469,7 +5469,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)byteMaxValue) != 255d) { - Console.WriteLine($"'(double)255' was evaluted to '{(double)byteMaxValue}'. Expected: '255d'."); + Console.WriteLine($"'(double)255' was evaluated to '{(double)byteMaxValue}'. Expected: '255d'."); _counter++; } } @@ -5484,7 +5484,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneIncrementAboveByteMinValue) != 1d) { - Console.WriteLine($"'(double)1' was evaluted to '{(double)integerOneIncrementAboveByteMinValue}'. Expected: '1d'."); + Console.WriteLine($"'(double)1' was evaluated to '{(double)integerOneIncrementAboveByteMinValue}'. Expected: '1d'."); _counter++; } } @@ -5499,7 +5499,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneDecrementUnderByteMaxValue) != 254d) { - Console.WriteLine($"'(double)254' was evaluted to '{(double)integerOneDecrementUnderByteMaxValue}'. Expected: '254d'."); + Console.WriteLine($"'(double)254' was evaluated to '{(double)integerOneDecrementUnderByteMaxValue}'. Expected: '254d'."); _counter++; } } @@ -5514,7 +5514,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneIncrementAboveByteMaxValue) != 256d) { - Console.WriteLine($"'(double)256' was evaluted to '{(double)integerOneIncrementAboveByteMaxValue}'. Expected: '256d'."); + Console.WriteLine($"'(double)256' was evaluated to '{(double)integerOneIncrementAboveByteMaxValue}'. Expected: '256d'."); _counter++; } } @@ -5529,7 +5529,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)int16MaxValue) != 32767d) { - Console.WriteLine($"'(double)32767' was evaluted to '{(double)int16MaxValue}'. Expected: '32767d'."); + Console.WriteLine($"'(double)32767' was evaluated to '{(double)int16MaxValue}'. Expected: '32767d'."); _counter++; } } @@ -5544,7 +5544,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneDecrementUnderInt16MaxValue) != 32766d) { - Console.WriteLine($"'(double)32766' was evaluted to '{(double)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766d'."); + Console.WriteLine($"'(double)32766' was evaluated to '{(double)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766d'."); _counter++; } } @@ -5559,7 +5559,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneIncrementAboveInt16MaxValue) != 32768d) { - Console.WriteLine($"'(double)32768' was evaluted to '{(double)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768d'."); + Console.WriteLine($"'(double)32768' was evaluated to '{(double)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768d'."); _counter++; } } @@ -5574,7 +5574,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)uInt16MaxValue) != 65535d) { - Console.WriteLine($"'(double)65535' was evaluted to '{(double)uInt16MaxValue}'. Expected: '65535d'."); + Console.WriteLine($"'(double)65535' was evaluated to '{(double)uInt16MaxValue}'. Expected: '65535d'."); _counter++; } } @@ -5589,7 +5589,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneDecrementUnderUInt16MaxValue) != 65534d) { - Console.WriteLine($"'(double)65534' was evaluted to '{(double)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534d'."); + Console.WriteLine($"'(double)65534' was evaluated to '{(double)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534d'."); _counter++; } } @@ -5604,7 +5604,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneIncrementAboveUInt16MaxValue) != 65536d) { - Console.WriteLine($"'(double)65536' was evaluted to '{(double)integerOneIncrementAboveUInt16MaxValue}'. Expected: '65536d'."); + Console.WriteLine($"'(double)65536' was evaluated to '{(double)integerOneIncrementAboveUInt16MaxValue}'. Expected: '65536d'."); _counter++; } } @@ -5619,7 +5619,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)int32MaxValue) != 2147483647d) { - Console.WriteLine($"'(double)2147483647' was evaluted to '{(double)int32MaxValue}'. Expected: '2147483647d'."); + Console.WriteLine($"'(double)2147483647' was evaluated to '{(double)int32MaxValue}'. Expected: '2147483647d'."); _counter++; } } @@ -5634,7 +5634,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneDecrementUnderInt32MaxValue) != 2147483646d) { - Console.WriteLine($"'(double)2147483646' was evaluted to '{(double)integerOneDecrementUnderInt32MaxValue}'. Expected: '2147483646d'."); + Console.WriteLine($"'(double)2147483646' was evaluated to '{(double)integerOneDecrementUnderInt32MaxValue}'. Expected: '2147483646d'."); _counter++; } } @@ -5649,7 +5649,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneIncrementAboveInt32MaxValue) != 2147483648d) { - Console.WriteLine($"'(double)2147483648' was evaluted to '{(double)integerOneIncrementAboveInt32MaxValue}'. Expected: '2147483648d'."); + Console.WriteLine($"'(double)2147483648' was evaluated to '{(double)integerOneIncrementAboveInt32MaxValue}'. Expected: '2147483648d'."); _counter++; } } @@ -5664,7 +5664,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)uInt32MaxValue) != 4294967295d) { - Console.WriteLine($"'(double)4294967295' was evaluted to '{(double)uInt32MaxValue}'. Expected: '4294967295d'."); + Console.WriteLine($"'(double)4294967295' was evaluated to '{(double)uInt32MaxValue}'. Expected: '4294967295d'."); _counter++; } } @@ -5679,7 +5679,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneDecrementUnderUInt32MaxValue) != 4294967294d) { - Console.WriteLine($"'(double)4294967294' was evaluted to '{(double)integerOneDecrementUnderUInt32MaxValue}'. Expected: '4294967294d'."); + Console.WriteLine($"'(double)4294967294' was evaluated to '{(double)integerOneDecrementUnderUInt32MaxValue}'. Expected: '4294967294d'."); _counter++; } } @@ -5694,7 +5694,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneIncrementAboveUInt32MaxValue) != 4294967296d) { - Console.WriteLine($"'(double)4294967296' was evaluted to '{(double)integerOneIncrementAboveUInt32MaxValue}'. Expected: '4294967296d'."); + Console.WriteLine($"'(double)4294967296' was evaluated to '{(double)integerOneIncrementAboveUInt32MaxValue}'. Expected: '4294967296d'."); _counter++; } } @@ -5709,7 +5709,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)int64MaxValue) != 9.223372036854776E+18d) { - Console.WriteLine($"'(double)9223372036854775807' was evaluted to '{(double)int64MaxValue}'. Expected: '9.223372036854776E+18d'."); + Console.WriteLine($"'(double)9223372036854775807' was evaluated to '{(double)int64MaxValue}'. Expected: '9.223372036854776E+18d'."); _counter++; } } @@ -5724,7 +5724,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneDecrementUnderInt64MaxValue) != 9.223372036854776E+18d) { - Console.WriteLine($"'(double)9223372036854775806' was evaluted to '{(double)integerOneDecrementUnderInt64MaxValue}'. Expected: '9.223372036854776E+18d'."); + Console.WriteLine($"'(double)9223372036854775806' was evaluated to '{(double)integerOneDecrementUnderInt64MaxValue}'. Expected: '9.223372036854776E+18d'."); _counter++; } } @@ -5739,7 +5739,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneIncrementAboveInt64MaxValue) != 9.223372036854776E+18d) { - Console.WriteLine($"'(double)9223372036854775808' was evaluted to '{(double)integerOneIncrementAboveInt64MaxValue}'. Expected: '9.223372036854776E+18d'."); + Console.WriteLine($"'(double)9223372036854775808' was evaluated to '{(double)integerOneIncrementAboveInt64MaxValue}'. Expected: '9.223372036854776E+18d'."); _counter++; } } @@ -5754,7 +5754,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)uInt64MaxValue) != 1.8446744073709552E+19d) { - Console.WriteLine($"'(double)18446744073709551615' was evaluted to '{(double)uInt64MaxValue}'. Expected: '1.8446744073709552E+19d'."); + Console.WriteLine($"'(double)18446744073709551615' was evaluated to '{(double)uInt64MaxValue}'. Expected: '1.8446744073709552E+19d'."); _counter++; } } @@ -5769,7 +5769,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneDecrementUnderUInt64MaxValue) != 1.8446744073709552E+19d) { - Console.WriteLine($"'(double)18446744073709551614' was evaluted to '{(double)integerOneDecrementUnderUInt64MaxValue}'. Expected: '1.8446744073709552E+19d'."); + Console.WriteLine($"'(double)18446744073709551614' was evaluated to '{(double)integerOneDecrementUnderUInt64MaxValue}'. Expected: '1.8446744073709552E+19d'."); _counter++; } } @@ -5788,7 +5788,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)integerZero) != 0) { - Console.WriteLine($"'(sbyte)0' was evaluted to '{(sbyte)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(sbyte)0' was evaluated to '{(sbyte)integerZero}'. Expected: '0'."); _counter++; } } @@ -5803,7 +5803,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)sByteMaxValue) != 127) { - Console.WriteLine($"'(sbyte)127' was evaluted to '{(sbyte)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(sbyte)127' was evaluated to '{(sbyte)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -5818,7 +5818,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(sbyte)126' was evaluted to '{(sbyte)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(sbyte)126' was evaluated to '{(sbyte)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -5861,7 +5861,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(sbyte)1' was evaluted to '{(sbyte)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(sbyte)1' was evaluated to '{(sbyte)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -6146,7 +6146,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)integerZero) != 0) { - Console.WriteLine($"'(byte)0' was evaluted to '{(byte)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(byte)0' was evaluated to '{(byte)integerZero}'. Expected: '0'."); _counter++; } } @@ -6161,7 +6161,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)sByteMaxValue) != 127) { - Console.WriteLine($"'(byte)127' was evaluted to '{(byte)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(byte)127' was evaluated to '{(byte)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -6176,7 +6176,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(byte)126' was evaluted to '{(byte)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(byte)126' was evaluated to '{(byte)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -6191,7 +6191,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)integerOneIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(byte)128' was evaluted to '{(byte)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(byte)128' was evaluated to '{(byte)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -6206,7 +6206,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)byteMaxValue) != 255) { - Console.WriteLine($"'(byte)255' was evaluted to '{(byte)byteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(byte)255' was evaluated to '{(byte)byteMaxValue}'. Expected: '255'."); _counter++; } } @@ -6221,7 +6221,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(byte)1' was evaluted to '{(byte)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(byte)1' was evaluated to '{(byte)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -6236,7 +6236,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)integerOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(byte)254' was evaluted to '{(byte)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(byte)254' was evaluated to '{(byte)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -6507,7 +6507,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerZero) != 0) { - Console.WriteLine($"'(short)0' was evaluted to '{(short)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(short)0' was evaluated to '{(short)integerZero}'. Expected: '0'."); _counter++; } } @@ -6522,7 +6522,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)sByteMaxValue) != 127) { - Console.WriteLine($"'(short)127' was evaluted to '{(short)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(short)127' was evaluated to '{(short)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -6537,7 +6537,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(short)126' was evaluted to '{(short)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(short)126' was evaluated to '{(short)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -6552,7 +6552,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(short)128' was evaluted to '{(short)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(short)128' was evaluated to '{(short)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -6567,7 +6567,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)byteMaxValue) != 255) { - Console.WriteLine($"'(short)255' was evaluted to '{(short)byteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(short)255' was evaluated to '{(short)byteMaxValue}'. Expected: '255'."); _counter++; } } @@ -6582,7 +6582,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(short)1' was evaluted to '{(short)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(short)1' was evaluated to '{(short)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -6597,7 +6597,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(short)254' was evaluted to '{(short)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(short)254' was evaluated to '{(short)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -6612,7 +6612,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneIncrementAboveByteMaxValue) != 256) { - Console.WriteLine($"'(short)256' was evaluted to '{(short)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); + Console.WriteLine($"'(short)256' was evaluated to '{(short)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); _counter++; } } @@ -6627,7 +6627,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)int16MaxValue) != 32767) { - Console.WriteLine($"'(short)32767' was evaluted to '{(short)int16MaxValue}'. Expected: '32767'."); + Console.WriteLine($"'(short)32767' was evaluated to '{(short)int16MaxValue}'. Expected: '32767'."); _counter++; } } @@ -6642,7 +6642,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneDecrementUnderInt16MaxValue) != 32766) { - Console.WriteLine($"'(short)32766' was evaluted to '{(short)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); + Console.WriteLine($"'(short)32766' was evaluated to '{(short)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); _counter++; } } @@ -6871,7 +6871,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerZero) != 0) { - Console.WriteLine($"'(ushort)0' was evaluted to '{(ushort)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(ushort)0' was evaluated to '{(ushort)integerZero}'. Expected: '0'."); _counter++; } } @@ -6886,7 +6886,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)sByteMaxValue) != 127) { - Console.WriteLine($"'(ushort)127' was evaluted to '{(ushort)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(ushort)127' was evaluated to '{(ushort)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -6901,7 +6901,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(ushort)126' was evaluted to '{(ushort)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(ushort)126' was evaluated to '{(ushort)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -6916,7 +6916,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerOneIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(ushort)128' was evaluted to '{(ushort)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(ushort)128' was evaluated to '{(ushort)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -6931,7 +6931,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)byteMaxValue) != 255) { - Console.WriteLine($"'(ushort)255' was evaluted to '{(ushort)byteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(ushort)255' was evaluated to '{(ushort)byteMaxValue}'. Expected: '255'."); _counter++; } } @@ -6946,7 +6946,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(ushort)1' was evaluted to '{(ushort)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(ushort)1' was evaluated to '{(ushort)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -6961,7 +6961,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(ushort)254' was evaluted to '{(ushort)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(ushort)254' was evaluated to '{(ushort)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -6976,7 +6976,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerOneIncrementAboveByteMaxValue) != 256) { - Console.WriteLine($"'(ushort)256' was evaluted to '{(ushort)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); + Console.WriteLine($"'(ushort)256' was evaluated to '{(ushort)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); _counter++; } } @@ -6991,7 +6991,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)int16MaxValue) != 32767) { - Console.WriteLine($"'(ushort)32767' was evaluted to '{(ushort)int16MaxValue}'. Expected: '32767'."); + Console.WriteLine($"'(ushort)32767' was evaluated to '{(ushort)int16MaxValue}'. Expected: '32767'."); _counter++; } } @@ -7006,7 +7006,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerOneDecrementUnderInt16MaxValue) != 32766) { - Console.WriteLine($"'(ushort)32766' was evaluted to '{(ushort)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); + Console.WriteLine($"'(ushort)32766' was evaluated to '{(ushort)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); _counter++; } } @@ -7021,7 +7021,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerOneIncrementAboveInt16MaxValue) != 32768) { - Console.WriteLine($"'(ushort)32768' was evaluted to '{(ushort)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768'."); + Console.WriteLine($"'(ushort)32768' was evaluated to '{(ushort)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768'."); _counter++; } } @@ -7036,7 +7036,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)uInt16MaxValue) != 65535) { - Console.WriteLine($"'(ushort)65535' was evaluted to '{(ushort)uInt16MaxValue}'. Expected: '65535'."); + Console.WriteLine($"'(ushort)65535' was evaluated to '{(ushort)uInt16MaxValue}'. Expected: '65535'."); _counter++; } } @@ -7051,7 +7051,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerOneDecrementUnderUInt16MaxValue) != 65534) { - Console.WriteLine($"'(ushort)65534' was evaluted to '{(ushort)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); + Console.WriteLine($"'(ushort)65534' was evaluated to '{(ushort)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); _counter++; } } @@ -7238,7 +7238,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerZero) != 0) { - Console.WriteLine($"'(int)0' was evaluted to '{(int)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(int)0' was evaluated to '{(int)integerZero}'. Expected: '0'."); _counter++; } } @@ -7253,7 +7253,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)sByteMaxValue) != 127) { - Console.WriteLine($"'(int)127' was evaluted to '{(int)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(int)127' was evaluated to '{(int)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -7268,7 +7268,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(int)126' was evaluted to '{(int)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(int)126' was evaluated to '{(int)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -7283,7 +7283,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(int)128' was evaluted to '{(int)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(int)128' was evaluated to '{(int)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -7298,7 +7298,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)byteMaxValue) != 255) { - Console.WriteLine($"'(int)255' was evaluted to '{(int)byteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(int)255' was evaluated to '{(int)byteMaxValue}'. Expected: '255'."); _counter++; } } @@ -7313,7 +7313,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(int)1' was evaluted to '{(int)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(int)1' was evaluated to '{(int)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -7328,7 +7328,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(int)254' was evaluted to '{(int)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(int)254' was evaluated to '{(int)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -7343,7 +7343,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneIncrementAboveByteMaxValue) != 256) { - Console.WriteLine($"'(int)256' was evaluted to '{(int)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); + Console.WriteLine($"'(int)256' was evaluated to '{(int)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); _counter++; } } @@ -7358,7 +7358,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)int16MaxValue) != 32767) { - Console.WriteLine($"'(int)32767' was evaluted to '{(int)int16MaxValue}'. Expected: '32767'."); + Console.WriteLine($"'(int)32767' was evaluated to '{(int)int16MaxValue}'. Expected: '32767'."); _counter++; } } @@ -7373,7 +7373,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneDecrementUnderInt16MaxValue) != 32766) { - Console.WriteLine($"'(int)32766' was evaluted to '{(int)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); + Console.WriteLine($"'(int)32766' was evaluated to '{(int)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); _counter++; } } @@ -7388,7 +7388,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneIncrementAboveInt16MaxValue) != 32768) { - Console.WriteLine($"'(int)32768' was evaluted to '{(int)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768'."); + Console.WriteLine($"'(int)32768' was evaluated to '{(int)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768'."); _counter++; } } @@ -7403,7 +7403,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)uInt16MaxValue) != 65535) { - Console.WriteLine($"'(int)65535' was evaluted to '{(int)uInt16MaxValue}'. Expected: '65535'."); + Console.WriteLine($"'(int)65535' was evaluated to '{(int)uInt16MaxValue}'. Expected: '65535'."); _counter++; } } @@ -7418,7 +7418,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneDecrementUnderUInt16MaxValue) != 65534) { - Console.WriteLine($"'(int)65534' was evaluted to '{(int)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); + Console.WriteLine($"'(int)65534' was evaluated to '{(int)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); _counter++; } } @@ -7433,7 +7433,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneIncrementAboveUInt16MaxValue) != 65536) { - Console.WriteLine($"'(int)65536' was evaluted to '{(int)integerOneIncrementAboveUInt16MaxValue}'. Expected: '65536'."); + Console.WriteLine($"'(int)65536' was evaluated to '{(int)integerOneIncrementAboveUInt16MaxValue}'. Expected: '65536'."); _counter++; } } @@ -7448,7 +7448,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)int32MaxValue) != 2147483647) { - Console.WriteLine($"'(int)2147483647' was evaluted to '{(int)int32MaxValue}'. Expected: '2147483647'."); + Console.WriteLine($"'(int)2147483647' was evaluated to '{(int)int32MaxValue}'. Expected: '2147483647'."); _counter++; } } @@ -7463,7 +7463,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneDecrementUnderInt32MaxValue) != 2147483646) { - Console.WriteLine($"'(int)2147483646' was evaluted to '{(int)integerOneDecrementUnderInt32MaxValue}'. Expected: '2147483646'."); + Console.WriteLine($"'(int)2147483646' was evaluated to '{(int)integerOneDecrementUnderInt32MaxValue}'. Expected: '2147483646'."); _counter++; } } @@ -7608,7 +7608,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerZero) != 0) { - Console.WriteLine($"'(uint)0' was evaluted to '{(uint)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(uint)0' was evaluated to '{(uint)integerZero}'. Expected: '0'."); _counter++; } } @@ -7623,7 +7623,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)sByteMaxValue) != 127) { - Console.WriteLine($"'(uint)127' was evaluted to '{(uint)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(uint)127' was evaluated to '{(uint)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -7638,7 +7638,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(uint)126' was evaluted to '{(uint)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(uint)126' was evaluated to '{(uint)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -7653,7 +7653,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(uint)128' was evaluted to '{(uint)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(uint)128' was evaluated to '{(uint)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -7668,7 +7668,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)byteMaxValue) != 255) { - Console.WriteLine($"'(uint)255' was evaluted to '{(uint)byteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(uint)255' was evaluated to '{(uint)byteMaxValue}'. Expected: '255'."); _counter++; } } @@ -7683,7 +7683,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(uint)1' was evaluted to '{(uint)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(uint)1' was evaluated to '{(uint)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -7698,7 +7698,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(uint)254' was evaluted to '{(uint)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(uint)254' was evaluated to '{(uint)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -7713,7 +7713,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneIncrementAboveByteMaxValue) != 256) { - Console.WriteLine($"'(uint)256' was evaluted to '{(uint)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); + Console.WriteLine($"'(uint)256' was evaluated to '{(uint)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); _counter++; } } @@ -7728,7 +7728,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)int16MaxValue) != 32767) { - Console.WriteLine($"'(uint)32767' was evaluted to '{(uint)int16MaxValue}'. Expected: '32767'."); + Console.WriteLine($"'(uint)32767' was evaluated to '{(uint)int16MaxValue}'. Expected: '32767'."); _counter++; } } @@ -7743,7 +7743,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneDecrementUnderInt16MaxValue) != 32766) { - Console.WriteLine($"'(uint)32766' was evaluted to '{(uint)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); + Console.WriteLine($"'(uint)32766' was evaluated to '{(uint)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); _counter++; } } @@ -7758,7 +7758,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneIncrementAboveInt16MaxValue) != 32768) { - Console.WriteLine($"'(uint)32768' was evaluted to '{(uint)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768'."); + Console.WriteLine($"'(uint)32768' was evaluated to '{(uint)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768'."); _counter++; } } @@ -7773,7 +7773,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)uInt16MaxValue) != 65535) { - Console.WriteLine($"'(uint)65535' was evaluted to '{(uint)uInt16MaxValue}'. Expected: '65535'."); + Console.WriteLine($"'(uint)65535' was evaluated to '{(uint)uInt16MaxValue}'. Expected: '65535'."); _counter++; } } @@ -7788,7 +7788,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneDecrementUnderUInt16MaxValue) != 65534) { - Console.WriteLine($"'(uint)65534' was evaluted to '{(uint)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); + Console.WriteLine($"'(uint)65534' was evaluated to '{(uint)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); _counter++; } } @@ -7803,7 +7803,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneIncrementAboveUInt16MaxValue) != 65536) { - Console.WriteLine($"'(uint)65536' was evaluted to '{(uint)integerOneIncrementAboveUInt16MaxValue}'. Expected: '65536'."); + Console.WriteLine($"'(uint)65536' was evaluated to '{(uint)integerOneIncrementAboveUInt16MaxValue}'. Expected: '65536'."); _counter++; } } @@ -7818,7 +7818,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)int32MaxValue) != 2147483647) { - Console.WriteLine($"'(uint)2147483647' was evaluted to '{(uint)int32MaxValue}'. Expected: '2147483647'."); + Console.WriteLine($"'(uint)2147483647' was evaluated to '{(uint)int32MaxValue}'. Expected: '2147483647'."); _counter++; } } @@ -7833,7 +7833,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneDecrementUnderInt32MaxValue) != 2147483646) { - Console.WriteLine($"'(uint)2147483646' was evaluted to '{(uint)integerOneDecrementUnderInt32MaxValue}'. Expected: '2147483646'."); + Console.WriteLine($"'(uint)2147483646' was evaluated to '{(uint)integerOneDecrementUnderInt32MaxValue}'. Expected: '2147483646'."); _counter++; } } @@ -7848,7 +7848,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneIncrementAboveInt32MaxValue) != 2147483648) { - Console.WriteLine($"'(uint)2147483648' was evaluted to '{(uint)integerOneIncrementAboveInt32MaxValue}'. Expected: '2147483648'."); + Console.WriteLine($"'(uint)2147483648' was evaluated to '{(uint)integerOneIncrementAboveInt32MaxValue}'. Expected: '2147483648'."); _counter++; } } @@ -7863,7 +7863,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)uInt32MaxValue) != 4294967295) { - Console.WriteLine($"'(uint)4294967295' was evaluted to '{(uint)uInt32MaxValue}'. Expected: '4294967295'."); + Console.WriteLine($"'(uint)4294967295' was evaluated to '{(uint)uInt32MaxValue}'. Expected: '4294967295'."); _counter++; } } @@ -7878,7 +7878,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneDecrementUnderUInt32MaxValue) != 4294967294) { - Console.WriteLine($"'(uint)4294967294' was evaluted to '{(uint)integerOneDecrementUnderUInt32MaxValue}'. Expected: '4294967294'."); + Console.WriteLine($"'(uint)4294967294' was evaluated to '{(uint)integerOneDecrementUnderUInt32MaxValue}'. Expected: '4294967294'."); _counter++; } } @@ -7981,7 +7981,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerZero) != 0) { - Console.WriteLine($"'(long)0' was evaluted to '{(long)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(long)0' was evaluated to '{(long)integerZero}'. Expected: '0'."); _counter++; } } @@ -7996,7 +7996,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)sByteMaxValue) != 127) { - Console.WriteLine($"'(long)127' was evaluted to '{(long)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(long)127' was evaluated to '{(long)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -8011,7 +8011,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(long)126' was evaluted to '{(long)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(long)126' was evaluated to '{(long)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -8026,7 +8026,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(long)128' was evaluted to '{(long)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(long)128' was evaluated to '{(long)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -8041,7 +8041,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)byteMaxValue) != 255) { - Console.WriteLine($"'(long)255' was evaluted to '{(long)byteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(long)255' was evaluated to '{(long)byteMaxValue}'. Expected: '255'."); _counter++; } } @@ -8056,7 +8056,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(long)1' was evaluted to '{(long)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(long)1' was evaluated to '{(long)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -8071,7 +8071,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(long)254' was evaluted to '{(long)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(long)254' was evaluated to '{(long)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -8086,7 +8086,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneIncrementAboveByteMaxValue) != 256) { - Console.WriteLine($"'(long)256' was evaluted to '{(long)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); + Console.WriteLine($"'(long)256' was evaluated to '{(long)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); _counter++; } } @@ -8101,7 +8101,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)int16MaxValue) != 32767) { - Console.WriteLine($"'(long)32767' was evaluted to '{(long)int16MaxValue}'. Expected: '32767'."); + Console.WriteLine($"'(long)32767' was evaluated to '{(long)int16MaxValue}'. Expected: '32767'."); _counter++; } } @@ -8116,7 +8116,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneDecrementUnderInt16MaxValue) != 32766) { - Console.WriteLine($"'(long)32766' was evaluted to '{(long)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); + Console.WriteLine($"'(long)32766' was evaluated to '{(long)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); _counter++; } } @@ -8131,7 +8131,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneIncrementAboveInt16MaxValue) != 32768) { - Console.WriteLine($"'(long)32768' was evaluted to '{(long)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768'."); + Console.WriteLine($"'(long)32768' was evaluated to '{(long)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768'."); _counter++; } } @@ -8146,7 +8146,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)uInt16MaxValue) != 65535) { - Console.WriteLine($"'(long)65535' was evaluted to '{(long)uInt16MaxValue}'. Expected: '65535'."); + Console.WriteLine($"'(long)65535' was evaluated to '{(long)uInt16MaxValue}'. Expected: '65535'."); _counter++; } } @@ -8161,7 +8161,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneDecrementUnderUInt16MaxValue) != 65534) { - Console.WriteLine($"'(long)65534' was evaluted to '{(long)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); + Console.WriteLine($"'(long)65534' was evaluated to '{(long)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); _counter++; } } @@ -8176,7 +8176,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneIncrementAboveUInt16MaxValue) != 65536) { - Console.WriteLine($"'(long)65536' was evaluted to '{(long)integerOneIncrementAboveUInt16MaxValue}'. Expected: '65536'."); + Console.WriteLine($"'(long)65536' was evaluated to '{(long)integerOneIncrementAboveUInt16MaxValue}'. Expected: '65536'."); _counter++; } } @@ -8191,7 +8191,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)int32MaxValue) != 2147483647) { - Console.WriteLine($"'(long)2147483647' was evaluted to '{(long)int32MaxValue}'. Expected: '2147483647'."); + Console.WriteLine($"'(long)2147483647' was evaluated to '{(long)int32MaxValue}'. Expected: '2147483647'."); _counter++; } } @@ -8206,7 +8206,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneDecrementUnderInt32MaxValue) != 2147483646) { - Console.WriteLine($"'(long)2147483646' was evaluted to '{(long)integerOneDecrementUnderInt32MaxValue}'. Expected: '2147483646'."); + Console.WriteLine($"'(long)2147483646' was evaluated to '{(long)integerOneDecrementUnderInt32MaxValue}'. Expected: '2147483646'."); _counter++; } } @@ -8221,7 +8221,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneIncrementAboveInt32MaxValue) != 2147483648) { - Console.WriteLine($"'(long)2147483648' was evaluted to '{(long)integerOneIncrementAboveInt32MaxValue}'. Expected: '2147483648'."); + Console.WriteLine($"'(long)2147483648' was evaluated to '{(long)integerOneIncrementAboveInt32MaxValue}'. Expected: '2147483648'."); _counter++; } } @@ -8236,7 +8236,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)uInt32MaxValue) != 4294967295) { - Console.WriteLine($"'(long)4294967295' was evaluted to '{(long)uInt32MaxValue}'. Expected: '4294967295'."); + Console.WriteLine($"'(long)4294967295' was evaluated to '{(long)uInt32MaxValue}'. Expected: '4294967295'."); _counter++; } } @@ -8251,7 +8251,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneDecrementUnderUInt32MaxValue) != 4294967294) { - Console.WriteLine($"'(long)4294967294' was evaluted to '{(long)integerOneDecrementUnderUInt32MaxValue}'. Expected: '4294967294'."); + Console.WriteLine($"'(long)4294967294' was evaluated to '{(long)integerOneDecrementUnderUInt32MaxValue}'. Expected: '4294967294'."); _counter++; } } @@ -8266,7 +8266,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneIncrementAboveUInt32MaxValue) != 4294967296) { - Console.WriteLine($"'(long)4294967296' was evaluted to '{(long)integerOneIncrementAboveUInt32MaxValue}'. Expected: '4294967296'."); + Console.WriteLine($"'(long)4294967296' was evaluated to '{(long)integerOneIncrementAboveUInt32MaxValue}'. Expected: '4294967296'."); _counter++; } } @@ -8281,7 +8281,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)int64MaxValue) != 9223372036854775807) { - Console.WriteLine($"'(long)9223372036854775807' was evaluted to '{(long)int64MaxValue}'. Expected: '9223372036854775807'."); + Console.WriteLine($"'(long)9223372036854775807' was evaluated to '{(long)int64MaxValue}'. Expected: '9223372036854775807'."); _counter++; } } @@ -8296,7 +8296,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneDecrementUnderInt64MaxValue) != 9223372036854775806) { - Console.WriteLine($"'(long)9223372036854775806' was evaluted to '{(long)integerOneDecrementUnderInt64MaxValue}'. Expected: '9223372036854775806'."); + Console.WriteLine($"'(long)9223372036854775806' was evaluated to '{(long)integerOneDecrementUnderInt64MaxValue}'. Expected: '9223372036854775806'."); _counter++; } } @@ -8357,7 +8357,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerZero) != 0) { - Console.WriteLine($"'(ulong)0' was evaluted to '{(ulong)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(ulong)0' was evaluated to '{(ulong)integerZero}'. Expected: '0'."); _counter++; } } @@ -8372,7 +8372,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)sByteMaxValue) != 127) { - Console.WriteLine($"'(ulong)127' was evaluted to '{(ulong)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(ulong)127' was evaluated to '{(ulong)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -8387,7 +8387,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(ulong)126' was evaluted to '{(ulong)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(ulong)126' was evaluated to '{(ulong)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -8402,7 +8402,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(ulong)128' was evaluted to '{(ulong)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(ulong)128' was evaluated to '{(ulong)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -8417,7 +8417,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)byteMaxValue) != 255) { - Console.WriteLine($"'(ulong)255' was evaluted to '{(ulong)byteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(ulong)255' was evaluated to '{(ulong)byteMaxValue}'. Expected: '255'."); _counter++; } } @@ -8432,7 +8432,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(ulong)1' was evaluted to '{(ulong)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(ulong)1' was evaluated to '{(ulong)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -8447,7 +8447,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(ulong)254' was evaluted to '{(ulong)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(ulong)254' was evaluated to '{(ulong)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -8462,7 +8462,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneIncrementAboveByteMaxValue) != 256) { - Console.WriteLine($"'(ulong)256' was evaluted to '{(ulong)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); + Console.WriteLine($"'(ulong)256' was evaluated to '{(ulong)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); _counter++; } } @@ -8477,7 +8477,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)int16MaxValue) != 32767) { - Console.WriteLine($"'(ulong)32767' was evaluted to '{(ulong)int16MaxValue}'. Expected: '32767'."); + Console.WriteLine($"'(ulong)32767' was evaluated to '{(ulong)int16MaxValue}'. Expected: '32767'."); _counter++; } } @@ -8492,7 +8492,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneDecrementUnderInt16MaxValue) != 32766) { - Console.WriteLine($"'(ulong)32766' was evaluted to '{(ulong)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); + Console.WriteLine($"'(ulong)32766' was evaluated to '{(ulong)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); _counter++; } } @@ -8507,7 +8507,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneIncrementAboveInt16MaxValue) != 32768) { - Console.WriteLine($"'(ulong)32768' was evaluted to '{(ulong)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768'."); + Console.WriteLine($"'(ulong)32768' was evaluated to '{(ulong)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768'."); _counter++; } } @@ -8522,7 +8522,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)uInt16MaxValue) != 65535) { - Console.WriteLine($"'(ulong)65535' was evaluted to '{(ulong)uInt16MaxValue}'. Expected: '65535'."); + Console.WriteLine($"'(ulong)65535' was evaluated to '{(ulong)uInt16MaxValue}'. Expected: '65535'."); _counter++; } } @@ -8537,7 +8537,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneDecrementUnderUInt16MaxValue) != 65534) { - Console.WriteLine($"'(ulong)65534' was evaluted to '{(ulong)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); + Console.WriteLine($"'(ulong)65534' was evaluated to '{(ulong)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); _counter++; } } @@ -8552,7 +8552,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneIncrementAboveUInt16MaxValue) != 65536) { - Console.WriteLine($"'(ulong)65536' was evaluted to '{(ulong)integerOneIncrementAboveUInt16MaxValue}'. Expected: '65536'."); + Console.WriteLine($"'(ulong)65536' was evaluated to '{(ulong)integerOneIncrementAboveUInt16MaxValue}'. Expected: '65536'."); _counter++; } } @@ -8567,7 +8567,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)int32MaxValue) != 2147483647) { - Console.WriteLine($"'(ulong)2147483647' was evaluted to '{(ulong)int32MaxValue}'. Expected: '2147483647'."); + Console.WriteLine($"'(ulong)2147483647' was evaluated to '{(ulong)int32MaxValue}'. Expected: '2147483647'."); _counter++; } } @@ -8582,7 +8582,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneDecrementUnderInt32MaxValue) != 2147483646) { - Console.WriteLine($"'(ulong)2147483646' was evaluted to '{(ulong)integerOneDecrementUnderInt32MaxValue}'. Expected: '2147483646'."); + Console.WriteLine($"'(ulong)2147483646' was evaluated to '{(ulong)integerOneDecrementUnderInt32MaxValue}'. Expected: '2147483646'."); _counter++; } } @@ -8597,7 +8597,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneIncrementAboveInt32MaxValue) != 2147483648) { - Console.WriteLine($"'(ulong)2147483648' was evaluted to '{(ulong)integerOneIncrementAboveInt32MaxValue}'. Expected: '2147483648'."); + Console.WriteLine($"'(ulong)2147483648' was evaluated to '{(ulong)integerOneIncrementAboveInt32MaxValue}'. Expected: '2147483648'."); _counter++; } } @@ -8612,7 +8612,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)uInt32MaxValue) != 4294967295) { - Console.WriteLine($"'(ulong)4294967295' was evaluted to '{(ulong)uInt32MaxValue}'. Expected: '4294967295'."); + Console.WriteLine($"'(ulong)4294967295' was evaluated to '{(ulong)uInt32MaxValue}'. Expected: '4294967295'."); _counter++; } } @@ -8627,7 +8627,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneDecrementUnderUInt32MaxValue) != 4294967294) { - Console.WriteLine($"'(ulong)4294967294' was evaluted to '{(ulong)integerOneDecrementUnderUInt32MaxValue}'. Expected: '4294967294'."); + Console.WriteLine($"'(ulong)4294967294' was evaluated to '{(ulong)integerOneDecrementUnderUInt32MaxValue}'. Expected: '4294967294'."); _counter++; } } @@ -8642,7 +8642,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneIncrementAboveUInt32MaxValue) != 4294967296) { - Console.WriteLine($"'(ulong)4294967296' was evaluted to '{(ulong)integerOneIncrementAboveUInt32MaxValue}'. Expected: '4294967296'."); + Console.WriteLine($"'(ulong)4294967296' was evaluated to '{(ulong)integerOneIncrementAboveUInt32MaxValue}'. Expected: '4294967296'."); _counter++; } } @@ -8657,7 +8657,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)int64MaxValue) != 9223372036854775807) { - Console.WriteLine($"'(ulong)9223372036854775807' was evaluted to '{(ulong)int64MaxValue}'. Expected: '9223372036854775807'."); + Console.WriteLine($"'(ulong)9223372036854775807' was evaluated to '{(ulong)int64MaxValue}'. Expected: '9223372036854775807'."); _counter++; } } @@ -8672,7 +8672,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneDecrementUnderInt64MaxValue) != 9223372036854775806) { - Console.WriteLine($"'(ulong)9223372036854775806' was evaluted to '{(ulong)integerOneDecrementUnderInt64MaxValue}'. Expected: '9223372036854775806'."); + Console.WriteLine($"'(ulong)9223372036854775806' was evaluated to '{(ulong)integerOneDecrementUnderInt64MaxValue}'. Expected: '9223372036854775806'."); _counter++; } } @@ -8687,7 +8687,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneIncrementAboveInt64MaxValue) != 9223372036854775808) { - Console.WriteLine($"'(ulong)9223372036854775808' was evaluted to '{(ulong)integerOneIncrementAboveInt64MaxValue}'. Expected: '9223372036854775808'."); + Console.WriteLine($"'(ulong)9223372036854775808' was evaluated to '{(ulong)integerOneIncrementAboveInt64MaxValue}'. Expected: '9223372036854775808'."); _counter++; } } @@ -8702,7 +8702,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)uInt64MaxValue) != 18446744073709551615) { - Console.WriteLine($"'(ulong)18446744073709551615' was evaluted to '{(ulong)uInt64MaxValue}'. Expected: '18446744073709551615'."); + Console.WriteLine($"'(ulong)18446744073709551615' was evaluated to '{(ulong)uInt64MaxValue}'. Expected: '18446744073709551615'."); _counter++; } } @@ -8717,7 +8717,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneDecrementUnderUInt64MaxValue) != 18446744073709551614) { - Console.WriteLine($"'(ulong)18446744073709551614' was evaluted to '{(ulong)integerOneDecrementUnderUInt64MaxValue}'. Expected: '18446744073709551614'."); + Console.WriteLine($"'(ulong)18446744073709551614' was evaluated to '{(ulong)integerOneDecrementUnderUInt64MaxValue}'. Expected: '18446744073709551614'."); _counter++; } } diff --git a/src/tests/JIT/Directed/Convert/value_numbering_checked_casts_of_constants_short.cs b/src/tests/JIT/Directed/Convert/value_numbering_checked_casts_of_constants_short.cs index c7fb1f05c3a..77a782cf763 100644 --- a/src/tests/JIT/Directed/Convert/value_numbering_checked_casts_of_constants_short.cs +++ b/src/tests/JIT/Directed/Convert/value_numbering_checked_casts_of_constants_short.cs @@ -19,7 +19,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerZero) != 0f) { - Console.WriteLine($"'(float)0' was evaluted to '{(float)integerZero}'. Expected: '0f'."); + Console.WriteLine($"'(float)0' was evaluated to '{(float)integerZero}'. Expected: '0f'."); _counter++; } } @@ -34,7 +34,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)sByteMinValue) != -128f) { - Console.WriteLine($"'(float)-128' was evaluted to '{(float)sByteMinValue}'. Expected: '-128f'."); + Console.WriteLine($"'(float)-128' was evaluated to '{(float)sByteMinValue}'. Expected: '-128f'."); _counter++; } } @@ -49,7 +49,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)sByteMaxValue) != 127f) { - Console.WriteLine($"'(float)127' was evaluted to '{(float)sByteMaxValue}'. Expected: '127f'."); + Console.WriteLine($"'(float)127' was evaluated to '{(float)sByteMaxValue}'. Expected: '127f'."); _counter++; } } @@ -64,7 +64,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneDecrementUnderSByteMinValue) != -129f) { - Console.WriteLine($"'(float)-129' was evaluted to '{(float)integerOneDecrementUnderSByteMinValue}'. Expected: '-129f'."); + Console.WriteLine($"'(float)-129' was evaluated to '{(float)integerOneDecrementUnderSByteMinValue}'. Expected: '-129f'."); _counter++; } } @@ -79,7 +79,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneIncrementAboveSByteMinValue) != -127f) { - Console.WriteLine($"'(float)-127' was evaluted to '{(float)integerOneIncrementAboveSByteMinValue}'. Expected: '-127f'."); + Console.WriteLine($"'(float)-127' was evaluated to '{(float)integerOneIncrementAboveSByteMinValue}'. Expected: '-127f'."); _counter++; } } @@ -94,7 +94,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneDecrementUnderSByteMaxValue) != 126f) { - Console.WriteLine($"'(float)126' was evaluted to '{(float)integerOneDecrementUnderSByteMaxValue}'. Expected: '126f'."); + Console.WriteLine($"'(float)126' was evaluated to '{(float)integerOneDecrementUnderSByteMaxValue}'. Expected: '126f'."); _counter++; } } @@ -109,7 +109,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneIncrementAboveSByteMaxValue) != 128f) { - Console.WriteLine($"'(float)128' was evaluted to '{(float)integerOneIncrementAboveSByteMaxValue}'. Expected: '128f'."); + Console.WriteLine($"'(float)128' was evaluated to '{(float)integerOneIncrementAboveSByteMaxValue}'. Expected: '128f'."); _counter++; } } @@ -124,7 +124,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)byteMaxValue) != 255f) { - Console.WriteLine($"'(float)255' was evaluted to '{(float)byteMaxValue}'. Expected: '255f'."); + Console.WriteLine($"'(float)255' was evaluated to '{(float)byteMaxValue}'. Expected: '255f'."); _counter++; } } @@ -139,7 +139,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneDecrementUnderByteMinValue) != -1f) { - Console.WriteLine($"'(float)-1' was evaluted to '{(float)integerOneDecrementUnderByteMinValue}'. Expected: '-1f'."); + Console.WriteLine($"'(float)-1' was evaluated to '{(float)integerOneDecrementUnderByteMinValue}'. Expected: '-1f'."); _counter++; } } @@ -154,7 +154,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneIncrementAboveByteMinValue) != 1f) { - Console.WriteLine($"'(float)1' was evaluted to '{(float)integerOneIncrementAboveByteMinValue}'. Expected: '1f'."); + Console.WriteLine($"'(float)1' was evaluated to '{(float)integerOneIncrementAboveByteMinValue}'. Expected: '1f'."); _counter++; } } @@ -169,7 +169,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneDecrementUnderByteMaxValue) != 254f) { - Console.WriteLine($"'(float)254' was evaluted to '{(float)integerOneDecrementUnderByteMaxValue}'. Expected: '254f'."); + Console.WriteLine($"'(float)254' was evaluated to '{(float)integerOneDecrementUnderByteMaxValue}'. Expected: '254f'."); _counter++; } } @@ -184,7 +184,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneIncrementAboveByteMaxValue) != 256f) { - Console.WriteLine($"'(float)256' was evaluted to '{(float)integerOneIncrementAboveByteMaxValue}'. Expected: '256f'."); + Console.WriteLine($"'(float)256' was evaluated to '{(float)integerOneIncrementAboveByteMaxValue}'. Expected: '256f'."); _counter++; } } @@ -199,7 +199,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)int16MinValue) != -32768f) { - Console.WriteLine($"'(float)-32768' was evaluted to '{(float)int16MinValue}'. Expected: '-32768f'."); + Console.WriteLine($"'(float)-32768' was evaluated to '{(float)int16MinValue}'. Expected: '-32768f'."); _counter++; } } @@ -214,7 +214,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)int16MaxValue) != 32767f) { - Console.WriteLine($"'(float)32767' was evaluted to '{(float)int16MaxValue}'. Expected: '32767f'."); + Console.WriteLine($"'(float)32767' was evaluated to '{(float)int16MaxValue}'. Expected: '32767f'."); _counter++; } } @@ -229,7 +229,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneIncrementAboveInt16MinValue) != -32767f) { - Console.WriteLine($"'(float)-32767' was evaluted to '{(float)integerOneIncrementAboveInt16MinValue}'. Expected: '-32767f'."); + Console.WriteLine($"'(float)-32767' was evaluated to '{(float)integerOneIncrementAboveInt16MinValue}'. Expected: '-32767f'."); _counter++; } } @@ -244,7 +244,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneDecrementUnderInt16MaxValue) != 32766f) { - Console.WriteLine($"'(float)32766' was evaluted to '{(float)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766f'."); + Console.WriteLine($"'(float)32766' was evaluated to '{(float)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766f'."); _counter++; } } @@ -263,7 +263,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerZero) != 0d) { - Console.WriteLine($"'(double)0' was evaluted to '{(double)integerZero}'. Expected: '0d'."); + Console.WriteLine($"'(double)0' was evaluated to '{(double)integerZero}'. Expected: '0d'."); _counter++; } } @@ -278,7 +278,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)sByteMinValue) != -128d) { - Console.WriteLine($"'(double)-128' was evaluted to '{(double)sByteMinValue}'. Expected: '-128d'."); + Console.WriteLine($"'(double)-128' was evaluated to '{(double)sByteMinValue}'. Expected: '-128d'."); _counter++; } } @@ -293,7 +293,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)sByteMaxValue) != 127d) { - Console.WriteLine($"'(double)127' was evaluted to '{(double)sByteMaxValue}'. Expected: '127d'."); + Console.WriteLine($"'(double)127' was evaluated to '{(double)sByteMaxValue}'. Expected: '127d'."); _counter++; } } @@ -308,7 +308,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneDecrementUnderSByteMinValue) != -129d) { - Console.WriteLine($"'(double)-129' was evaluted to '{(double)integerOneDecrementUnderSByteMinValue}'. Expected: '-129d'."); + Console.WriteLine($"'(double)-129' was evaluated to '{(double)integerOneDecrementUnderSByteMinValue}'. Expected: '-129d'."); _counter++; } } @@ -323,7 +323,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneIncrementAboveSByteMinValue) != -127d) { - Console.WriteLine($"'(double)-127' was evaluted to '{(double)integerOneIncrementAboveSByteMinValue}'. Expected: '-127d'."); + Console.WriteLine($"'(double)-127' was evaluated to '{(double)integerOneIncrementAboveSByteMinValue}'. Expected: '-127d'."); _counter++; } } @@ -338,7 +338,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneDecrementUnderSByteMaxValue) != 126d) { - Console.WriteLine($"'(double)126' was evaluted to '{(double)integerOneDecrementUnderSByteMaxValue}'. Expected: '126d'."); + Console.WriteLine($"'(double)126' was evaluated to '{(double)integerOneDecrementUnderSByteMaxValue}'. Expected: '126d'."); _counter++; } } @@ -353,7 +353,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneIncrementAboveSByteMaxValue) != 128d) { - Console.WriteLine($"'(double)128' was evaluted to '{(double)integerOneIncrementAboveSByteMaxValue}'. Expected: '128d'."); + Console.WriteLine($"'(double)128' was evaluated to '{(double)integerOneIncrementAboveSByteMaxValue}'. Expected: '128d'."); _counter++; } } @@ -368,7 +368,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)byteMaxValue) != 255d) { - Console.WriteLine($"'(double)255' was evaluted to '{(double)byteMaxValue}'. Expected: '255d'."); + Console.WriteLine($"'(double)255' was evaluated to '{(double)byteMaxValue}'. Expected: '255d'."); _counter++; } } @@ -383,7 +383,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneDecrementUnderByteMinValue) != -1d) { - Console.WriteLine($"'(double)-1' was evaluted to '{(double)integerOneDecrementUnderByteMinValue}'. Expected: '-1d'."); + Console.WriteLine($"'(double)-1' was evaluated to '{(double)integerOneDecrementUnderByteMinValue}'. Expected: '-1d'."); _counter++; } } @@ -398,7 +398,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneIncrementAboveByteMinValue) != 1d) { - Console.WriteLine($"'(double)1' was evaluted to '{(double)integerOneIncrementAboveByteMinValue}'. Expected: '1d'."); + Console.WriteLine($"'(double)1' was evaluated to '{(double)integerOneIncrementAboveByteMinValue}'. Expected: '1d'."); _counter++; } } @@ -413,7 +413,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneDecrementUnderByteMaxValue) != 254d) { - Console.WriteLine($"'(double)254' was evaluted to '{(double)integerOneDecrementUnderByteMaxValue}'. Expected: '254d'."); + Console.WriteLine($"'(double)254' was evaluated to '{(double)integerOneDecrementUnderByteMaxValue}'. Expected: '254d'."); _counter++; } } @@ -428,7 +428,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneIncrementAboveByteMaxValue) != 256d) { - Console.WriteLine($"'(double)256' was evaluted to '{(double)integerOneIncrementAboveByteMaxValue}'. Expected: '256d'."); + Console.WriteLine($"'(double)256' was evaluated to '{(double)integerOneIncrementAboveByteMaxValue}'. Expected: '256d'."); _counter++; } } @@ -443,7 +443,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)int16MinValue) != -32768d) { - Console.WriteLine($"'(double)-32768' was evaluted to '{(double)int16MinValue}'. Expected: '-32768d'."); + Console.WriteLine($"'(double)-32768' was evaluated to '{(double)int16MinValue}'. Expected: '-32768d'."); _counter++; } } @@ -458,7 +458,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)int16MaxValue) != 32767d) { - Console.WriteLine($"'(double)32767' was evaluted to '{(double)int16MaxValue}'. Expected: '32767d'."); + Console.WriteLine($"'(double)32767' was evaluated to '{(double)int16MaxValue}'. Expected: '32767d'."); _counter++; } } @@ -473,7 +473,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneIncrementAboveInt16MinValue) != -32767d) { - Console.WriteLine($"'(double)-32767' was evaluted to '{(double)integerOneIncrementAboveInt16MinValue}'. Expected: '-32767d'."); + Console.WriteLine($"'(double)-32767' was evaluated to '{(double)integerOneIncrementAboveInt16MinValue}'. Expected: '-32767d'."); _counter++; } } @@ -488,7 +488,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneDecrementUnderInt16MaxValue) != 32766d) { - Console.WriteLine($"'(double)32766' was evaluted to '{(double)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766d'."); + Console.WriteLine($"'(double)32766' was evaluated to '{(double)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766d'."); _counter++; } } @@ -507,7 +507,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)integerZero) != 0) { - Console.WriteLine($"'(sbyte)0' was evaluted to '{(sbyte)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(sbyte)0' was evaluated to '{(sbyte)integerZero}'. Expected: '0'."); _counter++; } } @@ -522,7 +522,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)sByteMinValue) != -128) { - Console.WriteLine($"'(sbyte)-128' was evaluted to '{(sbyte)sByteMinValue}'. Expected: '-128'."); + Console.WriteLine($"'(sbyte)-128' was evaluated to '{(sbyte)sByteMinValue}'. Expected: '-128'."); _counter++; } } @@ -537,7 +537,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)sByteMaxValue) != 127) { - Console.WriteLine($"'(sbyte)127' was evaluted to '{(sbyte)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(sbyte)127' was evaluated to '{(sbyte)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -566,7 +566,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)integerOneIncrementAboveSByteMinValue) != -127) { - Console.WriteLine($"'(sbyte)-127' was evaluted to '{(sbyte)integerOneIncrementAboveSByteMinValue}'. Expected: '-127'."); + Console.WriteLine($"'(sbyte)-127' was evaluated to '{(sbyte)integerOneIncrementAboveSByteMinValue}'. Expected: '-127'."); _counter++; } } @@ -581,7 +581,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(sbyte)126' was evaluted to '{(sbyte)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(sbyte)126' was evaluated to '{(sbyte)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -624,7 +624,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)integerOneDecrementUnderByteMinValue) != -1) { - Console.WriteLine($"'(sbyte)-1' was evaluted to '{(sbyte)integerOneDecrementUnderByteMinValue}'. Expected: '-1'."); + Console.WriteLine($"'(sbyte)-1' was evaluated to '{(sbyte)integerOneDecrementUnderByteMinValue}'. Expected: '-1'."); _counter++; } } @@ -639,7 +639,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(sbyte)1' was evaluted to '{(sbyte)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(sbyte)1' was evaluated to '{(sbyte)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -742,7 +742,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)integerZero) != 0) { - Console.WriteLine($"'(byte)0' was evaluted to '{(byte)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(byte)0' was evaluated to '{(byte)integerZero}'. Expected: '0'."); _counter++; } } @@ -771,7 +771,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)sByteMaxValue) != 127) { - Console.WriteLine($"'(byte)127' was evaluted to '{(byte)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(byte)127' was evaluated to '{(byte)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -814,7 +814,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(byte)126' was evaluted to '{(byte)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(byte)126' was evaluated to '{(byte)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -829,7 +829,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)integerOneIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(byte)128' was evaluted to '{(byte)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(byte)128' was evaluated to '{(byte)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -844,7 +844,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)byteMaxValue) != 255) { - Console.WriteLine($"'(byte)255' was evaluted to '{(byte)byteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(byte)255' was evaluated to '{(byte)byteMaxValue}'. Expected: '255'."); _counter++; } } @@ -873,7 +873,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(byte)1' was evaluted to '{(byte)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(byte)1' was evaluated to '{(byte)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -888,7 +888,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)integerOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(byte)254' was evaluted to '{(byte)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(byte)254' was evaluated to '{(byte)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -977,7 +977,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerZero) != 0) { - Console.WriteLine($"'(short)0' was evaluted to '{(short)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(short)0' was evaluated to '{(short)integerZero}'. Expected: '0'."); _counter++; } } @@ -992,7 +992,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)sByteMinValue) != -128) { - Console.WriteLine($"'(short)-128' was evaluted to '{(short)sByteMinValue}'. Expected: '-128'."); + Console.WriteLine($"'(short)-128' was evaluated to '{(short)sByteMinValue}'. Expected: '-128'."); _counter++; } } @@ -1007,7 +1007,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)sByteMaxValue) != 127) { - Console.WriteLine($"'(short)127' was evaluted to '{(short)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(short)127' was evaluated to '{(short)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -1022,7 +1022,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneDecrementUnderSByteMinValue) != -129) { - Console.WriteLine($"'(short)-129' was evaluted to '{(short)integerOneDecrementUnderSByteMinValue}'. Expected: '-129'."); + Console.WriteLine($"'(short)-129' was evaluated to '{(short)integerOneDecrementUnderSByteMinValue}'. Expected: '-129'."); _counter++; } } @@ -1037,7 +1037,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneIncrementAboveSByteMinValue) != -127) { - Console.WriteLine($"'(short)-127' was evaluted to '{(short)integerOneIncrementAboveSByteMinValue}'. Expected: '-127'."); + Console.WriteLine($"'(short)-127' was evaluated to '{(short)integerOneIncrementAboveSByteMinValue}'. Expected: '-127'."); _counter++; } } @@ -1052,7 +1052,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(short)126' was evaluted to '{(short)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(short)126' was evaluated to '{(short)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -1067,7 +1067,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(short)128' was evaluted to '{(short)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(short)128' was evaluated to '{(short)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -1082,7 +1082,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)byteMaxValue) != 255) { - Console.WriteLine($"'(short)255' was evaluted to '{(short)byteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(short)255' was evaluated to '{(short)byteMaxValue}'. Expected: '255'."); _counter++; } } @@ -1097,7 +1097,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneDecrementUnderByteMinValue) != -1) { - Console.WriteLine($"'(short)-1' was evaluted to '{(short)integerOneDecrementUnderByteMinValue}'. Expected: '-1'."); + Console.WriteLine($"'(short)-1' was evaluated to '{(short)integerOneDecrementUnderByteMinValue}'. Expected: '-1'."); _counter++; } } @@ -1112,7 +1112,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(short)1' was evaluted to '{(short)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(short)1' was evaluated to '{(short)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -1127,7 +1127,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(short)254' was evaluted to '{(short)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(short)254' was evaluated to '{(short)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -1142,7 +1142,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneIncrementAboveByteMaxValue) != 256) { - Console.WriteLine($"'(short)256' was evaluted to '{(short)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); + Console.WriteLine($"'(short)256' was evaluated to '{(short)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); _counter++; } } @@ -1157,7 +1157,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)int16MinValue) != -32768) { - Console.WriteLine($"'(short)-32768' was evaluted to '{(short)int16MinValue}'. Expected: '-32768'."); + Console.WriteLine($"'(short)-32768' was evaluated to '{(short)int16MinValue}'. Expected: '-32768'."); _counter++; } } @@ -1172,7 +1172,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)int16MaxValue) != 32767) { - Console.WriteLine($"'(short)32767' was evaluted to '{(short)int16MaxValue}'. Expected: '32767'."); + Console.WriteLine($"'(short)32767' was evaluated to '{(short)int16MaxValue}'. Expected: '32767'."); _counter++; } } @@ -1187,7 +1187,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneIncrementAboveInt16MinValue) != -32767) { - Console.WriteLine($"'(short)-32767' was evaluted to '{(short)integerOneIncrementAboveInt16MinValue}'. Expected: '-32767'."); + Console.WriteLine($"'(short)-32767' was evaluated to '{(short)integerOneIncrementAboveInt16MinValue}'. Expected: '-32767'."); _counter++; } } @@ -1202,7 +1202,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneDecrementUnderInt16MaxValue) != 32766) { - Console.WriteLine($"'(short)32766' was evaluted to '{(short)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); + Console.WriteLine($"'(short)32766' was evaluated to '{(short)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); _counter++; } } @@ -1221,7 +1221,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerZero) != 0) { - Console.WriteLine($"'(ushort)0' was evaluted to '{(ushort)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(ushort)0' was evaluated to '{(ushort)integerZero}'. Expected: '0'."); _counter++; } } @@ -1250,7 +1250,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)sByteMaxValue) != 127) { - Console.WriteLine($"'(ushort)127' was evaluted to '{(ushort)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(ushort)127' was evaluated to '{(ushort)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -1293,7 +1293,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(ushort)126' was evaluted to '{(ushort)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(ushort)126' was evaluated to '{(ushort)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -1308,7 +1308,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerOneIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(ushort)128' was evaluted to '{(ushort)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(ushort)128' was evaluated to '{(ushort)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -1323,7 +1323,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)byteMaxValue) != 255) { - Console.WriteLine($"'(ushort)255' was evaluted to '{(ushort)byteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(ushort)255' was evaluated to '{(ushort)byteMaxValue}'. Expected: '255'."); _counter++; } } @@ -1352,7 +1352,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(ushort)1' was evaluted to '{(ushort)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(ushort)1' was evaluated to '{(ushort)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -1367,7 +1367,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(ushort)254' was evaluted to '{(ushort)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(ushort)254' was evaluated to '{(ushort)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -1382,7 +1382,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerOneIncrementAboveByteMaxValue) != 256) { - Console.WriteLine($"'(ushort)256' was evaluted to '{(ushort)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); + Console.WriteLine($"'(ushort)256' was evaluated to '{(ushort)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); _counter++; } } @@ -1411,7 +1411,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)int16MaxValue) != 32767) { - Console.WriteLine($"'(ushort)32767' was evaluted to '{(ushort)int16MaxValue}'. Expected: '32767'."); + Console.WriteLine($"'(ushort)32767' was evaluated to '{(ushort)int16MaxValue}'. Expected: '32767'."); _counter++; } } @@ -1440,7 +1440,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerOneDecrementUnderInt16MaxValue) != 32766) { - Console.WriteLine($"'(ushort)32766' was evaluted to '{(ushort)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); + Console.WriteLine($"'(ushort)32766' was evaluated to '{(ushort)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); _counter++; } } @@ -1459,7 +1459,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerZero) != 0) { - Console.WriteLine($"'(int)0' was evaluted to '{(int)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(int)0' was evaluated to '{(int)integerZero}'. Expected: '0'."); _counter++; } } @@ -1474,7 +1474,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)sByteMinValue) != -128) { - Console.WriteLine($"'(int)-128' was evaluted to '{(int)sByteMinValue}'. Expected: '-128'."); + Console.WriteLine($"'(int)-128' was evaluated to '{(int)sByteMinValue}'. Expected: '-128'."); _counter++; } } @@ -1489,7 +1489,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)sByteMaxValue) != 127) { - Console.WriteLine($"'(int)127' was evaluted to '{(int)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(int)127' was evaluated to '{(int)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -1504,7 +1504,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneDecrementUnderSByteMinValue) != -129) { - Console.WriteLine($"'(int)-129' was evaluted to '{(int)integerOneDecrementUnderSByteMinValue}'. Expected: '-129'."); + Console.WriteLine($"'(int)-129' was evaluated to '{(int)integerOneDecrementUnderSByteMinValue}'. Expected: '-129'."); _counter++; } } @@ -1519,7 +1519,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneIncrementAboveSByteMinValue) != -127) { - Console.WriteLine($"'(int)-127' was evaluted to '{(int)integerOneIncrementAboveSByteMinValue}'. Expected: '-127'."); + Console.WriteLine($"'(int)-127' was evaluated to '{(int)integerOneIncrementAboveSByteMinValue}'. Expected: '-127'."); _counter++; } } @@ -1534,7 +1534,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(int)126' was evaluted to '{(int)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(int)126' was evaluated to '{(int)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -1549,7 +1549,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(int)128' was evaluted to '{(int)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(int)128' was evaluated to '{(int)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -1564,7 +1564,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)byteMaxValue) != 255) { - Console.WriteLine($"'(int)255' was evaluted to '{(int)byteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(int)255' was evaluated to '{(int)byteMaxValue}'. Expected: '255'."); _counter++; } } @@ -1579,7 +1579,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneDecrementUnderByteMinValue) != -1) { - Console.WriteLine($"'(int)-1' was evaluted to '{(int)integerOneDecrementUnderByteMinValue}'. Expected: '-1'."); + Console.WriteLine($"'(int)-1' was evaluated to '{(int)integerOneDecrementUnderByteMinValue}'. Expected: '-1'."); _counter++; } } @@ -1594,7 +1594,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(int)1' was evaluted to '{(int)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(int)1' was evaluated to '{(int)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -1609,7 +1609,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(int)254' was evaluted to '{(int)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(int)254' was evaluated to '{(int)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -1624,7 +1624,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneIncrementAboveByteMaxValue) != 256) { - Console.WriteLine($"'(int)256' was evaluted to '{(int)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); + Console.WriteLine($"'(int)256' was evaluated to '{(int)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); _counter++; } } @@ -1639,7 +1639,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)int16MinValue) != -32768) { - Console.WriteLine($"'(int)-32768' was evaluted to '{(int)int16MinValue}'. Expected: '-32768'."); + Console.WriteLine($"'(int)-32768' was evaluated to '{(int)int16MinValue}'. Expected: '-32768'."); _counter++; } } @@ -1654,7 +1654,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)int16MaxValue) != 32767) { - Console.WriteLine($"'(int)32767' was evaluted to '{(int)int16MaxValue}'. Expected: '32767'."); + Console.WriteLine($"'(int)32767' was evaluated to '{(int)int16MaxValue}'. Expected: '32767'."); _counter++; } } @@ -1669,7 +1669,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneIncrementAboveInt16MinValue) != -32767) { - Console.WriteLine($"'(int)-32767' was evaluted to '{(int)integerOneIncrementAboveInt16MinValue}'. Expected: '-32767'."); + Console.WriteLine($"'(int)-32767' was evaluated to '{(int)integerOneIncrementAboveInt16MinValue}'. Expected: '-32767'."); _counter++; } } @@ -1684,7 +1684,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneDecrementUnderInt16MaxValue) != 32766) { - Console.WriteLine($"'(int)32766' was evaluted to '{(int)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); + Console.WriteLine($"'(int)32766' was evaluated to '{(int)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); _counter++; } } @@ -1703,7 +1703,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerZero) != 0) { - Console.WriteLine($"'(uint)0' was evaluted to '{(uint)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(uint)0' was evaluated to '{(uint)integerZero}'. Expected: '0'."); _counter++; } } @@ -1732,7 +1732,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)sByteMaxValue) != 127) { - Console.WriteLine($"'(uint)127' was evaluted to '{(uint)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(uint)127' was evaluated to '{(uint)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -1775,7 +1775,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(uint)126' was evaluted to '{(uint)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(uint)126' was evaluated to '{(uint)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -1790,7 +1790,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(uint)128' was evaluted to '{(uint)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(uint)128' was evaluated to '{(uint)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -1805,7 +1805,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)byteMaxValue) != 255) { - Console.WriteLine($"'(uint)255' was evaluted to '{(uint)byteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(uint)255' was evaluated to '{(uint)byteMaxValue}'. Expected: '255'."); _counter++; } } @@ -1834,7 +1834,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(uint)1' was evaluted to '{(uint)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(uint)1' was evaluated to '{(uint)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -1849,7 +1849,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(uint)254' was evaluted to '{(uint)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(uint)254' was evaluated to '{(uint)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -1864,7 +1864,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneIncrementAboveByteMaxValue) != 256) { - Console.WriteLine($"'(uint)256' was evaluted to '{(uint)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); + Console.WriteLine($"'(uint)256' was evaluated to '{(uint)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); _counter++; } } @@ -1893,7 +1893,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)int16MaxValue) != 32767) { - Console.WriteLine($"'(uint)32767' was evaluted to '{(uint)int16MaxValue}'. Expected: '32767'."); + Console.WriteLine($"'(uint)32767' was evaluated to '{(uint)int16MaxValue}'. Expected: '32767'."); _counter++; } } @@ -1922,7 +1922,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneDecrementUnderInt16MaxValue) != 32766) { - Console.WriteLine($"'(uint)32766' was evaluted to '{(uint)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); + Console.WriteLine($"'(uint)32766' was evaluated to '{(uint)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); _counter++; } } @@ -1941,7 +1941,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerZero) != 0) { - Console.WriteLine($"'(long)0' was evaluted to '{(long)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(long)0' was evaluated to '{(long)integerZero}'. Expected: '0'."); _counter++; } } @@ -1956,7 +1956,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)sByteMinValue) != -128) { - Console.WriteLine($"'(long)-128' was evaluted to '{(long)sByteMinValue}'. Expected: '-128'."); + Console.WriteLine($"'(long)-128' was evaluated to '{(long)sByteMinValue}'. Expected: '-128'."); _counter++; } } @@ -1971,7 +1971,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)sByteMaxValue) != 127) { - Console.WriteLine($"'(long)127' was evaluted to '{(long)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(long)127' was evaluated to '{(long)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -1986,7 +1986,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneDecrementUnderSByteMinValue) != -129) { - Console.WriteLine($"'(long)-129' was evaluted to '{(long)integerOneDecrementUnderSByteMinValue}'. Expected: '-129'."); + Console.WriteLine($"'(long)-129' was evaluated to '{(long)integerOneDecrementUnderSByteMinValue}'. Expected: '-129'."); _counter++; } } @@ -2001,7 +2001,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneIncrementAboveSByteMinValue) != -127) { - Console.WriteLine($"'(long)-127' was evaluted to '{(long)integerOneIncrementAboveSByteMinValue}'. Expected: '-127'."); + Console.WriteLine($"'(long)-127' was evaluated to '{(long)integerOneIncrementAboveSByteMinValue}'. Expected: '-127'."); _counter++; } } @@ -2016,7 +2016,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(long)126' was evaluted to '{(long)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(long)126' was evaluated to '{(long)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -2031,7 +2031,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(long)128' was evaluted to '{(long)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(long)128' was evaluated to '{(long)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -2046,7 +2046,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)byteMaxValue) != 255) { - Console.WriteLine($"'(long)255' was evaluted to '{(long)byteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(long)255' was evaluated to '{(long)byteMaxValue}'. Expected: '255'."); _counter++; } } @@ -2061,7 +2061,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneDecrementUnderByteMinValue) != -1) { - Console.WriteLine($"'(long)-1' was evaluted to '{(long)integerOneDecrementUnderByteMinValue}'. Expected: '-1'."); + Console.WriteLine($"'(long)-1' was evaluated to '{(long)integerOneDecrementUnderByteMinValue}'. Expected: '-1'."); _counter++; } } @@ -2076,7 +2076,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(long)1' was evaluted to '{(long)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(long)1' was evaluated to '{(long)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -2091,7 +2091,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(long)254' was evaluted to '{(long)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(long)254' was evaluated to '{(long)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -2106,7 +2106,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneIncrementAboveByteMaxValue) != 256) { - Console.WriteLine($"'(long)256' was evaluted to '{(long)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); + Console.WriteLine($"'(long)256' was evaluated to '{(long)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); _counter++; } } @@ -2121,7 +2121,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)int16MinValue) != -32768) { - Console.WriteLine($"'(long)-32768' was evaluted to '{(long)int16MinValue}'. Expected: '-32768'."); + Console.WriteLine($"'(long)-32768' was evaluated to '{(long)int16MinValue}'. Expected: '-32768'."); _counter++; } } @@ -2136,7 +2136,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)int16MaxValue) != 32767) { - Console.WriteLine($"'(long)32767' was evaluted to '{(long)int16MaxValue}'. Expected: '32767'."); + Console.WriteLine($"'(long)32767' was evaluated to '{(long)int16MaxValue}'. Expected: '32767'."); _counter++; } } @@ -2151,7 +2151,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneIncrementAboveInt16MinValue) != -32767) { - Console.WriteLine($"'(long)-32767' was evaluted to '{(long)integerOneIncrementAboveInt16MinValue}'. Expected: '-32767'."); + Console.WriteLine($"'(long)-32767' was evaluated to '{(long)integerOneIncrementAboveInt16MinValue}'. Expected: '-32767'."); _counter++; } } @@ -2166,7 +2166,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneDecrementUnderInt16MaxValue) != 32766) { - Console.WriteLine($"'(long)32766' was evaluted to '{(long)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); + Console.WriteLine($"'(long)32766' was evaluated to '{(long)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); _counter++; } } @@ -2185,7 +2185,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerZero) != 0) { - Console.WriteLine($"'(ulong)0' was evaluted to '{(ulong)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(ulong)0' was evaluated to '{(ulong)integerZero}'. Expected: '0'."); _counter++; } } @@ -2214,7 +2214,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)sByteMaxValue) != 127) { - Console.WriteLine($"'(ulong)127' was evaluted to '{(ulong)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(ulong)127' was evaluated to '{(ulong)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -2257,7 +2257,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(ulong)126' was evaluted to '{(ulong)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(ulong)126' was evaluated to '{(ulong)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -2272,7 +2272,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(ulong)128' was evaluted to '{(ulong)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(ulong)128' was evaluated to '{(ulong)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -2287,7 +2287,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)byteMaxValue) != 255) { - Console.WriteLine($"'(ulong)255' was evaluted to '{(ulong)byteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(ulong)255' was evaluated to '{(ulong)byteMaxValue}'. Expected: '255'."); _counter++; } } @@ -2316,7 +2316,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(ulong)1' was evaluted to '{(ulong)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(ulong)1' was evaluated to '{(ulong)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -2331,7 +2331,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(ulong)254' was evaluted to '{(ulong)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(ulong)254' was evaluated to '{(ulong)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -2346,7 +2346,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneIncrementAboveByteMaxValue) != 256) { - Console.WriteLine($"'(ulong)256' was evaluted to '{(ulong)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); + Console.WriteLine($"'(ulong)256' was evaluated to '{(ulong)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); _counter++; } } @@ -2375,7 +2375,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)int16MaxValue) != 32767) { - Console.WriteLine($"'(ulong)32767' was evaluted to '{(ulong)int16MaxValue}'. Expected: '32767'."); + Console.WriteLine($"'(ulong)32767' was evaluated to '{(ulong)int16MaxValue}'. Expected: '32767'."); _counter++; } } @@ -2404,7 +2404,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneDecrementUnderInt16MaxValue) != 32766) { - Console.WriteLine($"'(ulong)32766' was evaluted to '{(ulong)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); + Console.WriteLine($"'(ulong)32766' was evaluated to '{(ulong)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); _counter++; } } @@ -2423,7 +2423,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerZero) != 0f) { - Console.WriteLine($"'(float)0' was evaluted to '{(float)integerZero}'. Expected: '0f'."); + Console.WriteLine($"'(float)0' was evaluated to '{(float)integerZero}'. Expected: '0f'."); _counter++; } } @@ -2438,7 +2438,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)sByteMaxValue) != 127f) { - Console.WriteLine($"'(float)127' was evaluted to '{(float)sByteMaxValue}'. Expected: '127f'."); + Console.WriteLine($"'(float)127' was evaluated to '{(float)sByteMaxValue}'. Expected: '127f'."); _counter++; } } @@ -2453,7 +2453,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneDecrementUnderSByteMaxValue) != 126f) { - Console.WriteLine($"'(float)126' was evaluted to '{(float)integerOneDecrementUnderSByteMaxValue}'. Expected: '126f'."); + Console.WriteLine($"'(float)126' was evaluated to '{(float)integerOneDecrementUnderSByteMaxValue}'. Expected: '126f'."); _counter++; } } @@ -2468,7 +2468,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneIncrementAboveSByteMaxValue) != 128f) { - Console.WriteLine($"'(float)128' was evaluted to '{(float)integerOneIncrementAboveSByteMaxValue}'. Expected: '128f'."); + Console.WriteLine($"'(float)128' was evaluated to '{(float)integerOneIncrementAboveSByteMaxValue}'. Expected: '128f'."); _counter++; } } @@ -2483,7 +2483,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)byteMaxValue) != 255f) { - Console.WriteLine($"'(float)255' was evaluted to '{(float)byteMaxValue}'. Expected: '255f'."); + Console.WriteLine($"'(float)255' was evaluated to '{(float)byteMaxValue}'. Expected: '255f'."); _counter++; } } @@ -2498,7 +2498,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneIncrementAboveByteMinValue) != 1f) { - Console.WriteLine($"'(float)1' was evaluted to '{(float)integerOneIncrementAboveByteMinValue}'. Expected: '1f'."); + Console.WriteLine($"'(float)1' was evaluated to '{(float)integerOneIncrementAboveByteMinValue}'. Expected: '1f'."); _counter++; } } @@ -2513,7 +2513,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneDecrementUnderByteMaxValue) != 254f) { - Console.WriteLine($"'(float)254' was evaluted to '{(float)integerOneDecrementUnderByteMaxValue}'. Expected: '254f'."); + Console.WriteLine($"'(float)254' was evaluated to '{(float)integerOneDecrementUnderByteMaxValue}'. Expected: '254f'."); _counter++; } } @@ -2528,7 +2528,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneIncrementAboveByteMaxValue) != 256f) { - Console.WriteLine($"'(float)256' was evaluted to '{(float)integerOneIncrementAboveByteMaxValue}'. Expected: '256f'."); + Console.WriteLine($"'(float)256' was evaluated to '{(float)integerOneIncrementAboveByteMaxValue}'. Expected: '256f'."); _counter++; } } @@ -2543,7 +2543,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)int16MaxValue) != 32767f) { - Console.WriteLine($"'(float)32767' was evaluted to '{(float)int16MaxValue}'. Expected: '32767f'."); + Console.WriteLine($"'(float)32767' was evaluated to '{(float)int16MaxValue}'. Expected: '32767f'."); _counter++; } } @@ -2558,7 +2558,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneDecrementUnderInt16MaxValue) != 32766f) { - Console.WriteLine($"'(float)32766' was evaluted to '{(float)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766f'."); + Console.WriteLine($"'(float)32766' was evaluated to '{(float)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766f'."); _counter++; } } @@ -2573,7 +2573,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneIncrementAboveInt16MaxValue) != 32768f) { - Console.WriteLine($"'(float)32768' was evaluted to '{(float)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768f'."); + Console.WriteLine($"'(float)32768' was evaluated to '{(float)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768f'."); _counter++; } } @@ -2588,7 +2588,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)uInt16MaxValue) != 65535f) { - Console.WriteLine($"'(float)65535' was evaluted to '{(float)uInt16MaxValue}'. Expected: '65535f'."); + Console.WriteLine($"'(float)65535' was evaluated to '{(float)uInt16MaxValue}'. Expected: '65535f'."); _counter++; } } @@ -2603,7 +2603,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((float)integerOneDecrementUnderUInt16MaxValue) != 65534f) { - Console.WriteLine($"'(float)65534' was evaluted to '{(float)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534f'."); + Console.WriteLine($"'(float)65534' was evaluated to '{(float)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534f'."); _counter++; } } @@ -2622,7 +2622,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerZero) != 0d) { - Console.WriteLine($"'(double)0' was evaluted to '{(double)integerZero}'. Expected: '0d'."); + Console.WriteLine($"'(double)0' was evaluated to '{(double)integerZero}'. Expected: '0d'."); _counter++; } } @@ -2637,7 +2637,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)sByteMaxValue) != 127d) { - Console.WriteLine($"'(double)127' was evaluted to '{(double)sByteMaxValue}'. Expected: '127d'."); + Console.WriteLine($"'(double)127' was evaluated to '{(double)sByteMaxValue}'. Expected: '127d'."); _counter++; } } @@ -2652,7 +2652,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneDecrementUnderSByteMaxValue) != 126d) { - Console.WriteLine($"'(double)126' was evaluted to '{(double)integerOneDecrementUnderSByteMaxValue}'. Expected: '126d'."); + Console.WriteLine($"'(double)126' was evaluated to '{(double)integerOneDecrementUnderSByteMaxValue}'. Expected: '126d'."); _counter++; } } @@ -2667,7 +2667,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneIncrementAboveSByteMaxValue) != 128d) { - Console.WriteLine($"'(double)128' was evaluted to '{(double)integerOneIncrementAboveSByteMaxValue}'. Expected: '128d'."); + Console.WriteLine($"'(double)128' was evaluated to '{(double)integerOneIncrementAboveSByteMaxValue}'. Expected: '128d'."); _counter++; } } @@ -2682,7 +2682,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)byteMaxValue) != 255d) { - Console.WriteLine($"'(double)255' was evaluted to '{(double)byteMaxValue}'. Expected: '255d'."); + Console.WriteLine($"'(double)255' was evaluated to '{(double)byteMaxValue}'. Expected: '255d'."); _counter++; } } @@ -2697,7 +2697,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneIncrementAboveByteMinValue) != 1d) { - Console.WriteLine($"'(double)1' was evaluted to '{(double)integerOneIncrementAboveByteMinValue}'. Expected: '1d'."); + Console.WriteLine($"'(double)1' was evaluated to '{(double)integerOneIncrementAboveByteMinValue}'. Expected: '1d'."); _counter++; } } @@ -2712,7 +2712,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneDecrementUnderByteMaxValue) != 254d) { - Console.WriteLine($"'(double)254' was evaluted to '{(double)integerOneDecrementUnderByteMaxValue}'. Expected: '254d'."); + Console.WriteLine($"'(double)254' was evaluated to '{(double)integerOneDecrementUnderByteMaxValue}'. Expected: '254d'."); _counter++; } } @@ -2727,7 +2727,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneIncrementAboveByteMaxValue) != 256d) { - Console.WriteLine($"'(double)256' was evaluted to '{(double)integerOneIncrementAboveByteMaxValue}'. Expected: '256d'."); + Console.WriteLine($"'(double)256' was evaluated to '{(double)integerOneIncrementAboveByteMaxValue}'. Expected: '256d'."); _counter++; } } @@ -2742,7 +2742,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)int16MaxValue) != 32767d) { - Console.WriteLine($"'(double)32767' was evaluted to '{(double)int16MaxValue}'. Expected: '32767d'."); + Console.WriteLine($"'(double)32767' was evaluated to '{(double)int16MaxValue}'. Expected: '32767d'."); _counter++; } } @@ -2757,7 +2757,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneDecrementUnderInt16MaxValue) != 32766d) { - Console.WriteLine($"'(double)32766' was evaluted to '{(double)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766d'."); + Console.WriteLine($"'(double)32766' was evaluated to '{(double)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766d'."); _counter++; } } @@ -2772,7 +2772,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneIncrementAboveInt16MaxValue) != 32768d) { - Console.WriteLine($"'(double)32768' was evaluted to '{(double)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768d'."); + Console.WriteLine($"'(double)32768' was evaluated to '{(double)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768d'."); _counter++; } } @@ -2787,7 +2787,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)uInt16MaxValue) != 65535d) { - Console.WriteLine($"'(double)65535' was evaluted to '{(double)uInt16MaxValue}'. Expected: '65535d'."); + Console.WriteLine($"'(double)65535' was evaluated to '{(double)uInt16MaxValue}'. Expected: '65535d'."); _counter++; } } @@ -2802,7 +2802,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((double)integerOneDecrementUnderUInt16MaxValue) != 65534d) { - Console.WriteLine($"'(double)65534' was evaluted to '{(double)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534d'."); + Console.WriteLine($"'(double)65534' was evaluated to '{(double)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534d'."); _counter++; } } @@ -2821,7 +2821,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)integerZero) != 0) { - Console.WriteLine($"'(sbyte)0' was evaluted to '{(sbyte)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(sbyte)0' was evaluated to '{(sbyte)integerZero}'. Expected: '0'."); _counter++; } } @@ -2836,7 +2836,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)sByteMaxValue) != 127) { - Console.WriteLine($"'(sbyte)127' was evaluted to '{(sbyte)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(sbyte)127' was evaluated to '{(sbyte)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -2851,7 +2851,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(sbyte)126' was evaluted to '{(sbyte)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(sbyte)126' was evaluated to '{(sbyte)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -2894,7 +2894,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((sbyte)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(sbyte)1' was evaluted to '{(sbyte)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(sbyte)1' was evaluated to '{(sbyte)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -3011,7 +3011,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)integerZero) != 0) { - Console.WriteLine($"'(byte)0' was evaluted to '{(byte)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(byte)0' was evaluated to '{(byte)integerZero}'. Expected: '0'."); _counter++; } } @@ -3026,7 +3026,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)sByteMaxValue) != 127) { - Console.WriteLine($"'(byte)127' was evaluted to '{(byte)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(byte)127' was evaluated to '{(byte)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -3041,7 +3041,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(byte)126' was evaluted to '{(byte)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(byte)126' was evaluated to '{(byte)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -3056,7 +3056,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)integerOneIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(byte)128' was evaluted to '{(byte)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(byte)128' was evaluated to '{(byte)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -3071,7 +3071,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)byteMaxValue) != 255) { - Console.WriteLine($"'(byte)255' was evaluted to '{(byte)byteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(byte)255' was evaluated to '{(byte)byteMaxValue}'. Expected: '255'."); _counter++; } } @@ -3086,7 +3086,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(byte)1' was evaluted to '{(byte)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(byte)1' was evaluated to '{(byte)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -3101,7 +3101,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((byte)integerOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(byte)254' was evaluted to '{(byte)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(byte)254' was evaluated to '{(byte)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -3204,7 +3204,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerZero) != 0) { - Console.WriteLine($"'(short)0' was evaluted to '{(short)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(short)0' was evaluated to '{(short)integerZero}'. Expected: '0'."); _counter++; } } @@ -3219,7 +3219,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)sByteMaxValue) != 127) { - Console.WriteLine($"'(short)127' was evaluted to '{(short)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(short)127' was evaluated to '{(short)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -3234,7 +3234,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(short)126' was evaluted to '{(short)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(short)126' was evaluated to '{(short)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -3249,7 +3249,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(short)128' was evaluted to '{(short)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(short)128' was evaluated to '{(short)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -3264,7 +3264,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)byteMaxValue) != 255) { - Console.WriteLine($"'(short)255' was evaluted to '{(short)byteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(short)255' was evaluated to '{(short)byteMaxValue}'. Expected: '255'."); _counter++; } } @@ -3279,7 +3279,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(short)1' was evaluted to '{(short)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(short)1' was evaluated to '{(short)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -3294,7 +3294,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(short)254' was evaluted to '{(short)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(short)254' was evaluated to '{(short)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -3309,7 +3309,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneIncrementAboveByteMaxValue) != 256) { - Console.WriteLine($"'(short)256' was evaluted to '{(short)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); + Console.WriteLine($"'(short)256' was evaluated to '{(short)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); _counter++; } } @@ -3324,7 +3324,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)int16MaxValue) != 32767) { - Console.WriteLine($"'(short)32767' was evaluted to '{(short)int16MaxValue}'. Expected: '32767'."); + Console.WriteLine($"'(short)32767' was evaluated to '{(short)int16MaxValue}'. Expected: '32767'."); _counter++; } } @@ -3339,7 +3339,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((short)integerOneDecrementUnderInt16MaxValue) != 32766) { - Console.WriteLine($"'(short)32766' was evaluted to '{(short)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); + Console.WriteLine($"'(short)32766' was evaluated to '{(short)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); _counter++; } } @@ -3400,7 +3400,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerZero) != 0) { - Console.WriteLine($"'(ushort)0' was evaluted to '{(ushort)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(ushort)0' was evaluated to '{(ushort)integerZero}'. Expected: '0'."); _counter++; } } @@ -3415,7 +3415,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)sByteMaxValue) != 127) { - Console.WriteLine($"'(ushort)127' was evaluted to '{(ushort)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(ushort)127' was evaluated to '{(ushort)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -3430,7 +3430,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(ushort)126' was evaluted to '{(ushort)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(ushort)126' was evaluated to '{(ushort)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -3445,7 +3445,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerOneIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(ushort)128' was evaluted to '{(ushort)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(ushort)128' was evaluated to '{(ushort)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -3460,7 +3460,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)byteMaxValue) != 255) { - Console.WriteLine($"'(ushort)255' was evaluted to '{(ushort)byteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(ushort)255' was evaluated to '{(ushort)byteMaxValue}'. Expected: '255'."); _counter++; } } @@ -3475,7 +3475,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(ushort)1' was evaluted to '{(ushort)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(ushort)1' was evaluated to '{(ushort)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -3490,7 +3490,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(ushort)254' was evaluted to '{(ushort)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(ushort)254' was evaluated to '{(ushort)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -3505,7 +3505,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerOneIncrementAboveByteMaxValue) != 256) { - Console.WriteLine($"'(ushort)256' was evaluted to '{(ushort)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); + Console.WriteLine($"'(ushort)256' was evaluated to '{(ushort)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); _counter++; } } @@ -3520,7 +3520,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)int16MaxValue) != 32767) { - Console.WriteLine($"'(ushort)32767' was evaluted to '{(ushort)int16MaxValue}'. Expected: '32767'."); + Console.WriteLine($"'(ushort)32767' was evaluated to '{(ushort)int16MaxValue}'. Expected: '32767'."); _counter++; } } @@ -3535,7 +3535,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerOneDecrementUnderInt16MaxValue) != 32766) { - Console.WriteLine($"'(ushort)32766' was evaluted to '{(ushort)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); + Console.WriteLine($"'(ushort)32766' was evaluated to '{(ushort)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); _counter++; } } @@ -3550,7 +3550,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerOneIncrementAboveInt16MaxValue) != 32768) { - Console.WriteLine($"'(ushort)32768' was evaluted to '{(ushort)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768'."); + Console.WriteLine($"'(ushort)32768' was evaluated to '{(ushort)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768'."); _counter++; } } @@ -3565,7 +3565,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)uInt16MaxValue) != 65535) { - Console.WriteLine($"'(ushort)65535' was evaluted to '{(ushort)uInt16MaxValue}'. Expected: '65535'."); + Console.WriteLine($"'(ushort)65535' was evaluated to '{(ushort)uInt16MaxValue}'. Expected: '65535'."); _counter++; } } @@ -3580,7 +3580,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ushort)integerOneDecrementUnderUInt16MaxValue) != 65534) { - Console.WriteLine($"'(ushort)65534' was evaluted to '{(ushort)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); + Console.WriteLine($"'(ushort)65534' was evaluated to '{(ushort)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); _counter++; } } @@ -3599,7 +3599,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerZero) != 0) { - Console.WriteLine($"'(int)0' was evaluted to '{(int)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(int)0' was evaluated to '{(int)integerZero}'. Expected: '0'."); _counter++; } } @@ -3614,7 +3614,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)sByteMaxValue) != 127) { - Console.WriteLine($"'(int)127' was evaluted to '{(int)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(int)127' was evaluated to '{(int)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -3629,7 +3629,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(int)126' was evaluted to '{(int)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(int)126' was evaluated to '{(int)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -3644,7 +3644,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(int)128' was evaluted to '{(int)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(int)128' was evaluated to '{(int)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -3659,7 +3659,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)byteMaxValue) != 255) { - Console.WriteLine($"'(int)255' was evaluted to '{(int)byteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(int)255' was evaluated to '{(int)byteMaxValue}'. Expected: '255'."); _counter++; } } @@ -3674,7 +3674,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(int)1' was evaluted to '{(int)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(int)1' was evaluated to '{(int)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -3689,7 +3689,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(int)254' was evaluted to '{(int)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(int)254' was evaluated to '{(int)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -3704,7 +3704,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneIncrementAboveByteMaxValue) != 256) { - Console.WriteLine($"'(int)256' was evaluted to '{(int)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); + Console.WriteLine($"'(int)256' was evaluated to '{(int)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); _counter++; } } @@ -3719,7 +3719,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)int16MaxValue) != 32767) { - Console.WriteLine($"'(int)32767' was evaluted to '{(int)int16MaxValue}'. Expected: '32767'."); + Console.WriteLine($"'(int)32767' was evaluated to '{(int)int16MaxValue}'. Expected: '32767'."); _counter++; } } @@ -3734,7 +3734,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneDecrementUnderInt16MaxValue) != 32766) { - Console.WriteLine($"'(int)32766' was evaluted to '{(int)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); + Console.WriteLine($"'(int)32766' was evaluated to '{(int)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); _counter++; } } @@ -3749,7 +3749,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneIncrementAboveInt16MaxValue) != 32768) { - Console.WriteLine($"'(int)32768' was evaluted to '{(int)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768'."); + Console.WriteLine($"'(int)32768' was evaluated to '{(int)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768'."); _counter++; } } @@ -3764,7 +3764,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)uInt16MaxValue) != 65535) { - Console.WriteLine($"'(int)65535' was evaluted to '{(int)uInt16MaxValue}'. Expected: '65535'."); + Console.WriteLine($"'(int)65535' was evaluated to '{(int)uInt16MaxValue}'. Expected: '65535'."); _counter++; } } @@ -3779,7 +3779,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((int)integerOneDecrementUnderUInt16MaxValue) != 65534) { - Console.WriteLine($"'(int)65534' was evaluted to '{(int)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); + Console.WriteLine($"'(int)65534' was evaluated to '{(int)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); _counter++; } } @@ -3798,7 +3798,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerZero) != 0) { - Console.WriteLine($"'(uint)0' was evaluted to '{(uint)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(uint)0' was evaluated to '{(uint)integerZero}'. Expected: '0'."); _counter++; } } @@ -3813,7 +3813,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)sByteMaxValue) != 127) { - Console.WriteLine($"'(uint)127' was evaluted to '{(uint)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(uint)127' was evaluated to '{(uint)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -3828,7 +3828,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(uint)126' was evaluted to '{(uint)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(uint)126' was evaluated to '{(uint)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -3843,7 +3843,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(uint)128' was evaluted to '{(uint)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(uint)128' was evaluated to '{(uint)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -3858,7 +3858,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)byteMaxValue) != 255) { - Console.WriteLine($"'(uint)255' was evaluted to '{(uint)byteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(uint)255' was evaluated to '{(uint)byteMaxValue}'. Expected: '255'."); _counter++; } } @@ -3873,7 +3873,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(uint)1' was evaluted to '{(uint)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(uint)1' was evaluated to '{(uint)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -3888,7 +3888,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(uint)254' was evaluted to '{(uint)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(uint)254' was evaluated to '{(uint)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -3903,7 +3903,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneIncrementAboveByteMaxValue) != 256) { - Console.WriteLine($"'(uint)256' was evaluted to '{(uint)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); + Console.WriteLine($"'(uint)256' was evaluated to '{(uint)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); _counter++; } } @@ -3918,7 +3918,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)int16MaxValue) != 32767) { - Console.WriteLine($"'(uint)32767' was evaluted to '{(uint)int16MaxValue}'. Expected: '32767'."); + Console.WriteLine($"'(uint)32767' was evaluated to '{(uint)int16MaxValue}'. Expected: '32767'."); _counter++; } } @@ -3933,7 +3933,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneDecrementUnderInt16MaxValue) != 32766) { - Console.WriteLine($"'(uint)32766' was evaluted to '{(uint)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); + Console.WriteLine($"'(uint)32766' was evaluated to '{(uint)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); _counter++; } } @@ -3948,7 +3948,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneIncrementAboveInt16MaxValue) != 32768) { - Console.WriteLine($"'(uint)32768' was evaluted to '{(uint)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768'."); + Console.WriteLine($"'(uint)32768' was evaluated to '{(uint)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768'."); _counter++; } } @@ -3963,7 +3963,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)uInt16MaxValue) != 65535) { - Console.WriteLine($"'(uint)65535' was evaluted to '{(uint)uInt16MaxValue}'. Expected: '65535'."); + Console.WriteLine($"'(uint)65535' was evaluated to '{(uint)uInt16MaxValue}'. Expected: '65535'."); _counter++; } } @@ -3978,7 +3978,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((uint)integerOneDecrementUnderUInt16MaxValue) != 65534) { - Console.WriteLine($"'(uint)65534' was evaluted to '{(uint)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); + Console.WriteLine($"'(uint)65534' was evaluated to '{(uint)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); _counter++; } } @@ -3997,7 +3997,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerZero) != 0) { - Console.WriteLine($"'(long)0' was evaluted to '{(long)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(long)0' was evaluated to '{(long)integerZero}'. Expected: '0'."); _counter++; } } @@ -4012,7 +4012,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)sByteMaxValue) != 127) { - Console.WriteLine($"'(long)127' was evaluted to '{(long)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(long)127' was evaluated to '{(long)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -4027,7 +4027,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(long)126' was evaluted to '{(long)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(long)126' was evaluated to '{(long)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -4042,7 +4042,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(long)128' was evaluted to '{(long)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(long)128' was evaluated to '{(long)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -4057,7 +4057,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)byteMaxValue) != 255) { - Console.WriteLine($"'(long)255' was evaluted to '{(long)byteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(long)255' was evaluated to '{(long)byteMaxValue}'. Expected: '255'."); _counter++; } } @@ -4072,7 +4072,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(long)1' was evaluted to '{(long)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(long)1' was evaluated to '{(long)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -4087,7 +4087,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(long)254' was evaluted to '{(long)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(long)254' was evaluated to '{(long)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -4102,7 +4102,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneIncrementAboveByteMaxValue) != 256) { - Console.WriteLine($"'(long)256' was evaluted to '{(long)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); + Console.WriteLine($"'(long)256' was evaluated to '{(long)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); _counter++; } } @@ -4117,7 +4117,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)int16MaxValue) != 32767) { - Console.WriteLine($"'(long)32767' was evaluted to '{(long)int16MaxValue}'. Expected: '32767'."); + Console.WriteLine($"'(long)32767' was evaluated to '{(long)int16MaxValue}'. Expected: '32767'."); _counter++; } } @@ -4132,7 +4132,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneDecrementUnderInt16MaxValue) != 32766) { - Console.WriteLine($"'(long)32766' was evaluted to '{(long)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); + Console.WriteLine($"'(long)32766' was evaluated to '{(long)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); _counter++; } } @@ -4147,7 +4147,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneIncrementAboveInt16MaxValue) != 32768) { - Console.WriteLine($"'(long)32768' was evaluted to '{(long)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768'."); + Console.WriteLine($"'(long)32768' was evaluated to '{(long)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768'."); _counter++; } } @@ -4162,7 +4162,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)uInt16MaxValue) != 65535) { - Console.WriteLine($"'(long)65535' was evaluted to '{(long)uInt16MaxValue}'. Expected: '65535'."); + Console.WriteLine($"'(long)65535' was evaluated to '{(long)uInt16MaxValue}'. Expected: '65535'."); _counter++; } } @@ -4177,7 +4177,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((long)integerOneDecrementUnderUInt16MaxValue) != 65534) { - Console.WriteLine($"'(long)65534' was evaluted to '{(long)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); + Console.WriteLine($"'(long)65534' was evaluated to '{(long)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); _counter++; } } @@ -4196,7 +4196,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerZero) != 0) { - Console.WriteLine($"'(ulong)0' was evaluted to '{(ulong)integerZero}'. Expected: '0'."); + Console.WriteLine($"'(ulong)0' was evaluated to '{(ulong)integerZero}'. Expected: '0'."); _counter++; } } @@ -4211,7 +4211,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)sByteMaxValue) != 127) { - Console.WriteLine($"'(ulong)127' was evaluted to '{(ulong)sByteMaxValue}'. Expected: '127'."); + Console.WriteLine($"'(ulong)127' was evaluated to '{(ulong)sByteMaxValue}'. Expected: '127'."); _counter++; } } @@ -4226,7 +4226,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneDecrementUnderSByteMaxValue) != 126) { - Console.WriteLine($"'(ulong)126' was evaluted to '{(ulong)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); + Console.WriteLine($"'(ulong)126' was evaluated to '{(ulong)integerOneDecrementUnderSByteMaxValue}'. Expected: '126'."); _counter++; } } @@ -4241,7 +4241,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneIncrementAboveSByteMaxValue) != 128) { - Console.WriteLine($"'(ulong)128' was evaluted to '{(ulong)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); + Console.WriteLine($"'(ulong)128' was evaluated to '{(ulong)integerOneIncrementAboveSByteMaxValue}'. Expected: '128'."); _counter++; } } @@ -4256,7 +4256,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)byteMaxValue) != 255) { - Console.WriteLine($"'(ulong)255' was evaluted to '{(ulong)byteMaxValue}'. Expected: '255'."); + Console.WriteLine($"'(ulong)255' was evaluated to '{(ulong)byteMaxValue}'. Expected: '255'."); _counter++; } } @@ -4271,7 +4271,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneIncrementAboveByteMinValue) != 1) { - Console.WriteLine($"'(ulong)1' was evaluted to '{(ulong)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); + Console.WriteLine($"'(ulong)1' was evaluated to '{(ulong)integerOneIncrementAboveByteMinValue}'. Expected: '1'."); _counter++; } } @@ -4286,7 +4286,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneDecrementUnderByteMaxValue) != 254) { - Console.WriteLine($"'(ulong)254' was evaluted to '{(ulong)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); + Console.WriteLine($"'(ulong)254' was evaluated to '{(ulong)integerOneDecrementUnderByteMaxValue}'. Expected: '254'."); _counter++; } } @@ -4301,7 +4301,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneIncrementAboveByteMaxValue) != 256) { - Console.WriteLine($"'(ulong)256' was evaluted to '{(ulong)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); + Console.WriteLine($"'(ulong)256' was evaluated to '{(ulong)integerOneIncrementAboveByteMaxValue}'. Expected: '256'."); _counter++; } } @@ -4316,7 +4316,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)int16MaxValue) != 32767) { - Console.WriteLine($"'(ulong)32767' was evaluted to '{(ulong)int16MaxValue}'. Expected: '32767'."); + Console.WriteLine($"'(ulong)32767' was evaluated to '{(ulong)int16MaxValue}'. Expected: '32767'."); _counter++; } } @@ -4331,7 +4331,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneDecrementUnderInt16MaxValue) != 32766) { - Console.WriteLine($"'(ulong)32766' was evaluted to '{(ulong)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); + Console.WriteLine($"'(ulong)32766' was evaluated to '{(ulong)integerOneDecrementUnderInt16MaxValue}'. Expected: '32766'."); _counter++; } } @@ -4346,7 +4346,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneIncrementAboveInt16MaxValue) != 32768) { - Console.WriteLine($"'(ulong)32768' was evaluted to '{(ulong)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768'."); + Console.WriteLine($"'(ulong)32768' was evaluated to '{(ulong)integerOneIncrementAboveInt16MaxValue}'. Expected: '32768'."); _counter++; } } @@ -4361,7 +4361,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)uInt16MaxValue) != 65535) { - Console.WriteLine($"'(ulong)65535' was evaluted to '{(ulong)uInt16MaxValue}'. Expected: '65535'."); + Console.WriteLine($"'(ulong)65535' was evaluated to '{(ulong)uInt16MaxValue}'. Expected: '65535'."); _counter++; } } @@ -4376,7 +4376,7 @@ public partial class ValueNumberingCheckedCastsOfConstants if (checked((ulong)integerOneDecrementUnderUInt16MaxValue) != 65534) { - Console.WriteLine($"'(ulong)65534' was evaluted to '{(ulong)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); + Console.WriteLine($"'(ulong)65534' was evaluated to '{(ulong)integerOneDecrementUnderUInt16MaxValue}'. Expected: '65534'."); _counter++; } } diff --git a/src/tests/JIT/Performance/CodeQuality/SIMD/ConsoleMandel/VectorFloat.cs b/src/tests/JIT/Performance/CodeQuality/SIMD/ConsoleMandel/VectorFloat.cs index 21155c26466..fded4ba43b6 100644 --- a/src/tests/JIT/Performance/CodeQuality/SIMD/ConsoleMandel/VectorFloat.cs +++ b/src/tests/JIT/Performance/CodeQuality/SIMD/ConsoleMandel/VectorFloat.cs @@ -45,7 +45,7 @@ namespace Algorithms { int xp = 0; for (Vector vx = vxmin; - Vector.LessThanOrEqualAny(vx, vxmax); // Vector.{comparision}Any|All return bools, not masks + Vector.LessThanOrEqualAny(vx, vxmax); // Vector.{comparison}Any|All return bools, not masks vx += vinc, xp += Vector.Count) { ComplexVecFloat num = new ComplexVecFloat(vx, vy); @@ -62,7 +62,7 @@ namespace Algorithms viters += increment; // Create a mask that correspons to the element-wise logical operation // "accum <= limit && iters <= max_iters" Note that the bitwise and is used, - // because the Vector.{comparision} operations return masks, not boolean values + // because the Vector.{comparison} operations return masks, not boolean values Vector vCond = Vector.LessThanOrEqual(accum.sqabs(), vlimit) & Vector.LessThanOrEqual(viters, vmax_iters); // increment becomes zero for the elems that have hit the limit because @@ -75,8 +75,8 @@ namespace Algorithms // This is another little helper I created. It's definitely kind of slow but I // find it pleasantly succinct. It could also be written like this: - // - // for (int eNum = 0; eNum < Vector.Count; eNum++) + // + // for (int eNum = 0; eNum < Vector.Count; eNum++) // DrawPixel(xp + eNum, yp, viters[eNum]); // // Neither implementation is particularly fast, because pulling individual elements diff --git a/src/tests/JIT/Regression/JitBlue/GitHub_23159/GitHub_23159.cs b/src/tests/JIT/Regression/JitBlue/GitHub_23159/GitHub_23159.cs index 745e10abff6..6b1db2af45c 100644 --- a/src/tests/JIT/Regression/JitBlue/GitHub_23159/GitHub_23159.cs +++ b/src/tests/JIT/Regression/JitBlue/GitHub_23159/GitHub_23159.cs @@ -29,15 +29,15 @@ public static class GitHub_23159 [MethodImpl(MethodImplOptions.AggressiveOptimization)] public unsafe static bool BytesOrdinalEqualsStringAndAscii(string previousValue, Span newValue) { - // We just widen the bytes to char for comparision, if either the string or the bytes are not ascii + // We just widen the bytes to char for comparison, if either the string or the bytes are not ascii // this will result in non-equality, so we don't need to specifically test for non-ascii. Debug.Assert(previousValue.Length == newValue.Length); // Use IntPtr values rather than int, to avoid unnessary 32 -> 64 movs on 64-bit. - // Unfortunately this means we also need to cast to byte* for comparisions as IntPtr doesn't - // support operator comparisions (e.g. <=, >, etc). - // Note: Pointer comparision is unsigned, so we use the compare pattern (offset + length <= count) - // rather than (offset <= count - length) which we'd do with signed comparision to avoid overflow. + // Unfortunately this means we also need to cast to byte* for comparisons as IntPtr doesn't + // support operator comparisons (e.g. <=, >, etc). + // Note: Pointer comparison is unsigned, so we use the compare pattern (offset + length <= count) + // rather than (offset <= count - length) which we'd do with signed comparison to avoid overflow. var count = (IntPtr)newValue.Length; var offset = (IntPtr)0; diff --git a/src/tests/JIT/SIMD/Vector3TestNative.cpp b/src/tests/JIT/SIMD/Vector3TestNative.cpp index 2a41c39da4e..6a5fe2415b6 100644 --- a/src/tests/JIT/SIMD/Vector3TestNative.cpp +++ b/src/tests/JIT/SIMD/Vector3TestNative.cpp @@ -218,7 +218,7 @@ EXPORT(DT) __stdcall nativeCall_PInvoke_Vector3InStruct(DT data) ret.b.x = data.b.x + 1; ret.b.y = data.b.y + 1; ret.b.z = data.b.z + 1; - printf(" First struct memeber: (%f %f %f) -> (%f %f %f)\n", + printf(" First struct member: (%f %f %f) -> (%f %f %f)\n", data.a.x, data.a.y, data.a.z, ret.a.x, ret.a.y, ret.a.z); printf(" Second struct member: (%f %f %f) -> (%f %f %f)\n", data.b.x, data.b.y, data.b.z, ret.b.x, ret.b.y, ret.b.z); diff --git a/src/tests/Loader/classloader/nesting/coreclr/nesting31.il b/src/tests/Loader/classloader/nesting/coreclr/nesting31.il index 42fdabd7a59..5d063fab7d8 100644 --- a/src/tests/Loader/classloader/nesting/coreclr/nesting31.il +++ b/src/tests/Loader/classloader/nesting/coreclr/nesting31.il @@ -14,7 +14,7 @@ // Nesting module: Pure Managed // Nesting location: MainModule -// enclosing type +// enclosing type // kind: class // flag: abstract // visibility: public @@ -25,7 +25,7 @@ .class abstract public EnclType extends EnclType/NestedType { - // nested type + // nested type // kind: class // flag: none // visibility: public @@ -35,7 +35,7 @@ .class nested public NestedType { - // nested memeber visibility: assembly + // nested member visibility: assembly .field assembly int32 i .method public specialname instance void .ctor() cil managed @@ -47,7 +47,7 @@ } } - // enclosing memeber visibility: assembly + // enclosing member visibility: assembly .field assembly int32 i @@ -58,7 +58,7 @@ 01 00 00 00 ) .entrypoint - + .locals init (class Client V_0, class [mscorlib]System.Exception V_1, int32 V_2) @@ -68,14 +68,14 @@ stloc.0 ldloc.0 call instance void Client::method4() - + ldstr "PASS" call void [System.Console]System.Console::WriteLine(string) ldc.i4.s 100 stloc.2 leave.s end - } - catch [mscorlib]System.Exception + } + catch [mscorlib]System.Exception { stloc.1 ldstr "{0}Caught unexpected exception." @@ -89,7 +89,7 @@ } end: ldloc.2 ret - } + } } // Client module: Pure Managed diff --git a/src/tests/Loader/classloader/regressions/dd116295/dd116295.cs b/src/tests/Loader/classloader/regressions/dd116295/dd116295.cs index cf04a013763..c0095598b51 100644 --- a/src/tests/Loader/classloader/regressions/dd116295/dd116295.cs +++ b/src/tests/Loader/classloader/regressions/dd116295/dd116295.cs @@ -24,34 +24,32 @@ namespace ConsoleApplication1 public B[] b; } - - static int Main(string[] args) { - try - { - M(); - Console.WriteLine("PASS"); - return 100; - } - catch(TypeLoadException) - { - Console.WriteLine("Caught TypeLoadException, FAIL"); - return 99; - } - catch(Exception e) - { - Console.WriteLine("Caught unexpected exception"); - Console.WriteLine(e); - Console.WriteLine("\nFAIL"); - return 99; - } + try + { + M(); + Console.WriteLine("PASS"); + return 100; + } + catch(TypeLoadException) + { + Console.WriteLine("Caught TypeLoadException, FAIL"); + return 99; + } + catch(Exception e) + { + Console.WriteLine("Caught unexpected exception"); + Console.WriteLine(e); + Console.WriteLine("\nFAIL"); + return 99; + } } - + [MethodImpl(MethodImplOptions.NoInlining)] static void M() { - C obj = new C(); // exception occurs in the initializing this memeber + C obj = new C(); // exception occurs in the initializing this member } } } diff --git a/src/tests/ilasm/PortablePdb/Resources/README.txt b/src/tests/ilasm/PortablePdb/Resources/README.txt index 760e0a2a8ff..2269d628975 100644 --- a/src/tests/ilasm/PortablePdb/Resources/README.txt +++ b/src/tests/ilasm/PortablePdb/Resources/README.txt @@ -5,10 +5,10 @@ In order to verify whether ilasm produces correct portable pdb format one can do - LINUX: /tmp/ 2. Run IlasmPortablePdb tests which reference .cs source files from 'TestMethodDebugInformation': .\..\TestFiles\TestMethodDebugInformation_*.il -3. On successful complition load the generated dlls from tests output directory: +3. On successful completion load the generated dlls from tests output directory: TestMethodDebugInformation_*.dll TestMethodDebugInformation_*.pdb with a debugger and step through the .cs code to verify correctness of the portable PDB format - + NOTE: this should work only if 'TestMethodDebugInformation' directory is properly placed in paths -specified in 1. \ No newline at end of file +specified in 1.