XenoUInt64.HasMoreValues C# (CSharp) Метод

HasMoreValues() публичный Метод

public HasMoreValues ( ) : Boolean
Результат Boolean
 public Boolean HasMoreValues() {
 return ( !AllFinished );
 }
 public UInt64 GetNextValue() {

Usage Example

Пример #1
0
 public Boolean runTest()
 {
     Console.WriteLine(s_strTFPath + " " + s_strTFName + " ,for " + s_strComponentBeingTested + "  ,Source ver " + s_strDtTmVer);
     try
     {
         m_strLoc = "Loc_normalTests";
         XenoUInt64 xeno = new XenoUInt64();
         UInt64     x;
         while (xeno.HasMoreValues())
         {
             x = xeno.GetNextValue();
             iCountTestcases++;
             if (x.ToString(  ).Equals(x.ToString("d")) != true)
             {
                 iCountErrors++;
             }
         }
     } catch (Exception e) {
         Console.WriteLine("Unexpected exception " + e + " thrown during runTest try.");
         iCountErrors++;
     }
     Console.Write(Environment.NewLine);
     Console.WriteLine("Total Tests Ran: " + iCountTestcases + " Failed Tests: " + iCountErrors);
     if (iCountErrors == 0)
     {
         Console.WriteLine("paSs.   " + s_strTFPath + " " + s_strTFName + "  ,iCountTestcases==" + iCountTestcases);
         return(true);
     }
     else
     {
         Console.WriteLine("FAiL!   " + s_strTFPath + " " + s_strTFName + "  ,iCountErrors==" + iCountErrors + " ,BugNums?: " + s_strActiveBugNums);
         return(false);
     }
 }
All Usage Examples Of XenoUInt64::HasMoreValues