public void CompatibleHeightLevelWorkAsIntended() { MapHeight l0_1 = MapHeight.l0 | MapHeight.l1; MapHeight l0 = MapHeight.l0; MapHeight l1 = MapHeight.l1; Assert.IsTrue(MapUtilities.CompatibleHeightLevel(l0_1, l0)); Assert.IsTrue(MapUtilities.CompatibleHeightLevel(l0_1, l1)); Assert.IsFalse(MapUtilities.CompatibleHeightLevel(l1, l0)); }