public function testShowingNameOfMonth() { $cal = new Calendar(); $this->assertEquals("June", $cal->showMonth(6)); }
echo $year; ?> </h1> <hr/> <?php foreach (array_chunk($months, 3) as $rows) { ?> <div class="row"> <?php foreach ($rows as $month) { ?> <div class="col-lg-4"> <div class="well text-center text-primary"><?php echo $calendar->showMonth($month); ?> </div> <table class="table table-bordered"> <?php echo $calendar->generateCalendarHeader($firstDay); ?> <?php echo $calendar->generateCalendarContent($month, $firstDay); ?> </table> </div> <?php } ?> </div>