Coverage Summary for Class: EventsSchedule (com.galarzaa.tibiakt.core.section.news.event.model)

Class Method, % Branch, % Line, % Instruction, %
EventsSchedule 66.7% (2/3) 0% (0/2) 80% (4/5) 76.8% (53/69)
EventsSchedule$Companion 0% (0/1) 0% (0/1) 0% (0/2)
Total 50% (2/4) 0% (0/2) 66.7% (4/6) 74.6% (53/71)


 /*
  * Copyright © 2025 Allan Galarza
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
  *     http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
 
 package com.galarzaa.tibiakt.core.section.news.event.model
 
 import com.galarzaa.tibiakt.core.section.news.urls.eventScheduleUrl
 import kotlinx.datetime.YearMonth
 import kotlinx.serialization.Serializable
 
 /**
  * The event schedule, containing the events of a given month.
  *
  * @property month The month and year the schedule is for.
  * @property entries The list of events in this month.
  */
 @Serializable
 public data class EventsSchedule(
     val month: YearMonth,
     val entries: List<EventEntry>,
 ) {
     /**
      * URL for this schedule.
      */
     val url: String get() = eventScheduleUrl(month)
 }