Uploaded image for project: 'Apache YuniKorn'
  1. Apache YuniKorn
  2. YUNIKORN-1361

Adopting the table-driven style for last unit tests in resource.go

    XMLWordPrintableJSON

Details

    Description

      refactoring functions in resources_test.go:
      1.TestFitInScore
      2.TestCompUsage
      3.TestFairnessRatio
      4.TestCompareShares
      5.TestGetShares
      6.TestFitInSkip

      Attachments

        Issue Links

          Activity

            People

              Cliff Su Cliff Su
              Yukali Chen Yu Teng
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: