Uploaded image for project: 'Infrastructure Verification'
  1. Infrastructure Verification
  2. YARDSTICK-97

algorithm of arithmetic make an error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      In the 52th line of arithmetic.py file, there is "for value in range(start, stop+step, step):".
      Sometimes "stop+step" will make execute times +1.

      for example:
      >>> range(5,20,10)
      [5, 15] — true
      >>> range(5,20+10,10)
      [5, 15, 25] — false

      Attention´╝Ü support both ascending and descending

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            • Assignee:
              kubi Kubi
              Reporter:
              houjingwen Hou Jingwen
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • It looks like Backbone Issue Sync is not enabled for your project.