Exemple #1
0
        public void TestDivide()
        {
            IComplexMath cm  = new ComplexMath();
            float        ans = (float)3 / 4;

            Assert.AreEqual(cm.Divide(3, 4), ans);
        }
Exemple #2
0
 private void button4_Click(object sender, EventArgs e)
 {
     CollectComplexNumbers();
     complexMath.Divide(a, b, c, d, out var res1, out var res2);
     PrintResults(res1, res2);
 }