public void Should_return_null_when_no_available_pieces()
        {
            MoneyEngine moneyEngine = new MoneyEngine();
            Money       actual      = moneyEngine.MonnaieOptimale(1);

            Check.That(actual).IsNull();
        }
        public void Should_return_1_billet_of_ten_euro_and_1_billet_of_five_euro()
        {
            MoneyEngine moneyEngine = new MoneyEngine();
            Money       actual      = moneyEngine.MonnaieOptimale(15);

            Check.That(actual.Piece2).Equals(0);
            Check.That(actual.Billet5).Equals(1);
            Check.That(actual.Billet10).Equals(1);
        }
        public void Should_return_922337203685477580_billet_of_ten_and_1_billet_of_five_euro_and_1_piece_of_2_euro()
        {
            MoneyEngine moneyEngine = new MoneyEngine();
            Money       actual      = moneyEngine.MonnaieOptimale(9223372036854775807);

            Check.That(actual.Piece2).Equals(1);
            Check.That(actual.Billet5).Equals(1);
            Check.That(actual.Billet10).Equals(922337203685477580);
        }
        public void Should_return_4_pieces_of_two_euro()
        {
            MoneyEngine moneyEngine = new MoneyEngine();
            Money       actual      = moneyEngine.MonnaieOptimale(8);

            Check.That(actual.Piece2).Equals(4);
            Check.That(actual.Billet5).Equals(0);
            Check.That(actual.Billet10).Equals(0);
        }