public void TestDivide() { IComplexMath cm = new ComplexMath(); float ans = (float)3 / 4; Assert.AreEqual(cm.Divide(3, 4), ans); }
private void button4_Click(object sender, EventArgs e) { CollectComplexNumbers(); complexMath.Divide(a, b, c, d, out var res1, out var res2); PrintResults(res1, res2); }