|
|
|
|
|
by squeaky-clean
3077 days ago
|
|
This doesn't satisfy the time constraint though. return 1.0f / sqrt(x)
Passes a property based test but now your game doesn't actually run because it's much too slow of an operation on hardware at that time.You can also test execution time too, but that's finicky and doesn't help explain how to fix it if you break that test (if there's no accompanying documentation). |
|