blob: 8c36a94c1b2e26de190e508a3b2c1d57c90ac538 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#include <gtest/gtest.h>
#include "backend/Location.h"
TEST(LocationDirection, Negate) {
ASSERT_EQ(-NORTH, SOUTH);
ASSERT_EQ(-EAST, WEST);
ASSERT_EQ(-SOUTH, NORTH);
ASSERT_EQ(-WEST, EAST);
}
|