testc.h 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. /*++
  2. Copyright (c) 2013 Minoca Corp.
  3. This file is licensed under the terms of the GNU General Public License
  4. version 3. Alternative licensing terms are available. Contact
  5. info@minocacorp.com for details. See the LICENSE file at the root of this
  6. project for complete licensing information.
  7. Module Name:
  8. testc.h
  9. Abstract:
  10. This header contains definitions for the C library test
  11. Author:
  12. Evan Green 9-Jul-2013
  13. --*/
  14. //
  15. // ------------------------------------------------------------------- Includes
  16. //
  17. #include "../libcp.h"
  18. //
  19. // ---------------------------------------------------------------- Definitions
  20. //
  21. //
  22. // ------------------------------------------------------ Data Type Definitions
  23. //
  24. //
  25. // -------------------------------------------------------------------- Globals
  26. //
  27. //
  28. // -------------------------------------------------------- Function Prototypes
  29. //
  30. ULONG
  31. TestRegularExpressions (
  32. VOID
  33. );
  34. /*++
  35. Routine Description:
  36. This routine implements the entry point for the regular expression tests.
  37. Arguments:
  38. None.
  39. Return Value:
  40. Returns the count of test failures.
  41. --*/
  42. ULONG
  43. TestQuickSort (
  44. VOID
  45. );
  46. /*++
  47. Routine Description:
  48. This routine implements the entry point for the quicksort test.
  49. Arguments:
  50. None.
  51. Return Value:
  52. Returns the count of test failures.
  53. --*/
  54. ULONG
  55. TestBinarySearch (
  56. VOID
  57. );
  58. /*++
  59. Routine Description:
  60. This routine implements the entry point for the binary search test.
  61. Arguments:
  62. None.
  63. Return Value:
  64. Returns the count of test failures.
  65. --*/
  66. ULONG
  67. TestMath (
  68. VOID
  69. );
  70. /*++
  71. Routine Description:
  72. This routine implements the entry point for the C library math test.
  73. Arguments:
  74. None.
  75. Return Value:
  76. Returns the count of test failures.
  77. --*/
  78. ULONG
  79. TestMathFloat (
  80. VOID
  81. );
  82. /*++
  83. Routine Description:
  84. This routine implements the entry point for the C library single-precision
  85. floating point math test.
  86. Arguments:
  87. None.
  88. Return Value:
  89. Returns the count of test failures.
  90. --*/
  91. ULONG
  92. TestGetopt (
  93. VOID
  94. );
  95. /*++
  96. Routine Description:
  97. This routine tests the getopt functions.
  98. Arguments:
  99. None.
  100. Return Value:
  101. Returns the count of test failures.
  102. --*/