Testing SerenityOS #2: Pairs of functions / Complex.h
Автор: Martin Janiczek
Загружено: 2023-11-22
Просмотров: 254
Описание:
Hey there everyone!
In this second instalment of "Testing SerenityOS" I demonstrate a way to more easily find properties to test: considering pairs of functions.
It's hard enough to try to come up with properties for a single function; counter-intuitively taking pairs of them makes the problem easier.
We'll show this technique off on an implementation of complex numbers, and uncover and fix two bugs in the process.
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: