Extend the test also for the packages that doesn't have a special ordering

This commit is contained in:
Ettore Di Giacinto
2019-11-09 11:18:20 +01:00
parent a3b4d953d7
commit 1131a52f97

View File

@@ -421,6 +421,16 @@ var _ = Describe("Solver", func() {
} else {
equality++
}
if solution[4].Package.GetName() != "A" {
disequality++
} else {
equality++
}
if solution[5].Package.GetName() != "C" {
disequality++
} else {
equality++
}
})
It("Expect disequality", func() {
Expect(disequality).ToNot(Equal(0))