remove outdated tests
This commit is contained in:
@@ -129,16 +129,6 @@ TEST(LC_LZ2_CompressionTest, RepeatedBytesBeforeUncompressableRepeated) {
|
|||||||
{0x04, 0x01, 0x00, 0x00, 0x00, 0x02, 0x22, 0x00, 0xFF});
|
{0x04, 0x01, 0x00, 0x00, 0x00, 0x02, 0x22, 0x00, 0xFF});
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST(LC_LZ2_CompressionTest, CompressionDecompressionEmptyData) {
|
|
||||||
Rom rom;
|
|
||||||
uchar empty_input[0] = {};
|
|
||||||
auto comp_result = ExpectCompressOk(rom, empty_input, 0);
|
|
||||||
EXPECT_EQ(0, comp_result.size());
|
|
||||||
|
|
||||||
auto decomp_result = ExpectDecompressOk(rom, empty_input, 0);
|
|
||||||
EXPECT_EQ(0, decomp_result.size());
|
|
||||||
}
|
|
||||||
|
|
||||||
TEST(LC_LZ2_CompressionTest, NewDecompressionPieceOk) {
|
TEST(LC_LZ2_CompressionTest, NewDecompressionPieceOk) {
|
||||||
char command = 1;
|
char command = 1;
|
||||||
int length = 1;
|
int length = 1;
|
||||||
|
|||||||
@@ -4,7 +4,6 @@
|
|||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
|
|
||||||
namespace yaze_test {
|
namespace yaze_test {
|
||||||
namespace rom_test {
|
|
||||||
|
|
||||||
using yaze::app::Rom;
|
using yaze::app::Rom;
|
||||||
|
|
||||||
@@ -18,5 +17,4 @@ TEST_F(RomTest, RomTest) {
|
|||||||
EXPECT_EQ(rom_.data(), nullptr);
|
EXPECT_EQ(rom_.data(), nullptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace rom_test
|
|
||||||
} // namespace yaze_test
|
} // namespace yaze_test
|
||||||
@@ -61,17 +61,5 @@ TEST_F(SpriteBuilderTest, BuildSpritePropertiesOk) {
|
|||||||
)"));
|
)"));
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST_F(SpriteBuilderTest, BuildSpriteOk) {
|
|
||||||
EXPECT_THAT(sprite.Build(), testing::HasSubstr(R"(
|
|
||||||
Sprite_Puffstool_Main:
|
|
||||||
JSL Sprite_BehaveAsBarrier
|
|
||||||
LDA.w SprAction, X
|
|
||||||
JSL JumpTableLocal
|
|
||||||
|
|
||||||
dw Sprite_Puffstool_IdleAction
|
|
||||||
dw Sprite_Puffstool_Walk
|
|
||||||
)"));
|
|
||||||
}
|
|
||||||
|
|
||||||
} // namespace zelda3_test
|
} // namespace zelda3_test
|
||||||
} // namespace yaze_test
|
} // namespace yaze_test
|
||||||
Reference in New Issue
Block a user