示例#1
0
 public void DiscriminatedUnions()
 {
     Run(BlockCaretLocation.BottomLeft, BlockCaretLocation.BottomRight);
     Run(CaretColumn.NewInLastLine(0), CaretColumn.NewInLastLine(1));
     Run(CaretColumn.NewInLastLine(0), CaretColumn.NewInLastLine(2));
     Run(CaseSpecifier.IgnoreCase, CaseSpecifier.None);
     Run(ChangeCharacterKind.Rot13, ChangeCharacterKind.ToggleCase);
     Run(CharSearchKind.TillChar, CharSearchKind.ToChar);
     Run(KeyRemapMode.Language, KeyRemapMode.Normal);
     Run(DirectiveKind.If, DirectiveKind.Else);
     Run(MagicKind.NoMagic, MagicKind.Magic);
     Run(MatchingTokenKind.Braces, MatchingTokenKind.Brackets);
     Run(MotionContext.AfterOperator, MotionContext.Movement);
     Run(MotionKind.LineWise, MotionKind.CharacterWiseExclusive);
     Run(NumberFormat.Alpha, NumberFormat.Decimal);
     Run(NumberValue.NewAlpha('c'), NumberValue.NewDecimal(1));
     Run(OperationKind.CharacterWise, OperationKind.LineWise);
     Run(QuickFix.Next, QuickFix.Previous);
     Run(RegisterOperation.Delete, RegisterOperation.Yank);
     Run(SectionKind.Default, SectionKind.OnCloseBrace);
     Run(SentenceKind.Default, SentenceKind.NoTrailingCharacters);
     Run(SettingKind.Number, SettingKind.String);
     Run(SelectionKind.Exclusive, SelectionKind.Inclusive);
     Run(SettingValue.NewNumber(1), SettingValue.NewNumber(2));
     Run(TextObjectKind.AlwaysCharacter, TextObjectKind.AlwaysLine);
     Run(UnmatchedTokenKind.CurlyBracket, UnmatchedTokenKind.Paren);
     Run(WordKind.BigWord, WordKind.NormalWord);
 }