Пример #1
0
	public void AlterResources()
	{
		PlayerStates states = new PlayerStates ();
		int originalResources = states.resources;
		states.alterResources (-10);
		int newResources = states.resources;
		Assert.Less (newResources, originalResources);
		states.alterResources (10);
		Assert.AreEqual (states.resources, originalResources);

	}