public static void test() { test_subtraction("dog", "god", ""); test_subtraction("ddog", "god", "d"); test_subtraction("a", "b", null); Console.WriteLine("Bag tests all passed."); }
private void Form1_Load(object sender, EventArgs e) { Bag.test(); }