Browse files

Add unit test coverage info to test_array.cpp, test_disjoint_set.cpp,…

… test_internal_priority_queue.cpp
  • Loading branch information...
1 parent 927e971 commit c2ba5c03a230e1f9a9fc45b38d7382db12eebef2 @Mortal Mortal committed Aug 13, 2012
Showing with 53 additions and 2 deletions.
  1. +23 −1 test/unit/test_array.cpp
  2. +11 −0 test/unit/test_disjoint_set.cpp
  3. +19 −1 test/unit/test_internal_priority_queue.cpp
View
24 test/unit/test_array.cpp
@@ -1,6 +1,6 @@
// -*- mode: c++; tab-width: 4; indent-tabs-mode: t; c-file-style: "stroustrup"; -*-
// vi:set ts=4 sts=4 sw=4 noet :
-// Copyright 2008, The TPIE development team
+// Copyright 2008, 2012, The TPIE development team
//
// This file is part of TPIE.
//
@@ -26,6 +26,28 @@
#include <tpie/concepts.h>
using namespace tpie;
+// Method coverage of tpie::array
+//
+// Method Covered by unit test
+//
+// ctor(sz) basic
+// ctor(sz, el) basic
+// operator[] basic
+// at TODO
+// back frontback
+// begin iterator
+// empty basic
+// end iterator
+// find iterator
+// front frontback
+// get TODO
+// rbegin iterator
+// rend iterator
+// resize(sz) basic
+// resize(sz, el) basic
+// size basic
+// swap TODO
+
bool basic_test() {
array<size_t> hat;
//Resize
View
11 test/unit/test_disjoint_set.cpp
@@ -22,6 +22,17 @@
#include <iostream>
#include "test_timer.h"
+// Method coverage of tpie::disjoint_sets
+//
+// Method Covered by unit test
+// ctor(n, u) basic
+// count_sets basic
+// find_set basic
+// is_set basic
+// link TODO
+// make_set basic
+// union_set basic
+
using namespace tpie;
using namespace std;
View
20 test/unit/test_internal_priority_queue.cpp
@@ -1,6 +1,6 @@
// -*- mode: c++; tab-width: 4; indent-tabs-mode: t; c-file-style: "stroustrup"; -*-
// vi:set ts=4 sts=4 sw=4 noet :
-// Copyright 2008, The TPIE development team
+// Copyright 2008, 2012, The TPIE development team
//
// This file is part of TPIE.
//
@@ -21,6 +21,24 @@
#include <vector>
#include "priority_queue.h"
+// Method coverage of tpie::internal_priority_queue
+//
+// Method Covered by unit test
+// ctor(max_size) basic
+// ctor(max_size, IT, IT) TODO
+// clear TODO
+// empty TODO
+// get_array TODO
+// insert TODO
+// make_safe TODO
+// pop basic
+// pop_and_push TODO
+// push basic
+// resize TODO
+// size basic
+// top basic
+// unsafe_push TODO
+
using namespace tpie;
bool basic_test() {

0 comments on commit c2ba5c0

Please sign in to comment.