From 88503bb806d0898956166a77d527e9c3e4966426 Mon Sep 17 00:00:00 2001 From: Valentina Zhuravska Date: Sun, 22 Nov 2015 18:56:49 +0200 Subject: [PATCH] Added comments to tests for SumTrapezoids --HG-- branch : feature --- src/test/ValentinaTest/tst_vabstractdetail.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/test/ValentinaTest/tst_vabstractdetail.cpp b/src/test/ValentinaTest/tst_vabstractdetail.cpp index 3022002ad..ccb824db8 100644 --- a/src/test/ValentinaTest/tst_vabstractdetail.cpp +++ b/src/test/ValentinaTest/tst_vabstractdetail.cpp @@ -55,6 +55,9 @@ void TST_VAbstractDetail::EquidistantRemoveLoop() const //--------------------------------------------------------------------------------------------------------------------- void TST_VAbstractDetail::SumTrapezoids() const { + // Case3 checks that the method 'SumTrapezoids' returns negative value for three clockwise allocated points + // Case4 checks that the method 'SumTrapezoids' returns positive value for three counterclock-wise allocated points + // Case5 checks that the method 'SumTrapezoids' returns 0 for one point Case3(); Case4(); Case5();