Skip to content

Commit

Permalink
Fix boilerplate
Browse files Browse the repository at this point in the history
  • Loading branch information
mmore500 committed Dec 8, 2023
1 parent 4fa794d commit 831af72
Show file tree
Hide file tree
Showing 18 changed files with 55 additions and 17 deletions.
4 changes: 2 additions & 2 deletions demos/utils/words/Wordle-simple.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
* date: 2022
*/
/**
* This version of Wordle is a bit simpler than it should be; it does not handle double letters
* correctly.
* @file
* @brief TODO.
*/

#include <cmath>
Expand Down
6 changes: 1 addition & 5 deletions demos/utils/words/Wordle/Wordle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,7 @@
* date: 2022
*/
/**
* @note This file is part of Empirical, https://github.com/devosoft/Empirical
* @copyright Copyright (C) Michigan State University, MIT Software license; see doc/LICENSE.md
* @date 2022
*
* @file Wordle.cpp
* @file
*/

#include <cmath>
Expand Down
2 changes: 1 addition & 1 deletion include/emp/datastructs/QueueCache.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/**
* @file
* @brief A simple implementation of a Least-Recently Used Cache.
* It orders elements by access time and removes the stalest ones in case
* It orders elements by access time and removes the stalest ones in case
* maximum capacity is reached.
*/

Expand Down
6 changes: 1 addition & 5 deletions tests/base/notify.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,7 @@
* date: 2022
*/
/**
* @note This file is part of Empirical, https://github.com/devosoft/Empirical
* @copyright Copyright (C) Michigan State University, MIT Software license; see doc/LICENSE.md
* @date 2022
*
* @file notify.cpp
* @file
*/

#define CATCH_CONFIG_MAIN
Expand Down
4 changes: 4 additions & 0 deletions tests/bits/Bits.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
* Copyright (C) Michigan State University, MIT Software license; see doc/LICENSE.md
* date: 2022
*/
/**
* @file
*/

#include <limits>
#include <map>
#include <ratio>
Expand Down
4 changes: 4 additions & 0 deletions tests/data/Datum.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
* Copyright (C) Michigan State University, MIT Software license; see doc/LICENSE.md
* date: 2022
*/
/**
* @file
*/

#ifndef CATCH_CONFIG_MAIN
#define CATCH_CONFIG_MAIN
#endif
Expand Down
4 changes: 4 additions & 0 deletions tests/data/SimpleParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
* Copyright (C) Michigan State University, MIT Software license; see doc/LICENSE.md
* date: 2022
*/
/**
* @file
*/

#define CATCH_CONFIG_MAIN

#include "third-party/Catch/single_include/catch2/catch.hpp"
Expand Down
3 changes: 3 additions & 0 deletions tests/datastructs/ra_map.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
* Copyright (C) Michigan State University, MIT Software license; see doc/LICENSE.md
* date: 2022
*/
/**
* @file
*/

#include "third-party/Catch/single_include/catch2/catch.hpp"

Expand Down
4 changes: 4 additions & 0 deletions tests/hardware/VirtualCPU.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
* date: 2021-2022
*/
/**
* @file
*/

/*
* TODO
* [ ] *INSTRUCTIONS struct
* [ ] Constructors assign values correctly
Expand Down
4 changes: 4 additions & 0 deletions tests/math/RangeSet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
* Copyright (C) Michigan State University, MIT Software license; see doc/LICENSE.md
* date: 2023
*/
/**
* @file
*/

#include <iostream>
#include <sstream>

Expand Down
3 changes: 3 additions & 0 deletions tests/meta/FunInfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
* Copyright (C) Michigan State University, MIT Software license; see doc/LICENSE.md
* date: 2021-2022
*/
/**
* @file
*/

#define CATCH_CONFIG_MAIN

Expand Down
4 changes: 4 additions & 0 deletions tests/text/EmphaticText.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
* Copyright (C) Michigan State University, MIT Software license; see doc/LICENSE.md
* date: 2022
*/
/**
* @file
*/

#include <iostream>
#include <sstream>

Expand Down
4 changes: 4 additions & 0 deletions tests/text/HTMLText.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
* Copyright (C) Michigan State University, MIT Software license; see doc/LICENSE.md
* date: 2022-2023
*/
/**
* @file
*/

#include <iostream>
#include <sstream>

Expand Down
4 changes: 4 additions & 0 deletions tests/text/Text.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
* Copyright (C) Michigan State University, MIT Software license; see doc/LICENSE.md
* date: 2022
*/
/**
* @file
*/

#include <iostream>
#include <sstream>

Expand Down
3 changes: 3 additions & 0 deletions tests/tools/MemoryFactory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
* Copyright (C) Michigan State University, MIT Software license; see doc/LICENSE.md
* date: 2022
*/
/**
* @file
*/

#include "../third-party/Catch/single_include/catch2/catch.hpp"

Expand Down
3 changes: 3 additions & 0 deletions tests/tools/StaticString.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
* Copyright (C) Michigan State University, MIT Software license; see doc/LICENSE.md
* date: 2022
*/
/**
* @file
*/

#include "../third-party/Catch/single_include/catch2/catch.hpp"

Expand Down
7 changes: 3 additions & 4 deletions tests/tools/String.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@
* Copyright (C) Michigan State University, MIT Software license; see doc/LICENSE.md
* date: 2023
*/

#include "../third-party/Catch/single_include/catch2/catch.hpp"

#include "emp/tools/String.hpp"
/**
* @file
*/

TEST_CASE("Test String Constructors", "[tools]")
{
Expand Down
3 changes: 3 additions & 0 deletions tests/tools/char_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
* Copyright (C) Michigan State University, MIT Software license; see doc/LICENSE.md
* date: 2021-2022
*/
/**
* @file
*/

#include "../third-party/Catch/single_include/catch2/catch.hpp"

Expand Down

0 comments on commit 831af72

Please sign in to comment.