Skip to content

Commit

Permalink
cleanup-test
Browse files Browse the repository at this point in the history
  • Loading branch information
ban-nobuhiro committed Aug 16, 2024
1 parent 1bd43c5 commit 2a83e9a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions test/limestone/log/log_entry_4_LevelDB_test.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2022-2023 Project Tsurugi.
* Copyright 2022-2024 Project Tsurugi.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -92,7 +92,7 @@ TEST_F(log_entry_4_LevelDB_test, write_and_read_and_write_and_read) {

limestone::api::write_version_type buf_version;
log_entry_normal_.write_version(buf_version);
EXPECT_TRUE(buf_version == write_version);
EXPECT_EQ(buf_version, write_version);
}

} // namespace limestone::testing
6 changes: 3 additions & 3 deletions test/limestone/log/log_entry_test.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2022-2023 Project Tsurugi.
* Copyright 2022-2024 Project Tsurugi.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -78,7 +78,7 @@ TEST_F(log_entry_test, write_and_read) {

limestone::api::write_version_type buf_version;
log_entry_.write_version(buf_version);
EXPECT_TRUE(buf_version == write_version);
EXPECT_EQ(buf_version, write_version);
}

TEST_F(log_entry_test, write_and_read_and_write_and_read) {
Expand Down Expand Up @@ -113,7 +113,7 @@ TEST_F(log_entry_test, write_and_read_and_write_and_read) {

limestone::api::write_version_type buf_version;
log_entry_.write_version(buf_version);
EXPECT_TRUE(buf_version == write_version);
EXPECT_EQ(buf_version, write_version);
}

} // namespace limestone::testing
6 changes: 3 additions & 3 deletions test/limestone/log/log_entry_type_test.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2022-2023 Project Tsurugi.
* Copyright 2022-2024 Project Tsurugi.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -90,7 +90,7 @@ TEST_F(log_entry_type_test, write_and_read) {

limestone::api::write_version_type buf_version;
log_entry_normal_.write_version(buf_version);
EXPECT_TRUE(buf_version == write_version);
EXPECT_EQ(buf_version, write_version);

EXPECT_EQ(log_entry_end_.type(), limestone::api::log_entry::entry_type::marker_end);
EXPECT_EQ(log_entry_end_.epoch_id(), epoch_id + 1);
Expand Down Expand Up @@ -139,7 +139,7 @@ TEST_F(log_entry_type_test, write_and_read_and_write_and_read) {

limestone::api::write_version_type buf_version;
log_entry_normal_.write_version(buf_version);
EXPECT_TRUE(buf_version == write_version);
EXPECT_EQ(buf_version, write_version);

EXPECT_EQ(log_entry_end_.type(), limestone::api::log_entry::entry_type::marker_end);
EXPECT_EQ(log_entry_end_.epoch_id(), epoch_id + 1);
Expand Down

0 comments on commit 2a83e9a

Please sign in to comment.