public void Music_From_off_to_onn_test() { Reversi Test = new Reversi(new System.Windows.Forms.Form(), new System.Windows.Forms.Form()); GameBox.Program.music_OnOff = false; Test.Bt_reversi_music(new System.Object(), EventArgs.Empty); Assert.AreEqual(Program.music_OnOff, true); Assert.AreNotEqual(Program.music_OnOff, false); }