CVSROOT: /cvsroot/pdf
Module name: libgnupdf
Changes by: Daniel <danividal> 08/06/24 14:13:30
Modified files:
doc : gnupdf-tsd.texi
Log message:
pdf_i64 type tests
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/libgnupdf/doc/gnupdf-tsd.texi?cvsroot=pdf&r1=1.12&r2=1.13
Patches:
Index: gnupdf-tsd.texi
===================================================================
RCS file: /cvsroot/pdf/libgnupdf/doc/gnupdf-tsd.texi,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- gnupdf-tsd.texi 17 Jun 2008 13:49:45 -0000 1.12
+++ gnupdf-tsd.texi 24 Jun 2008 14:13:30 -0000 1.13
@@ -1,5 +1,5 @@
\input texinfo
[EMAIL PROTECTED] $Id: gnupdf-tsd.texi,v 1.12 2008/06/17 13:49:45 gerel Exp $
[EMAIL PROTECTED] $Id: gnupdf-tsd.texi,v 1.13 2008/06/24 14:13:30 danividal Exp
$
@comment %**start of header
@setfilename gnupdf-tsd.info
@settitle GNU PDF Library Test Specification Document
@@ -4296,6 +4296,192 @@
@end table
@end deffn
[EMAIL PROTECTED] Types Module
[EMAIL PROTECTED] Types Module
+
[EMAIL PROTECTED]
+* pdf_i64_add::
+* pdf_i64_abs::
[EMAIL PROTECTED] menu
+
[EMAIL PROTECTED] pdf_i64_add
[EMAIL PROTECTED] pdf_i64_add
+
+
[EMAIL PROTECTED] Test pdf_i64_add_001
+Checks if the carry number is properly carried.
[EMAIL PROTECTED] @strong
[EMAIL PROTECTED] Success condition
+The call should not produce an error.
[EMAIL PROTECTED] table
[EMAIL PROTECTED] deffn
+
[EMAIL PROTECTED] Test pdf_i64_add_002
+Checks if function checks the proper initialisation of target
[EMAIL PROTECTED] @strong
[EMAIL PROTECTED] Success condition
+The call should produce an error
[EMAIL PROTECTED] table
[EMAIL PROTECTED] deffn
+
[EMAIL PROTECTED] Test pdf_i64_add_003
+ Adds a positive and negative number
[EMAIL PROTECTED] @strong
[EMAIL PROTECTED] Success condition
+The call should not produce an error
[EMAIL PROTECTED] table
[EMAIL PROTECTED] deffn
+
[EMAIL PROTECTED] Test pdf_i64_add_004
+ Adds two negative numbers
[EMAIL PROTECTED] @strong
[EMAIL PROTECTED] Success condition
+The call should not produce an error
[EMAIL PROTECTED] table
[EMAIL PROTECTED] deffn
+
[EMAIL PROTECTED] pdf_i64_abs
[EMAIL PROTECTED] pdf_i64_abs
+
[EMAIL PROTECTED] Test pdf_i64_abs_001
+Checks if the result is the absolute of the number
[EMAIL PROTECTED] @strong
[EMAIL PROTECTED] Success condition
+The call should produce a positive number from a negative
[EMAIL PROTECTED] table
[EMAIL PROTECTED] deffn
+
[EMAIL PROTECTED] Test pdf_i64_abs_002
+Checks if the result is the absolute of the input value
[EMAIL PROTECTED] @strong
[EMAIL PROTECTED] Success condition
+The call should produce a positive number from a positive
[EMAIL PROTECTED] table
[EMAIL PROTECTED] deffn
+
[EMAIL PROTECTED] pdf_i64_assign
[EMAIL PROTECTED] pdf_i64_assign
+
[EMAIL PROTECTED] Test pdf_i64_assign_001
+Checks if the the pdf_i64_assign function properly assigns
[EMAIL PROTECTED] @strong
[EMAIL PROTECTED] Success condition
+The call should not produce an error
[EMAIL PROTECTED] table
[EMAIL PROTECTED] deffn
+
[EMAIL PROTECTED] Test pdf_i64_assign_002
+Checks if the the pdf_i64_assign function properly assigns
+the high and low values to a NULL pdf_i64_t pointer type
[EMAIL PROTECTED] @strong
[EMAIL PROTECTED] Success condition
+The call should not produce an error
[EMAIL PROTECTED] table
[EMAIL PROTECTED] deffn
+
[EMAIL PROTECTED] pdf_i64_assign_quick
[EMAIL PROTECTED] pdf_i64_assign_quick
+
[EMAIL PROTECTED] Test pdf_i64_assign_quick_001
+Checks if the the pdf_i64_assign function properly assigns
+the high and low values to a pdf_i64_t type
[EMAIL PROTECTED] @strong
[EMAIL PROTECTED] Success condition
+The call should not produce an error
[EMAIL PROTECTED] table
[EMAIL PROTECTED] deffn
+
[EMAIL PROTECTED] Test pdf_i64_assign_quick_002
+Checks if the the pdf_i64_assign function properly assigns
+the high and low values to a pdf_i64_t type
[EMAIL PROTECTED] @strong
[EMAIL PROTECTED] Success condition
+The call should not produce an error
[EMAIL PROTECTED] table
[EMAIL PROTECTED] deffn
+
[EMAIL PROTECTED] pdf_i64_cmp
[EMAIL PROTECTED] pdf_i64_cmp
+
[EMAIL PROTECTED] Test pdf_i64_cmp_001
+Checks if the comparison between a negative and positive
+number is carried out properly
[EMAIL PROTECTED] @strong
[EMAIL PROTECTED] Success condition
+The call should produce a -1
[EMAIL PROTECTED] table
[EMAIL PROTECTED] deffn
+
[EMAIL PROTECTED] Test pdf_i64_cmp_002
+Checks if the comparison between a positive and negative
+number is carried out properly
[EMAIL PROTECTED] @strong
[EMAIL PROTECTED] Success condition
+The call should produce a 1
[EMAIL PROTECTED] table
[EMAIL PROTECTED] deffn
+
[EMAIL PROTECTED] Test pdf_i64_cmp_003
+Checks if the comparison between two equal numbers
+number is carried out properly
[EMAIL PROTECTED] @strong
[EMAIL PROTECTED] Success condition
+The call should produce a 0
[EMAIL PROTECTED] table
[EMAIL PROTECTED] deffn
+
[EMAIL PROTECTED] pdf_i64_copy
[EMAIL PROTECTED] pdf_i64_copy
+
[EMAIL PROTECTED] Test pdf_i64_copy_001
+Checks if the the pdf_i64_copy copies the values of one
+pdf_i64_t variable into another
[EMAIL PROTECTED] @strong
[EMAIL PROTECTED] Success condition
+No error is produced
[EMAIL PROTECTED] table
[EMAIL PROTECTED] deffn
+
[EMAIL PROTECTED] Test pdf_i64_copy_002
+Checks if the the pdf_i64_copy function gets an error if
+the target pointer is not properly initialised
[EMAIL PROTECTED] @strong
[EMAIL PROTECTED] Success condition
+Error is produced
[EMAIL PROTECTED] table
[EMAIL PROTECTED] deffn
+
+
[EMAIL PROTECTED] pdf_i64_neg
[EMAIL PROTECTED] pdf_i64_neg
+
[EMAIL PROTECTED] Test pdf_i64_neg_001
+Checks if the result is the negation of the number
[EMAIL PROTECTED] @strong
[EMAIL PROTECTED] Success condition
+The call should produce a negative number from a positive
[EMAIL PROTECTED] table
[EMAIL PROTECTED] deffn
+
[EMAIL PROTECTED] Test pdf_i64_neg_002
+Checks if the result is the negation of the number
[EMAIL PROTECTED] @strong
[EMAIL PROTECTED] Success condition
+The call should produce a positive number from a negative
[EMAIL PROTECTED] table
[EMAIL PROTECTED] deffn
+
[EMAIL PROTECTED] pdf_i64_new
[EMAIL PROTECTED] pdf_i64_new
+
[EMAIL PROTECTED] Test pdf_i64_new_001
+Checks if the the pdf_i64_new function properly assigns
+the high and low values to a pdf_i64_t type
[EMAIL PROTECTED] @strong
[EMAIL PROTECTED] Success condition
+Function carried out with no errors
[EMAIL PROTECTED] table
[EMAIL PROTECTED] deffn
@node Subsystem Testing
@chapter Subsystem Testing