mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 11:21:47 +00:00
Merge pull request #89508 from KobayashiD27/test-coverage-up
Add test case to improve the test coverage.
This commit is contained in:
commit
594cbdfd19
@ -55,6 +55,11 @@ func TestDefaultNormalizeScore(t *testing.T) {
|
||||
scores: []int64{1000, 1, 1, 1},
|
||||
expectedScores: []int64{100, 0, 0, 0},
|
||||
},
|
||||
{
|
||||
reverse: true,
|
||||
scores: []int64{0, 1, 1, 1},
|
||||
expectedScores: []int64{100, 0, 0, 0},
|
||||
},
|
||||
}
|
||||
|
||||
for i, test := range tests {
|
||||
|
Loading…
Reference in New Issue
Block a user