コード例 #1
0
            public void LS_SupaTest_attempt2()
            {
                //Arrange
                string userinput = "hello";
                LeetSpeak supastring = new LeetSpeak(userinput);
                List<string> test1 = supastring.GetAll();

                //Act
                List<string> testList = new List<string>{"h3ll0"};

                //Assert
                Assert.Equal(testList, test1);
            }
コード例 #2
0
            public void LS_SupaTest_attempt2()
            {
                //Arrange
                string        userinput  = "hello";
                LeetSpeak     supastring = new LeetSpeak(userinput);
                List <string> test1      = supastring.GetAll();

                //Act
                List <string> testList = new List <string> {
                    "h3ll0"
                };

                //Assert
                Assert.Equal(testList, test1);
            }
コード例 #3
0
 public void Dispose()
 {
     LeetSpeak.ClearAll();
 }