Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-4941

BSON Double test clean up

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • bson-5.0.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • 2
    • Not Needed
    • Not Needed

      AC

      • De-duplicate double test cases
      • Name test cases after the class of coverage intended to be covered
        • ex. instead of "3" returns 3, "integer-like number", "fractional number" etc.
      • Break out "interesting" test cases from the test table to their own it blocks
        • stringified -0.0 which is our custom output format
        • An integer-like double that is beyond the precision of an 8 byte double, but is preserved by toFixed
        • A number written in scientific notation (Fractional and int). This is not a test that adds coverage to the case in the table but adds coverage for a viable use case

            Assignee:
            neal.beeken@mongodb.com Neal Beeken
            Reporter:
            neal.beeken@mongodb.com Neal Beeken
            Durran Jordan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: