package net.pokeranalytics.android.unitTests

import androidx.test.ext.junit.runners.AndroidJUnit4
import net.pokeranalytics.android.components.RealmInstrumentedUnitTest
import net.pokeranalytics.android.calculus.Calculator
import net.pokeranalytics.android.calculus.ComputableGroup
import net.pokeranalytics.android.calculus.ComputedResults
import net.pokeranalytics.android.calculus.Stat
import net.pokeranalytics.android.model.realm.*
import net.pokeranalytics.android.model.realm.Currency
import org.junit.Assert
import org.junit.Test
import org.junit.runner.RunWith
import java.util.*

@RunWith(AndroidJUnit4::class)
class BankrollInstrumentedUnitTest : RealmInstrumentedUnitTest() {

	// convenience extension
	fun Session.Companion.testInstance(netResult: Double, startDate: Date, endDate: Date?): Session {
		val session: Session = Session.newInstance(super.mockRealm, false)
		session.result?.netResult = netResult
		session.startDate = startDate
		session.endDate = endDate
		return session
	}

	@Test
	fun testSessionStats() {



	}

}