79101402

Date: 2024-10-18 09:23:48
Score: 0.5
Natty:
Report link

Starting from XCode 16, you will be able to use the new Swift Testing framework to test different arguments for the same test function. It's used like the following:

@Test(arguments: [10, 15, 20])
func insertionSortPerformance(length: Int) {
  _ = insertionSort(arrLen: length)
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: es97