public void no_update_for_float_when_not_an_update()
        {
            var request = new NugetPlanRequest
            {
                Dependency   = new Dependency("FubuCore"),
                ForceUpdates = false,
                Operation    = OperationType.Install,
            };

            request.ShouldUpdate(new Dependency("FubuCore", "1.0.0.0", UpdateMode.Float)).ShouldBeFalse();
        }
        public void should_update_forced_update()
        {
            var request = new NugetPlanRequest
            {
                Dependency   = new Dependency("FubuCore"),
                ForceUpdates = true,
                Operation    = OperationType.Update,
            };

            request.ShouldUpdate(new Dependency("FubuCore", "1.0.0.0", UpdateMode.Fixed)).ShouldBeTrue();
        }
        public void update_for_fixed_when_not_forced_and_not_batched()
        {
            var request = new NugetPlanRequest
            {
                Dependency   = new Dependency("FubuCore"),
                ForceUpdates = false,
                Operation    = OperationType.Update,
            };

            request.ShouldUpdate(new Dependency("FubuCore", "1.0.0.0", UpdateMode.Fixed)).ShouldBeTrue();
        }