yaze 0.2.0
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::test::zelda3 Namespace Reference

Classes

class  DungeonRoomTest
 
class  MessageTest
 
class  OverworldTest
 
class  SpriteBuilderTest
 

Functions

 TEST_F (DungeonRoomTest, SingleRoomLoadOk)
 
 TEST_F (MessageTest, LoadMessagesFromRomOk)
 
 TEST_F (MessageTest, VerifySingleMessageFromRomOk)
 
 TEST_F (OverworldTest, OverworldLoadNoRomDataError)
 
 TEST_F (OverworldTest, OverworldLoadRomDataOk)
 
 TEST_F (SpriteBuilderTest, BuildSpritePropertiesOk)
 

Function Documentation

◆ TEST_F() [1/6]

yaze::test::zelda3::TEST_F ( DungeonRoomTest ,
SingleRoomLoadOk  )

Definition at line 28 of file dungeon_room_test.cc.

References yaze::app::zelda3::dungeon::Room::LoadHeader(), and yaze::app::zelda3::dungeon::Room::LoadRoomFromROM().

Here is the call graph for this function:

◆ TEST_F() [2/6]

yaze::test::zelda3::TEST_F ( MessageTest ,
LoadMessagesFromRomOk  )

Definition at line 24 of file message_test.cc.

References EXPECT_OK.

◆ TEST_F() [3/6]

yaze::test::zelda3::TEST_F ( MessageTest ,
VerifySingleMessageFromRomOk  )
Test
Verify that a single message can be loaded from the ROM.

The message is loaded from the ROM and the message is parsed.

Message #1 at address 0x0E000B RawString: [S:00][3][][:75][:44][CH2I]

Parsed: [S:##]A [3]give [2]give >[CH2I]

Definition at line 43 of file message_test.cc.

◆ TEST_F() [4/6]

yaze::test::zelda3::TEST_F ( OverworldTest ,
OverworldLoadNoRomDataError  )

Definition at line 28 of file overworld_test.cc.

◆ TEST_F() [5/6]

yaze::test::zelda3::TEST_F ( OverworldTest ,
OverworldLoadRomDataOk  )

◆ TEST_F() [6/6]

yaze::test::zelda3::TEST_F ( SpriteBuilderTest ,
BuildSpritePropertiesOk  )

Definition at line 57 of file sprite_builder_test.cc.