Skip to content

Commit

Permalink
docs: complement file comment #18
Browse files Browse the repository at this point in the history
  • Loading branch information
lymslive committed May 9, 2024
1 parent 69364f5 commit 8989ea7
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 11 deletions.
9 changes: 9 additions & 0 deletions include/coutstd.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/**
* @file coutstd.hpp
* @author lymslive
* @date 2024-05-08
* @brief Implement the `<<` operator for some of the mose often used
* container in `std::`.
* @note Required c++11 or above, and the element type in continer should
* support `<<` operator.
* */
#ifndef COUTSTD_HPP__
#define COUTSTD_HPP__

Expand Down
2 changes: 1 addition & 1 deletion include/file-compare.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* @file file_compare.h
* @file file-compare.h
* @author lymslive
* @date 2024-03-25
* @brief Implement COUT_FILE macro to compare tows text files.
Expand Down
20 changes: 13 additions & 7 deletions include/tinymain.hpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
/// A tiny trival `main` for `tinytast` or `couttast` framework.
/// May include it into one of and at least one of test case cpp files,
/// then compile and link it to other test case objects.
/// Alternative way is link to libtinytast.a or libcouttast, where also include this main.
/// Note: Can use macro `USE_COUTTAST_FULLIB` to switch to extend `couttast.h`
/// instead of basic `tinytast.hpp`, but need also link to `libcouttast`
/// ofcourse.
/**
* @file tinymain.hpp
* @author lymslive
* @date 2024-05-08
* @brief A tiny trival `main` for `tinytast` or `couttast` framework.
* @details
* May include it into one of and at most one of test case cpp files,
* then compile and link it to other test case objects.
* Alternative way is link to `libtinytast.a` or `libcouttast.a`, where also include this main.
* @note Can use macro `USE_COUTTAST_FULLIB` to switch to extend `couttast.h`
* instead of basic `tinytast.hpp`, but need also link to `libcouttast.a`
* ofcourse.
* */
#ifdef USE_COUTTAST_FULLIB

#include "couttast.h"
Expand Down
8 changes: 6 additions & 2 deletions include/tinytast.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
// A very tiny unit test framework with single header even in C++98
// lymslive @ 2023-06-17 2024-04-17
/**
* @file tinytast.hpp
* @author lymslive
* @date 2024-05-08
* @brief A very tiny unit test framework with single header even in C++98.
* */
#ifndef TINYTAST_HPP__
#define TINYTAST_HPP__

Expand Down
2 changes: 1 addition & 1 deletion include/unittast.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* @file classtast.hpp
* @file unittast.hpp
* @author lymslive
* @date 2024-04-25
* @brief Support group test suite based on file unit or namespace in the file.
Expand Down

0 comments on commit 8989ea7

Please sign in to comment.