You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
402 B
21 lines
402 B
#include <gtest/gtest.h> |
|
|
|
#include "drlg_l4.h" |
|
|
|
using namespace devilution; |
|
|
|
TEST(Drlg_l4, IsDURWall) |
|
{ |
|
EXPECT_EQ(IsDURWall(25), true); |
|
EXPECT_EQ(IsDURWall(28), true); |
|
EXPECT_EQ(IsDURWall(23), true); |
|
EXPECT_EQ(IsDURWall(20), false); |
|
} |
|
|
|
TEST(Drlg_l4, IsDLLWall) |
|
{ |
|
EXPECT_EQ(IsDLLWall(27), true); |
|
EXPECT_EQ(IsDLLWall(26), true); |
|
EXPECT_EQ(IsDLLWall(22), true); |
|
EXPECT_EQ(IsDLLWall(20), false); |
|
}
|
|
|