Coverage Summary for Class: NewsArchiveFilters (com.galarzaa.tibiakt.core.section.news.archive.model)

Class Method, % Branch, % Line, % Instruction, %
NewsArchiveFilters 100% (2/2) 0% (0/2) 100% (6/6) 82.9% (92/111)
NewsArchiveFilters$Companion 0% (0/1) 0% (0/1) 0% (0/2)
Total 66.7% (2/3) 0% (0/2) 85.7% (6/7) 81.4% (92/113)


 /*
  * 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.archive.model
 
 import com.galarzaa.tibiakt.core.section.news.shared.model.NewsCategory
 import com.galarzaa.tibiakt.core.section.news.shared.model.NewsType
 import kotlinx.datetime.LocalDate
 import kotlinx.serialization.Serializable
 
 /**
  * Filtering options for search in the News Archive.
  *
  * @property startOn The start date of the articles displayed.
  * @property endOn The end date of the articles displayed.
  * @property types The types of articles to show.
  * @property categories The categories of articles to show.
  */
 @Serializable
 public data class NewsArchiveFilters(
     val startOn: LocalDate,
     val endOn: LocalDate,
     val types: Set<NewsType>,
     val categories: Set<NewsCategory>,
 )