0
Why Should the following Test Pass
using NUnit.Framework; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TestNinja.Tests { [TestFixture] public class Class1 { [Test] public void TestMethod() { int a = 4; int b = 3; float result = 7.0000001f; //Assert.That((a + b), Is.EqualTo(result)); Assert.AreEqual((a + b), result); } } }
1 Antwort