public void Test_CarpMethod() { TemelIslemler tm = new TemelIslemler(); double sonuc = tm.Carp(5, 5); Assert.AreEqual(sonuc, 25); }
public void Test_Pozitifmi() { TemelIslemler tm = new TemelIslemler(); bool sonuc = tm.Pozitifmi(1); Assert.IsTrue(sonuc); }
public void Test_ToplaMethod() { TemelIslemler tm = new TemelIslemler(); double sonuc = tm.Topla(10, 10); Assert.AreEqual(sonuc, 20); }