public MoveKeeper(GameMode mode) { _moves = new Dictionary<MoveType, int>(); foreach(MoveType move in MoveType.GetValues(typeof(MoveType))) { if (mode == GameMode.CLASSIC && (int)move > 2) break; _moves.Add(move, 0); } }
public void ClassicGetMoveTextReturnsANonEmptyString() { foreach (MoveType move in MoveType.GetValues(typeof(MoveType))) { if ((int)move > 2) { break; } Assert.IsType <string>(lookup.GetText(move)); Assert.NotEqual("", lookup.GetText(move)); } }