Coverage Summary for Class: DefaultTransactionType (com.georgeci.moneysurfer.domain.preferences)

Class Method, % Branch, % Line, % Instruction, %
DefaultTransactionType 100% (1/1) 100% (3/3) 100% (25/25)
DefaultTransactionType$Companion 100% (1/1) 100% (1/1) 100% (1/1)
Total 100% (2/2) 100% (4/4) 100% (26/26)


 package com.georgeci.moneysurfer.domain.preferences
 
 /**
  * Which kind of transaction the creation screen should open on.
  *
  * Deliberately narrower than
  * [TransactionType][com.georgeci.moneysurfer.domain.primitives.TransactionType]: `OPENING_BALANCE`
  * is written by account creation and is never something the user starts, and a transfer is gated
  * by the `host.transfer_enabled` capability — offering it here would let the picker store a
  * default the host cannot open.
  */
 enum class DefaultTransactionType {
     Expense,
     Income,
 
     ;
 
     companion object {
         val DEFAULT: DefaultTransactionType = Expense
     }
 }