using FluentAssertions; using NUnit.Framework; namespace Chernobyl.Calculator { [TestFixture(Description = "Tests for the Number type.")] public class NumberTests { public void RoundToInt() { 4.4f.RoundToInt().Should().Be(4); 4.5f.RoundToInt().Should().Be(5); 4.6f.RoundToInt().Should().Be(5); 4.4.RoundToInt().Should().Be(4); 4.5.RoundToInt().Should().Be(5); 4.6.RoundToInt().Should().Be(5); } } }