Skip to content

Commit

Permalink
updated unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jmacey committed May 18, 2023
1 parent 5a8d49d commit 7f34f29
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tests/UtilTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,4 @@ TEST(Util, generateDistinctColoursReturnsDistinctColours)
EXPECT_NE(colours[i], colours[j]);
}
}

// co-pilot doesn't know we can use this which is what I would have done
EXPECT_TRUE(std::unique(std::begin(colours), std::end(colours)) == std::end(colours));

}

0 comments on commit 7f34f29

Please sign in to comment.