예제 #1
0
		public void TestBlockForLockedStateFalse()
		{
			Block block = new Block() { State = BlockStates.AtRest };

			Assert.IsFalse(block.IsLockedState());
		}
예제 #2
0
		public void TestBlockForLockedStateTrue()
		{
			Block block = new Block() { State = BlockStates.ClearingInProgress };

			Assert.IsTrue(block.IsLockedState());
		}