using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using Zam; namespace UnitTest { [TestClass] public class UnitTest1 { [TestMethod] public void TestGetPercentMoney() { var cont = new User_contribution(1, 750000); int result = cont.Get_persentMoney(); int expected = 99750; Assert.AreEqual(expected, result); } } }