Adding support for windows and fixing some errors

This commit is contained in:
Ilusha 2024-01-15 16:35:16 -08:00 committed by IlyaShurupov
parent 2722a25036
commit 34a8d4eafd
84 changed files with 168 additions and 255 deletions

View file

@ -6,7 +6,7 @@ using namespace tp;
TEST_DEF(ComplexNumber) {
TEST((ComplexCart{ 3, 4 }.mod() == 5));
TEST((ComplexCart{ 1, 1 }.arg() == 0.7853981633974483));
TEST((abs(ComplexCart{ 1, 1 }.arg() - 0.7853981633974483) < 0.001));
TEST((ComplexCart{ 3, 4 }.norm2() == 25));
{