Anagrams.Bag.test C# (CSharp) Method

test() public static method

public static test ( ) : void
return void
        public static void test()
        {
            test_subtraction("dog", "god", "");
            test_subtraction("ddog", "god", "d");
            test_subtraction("a", "b", null);
            Console.WriteLine("Bag tests all passed.");
        }

Usage Example

Example #1
0
 private void Form1_Load(object sender, EventArgs e)
 {
     Bag.test();
 }