Skip to content
This repository has been archived by the owner on Nov 3, 2024. It is now read-only.

Commit

Permalink
Kotlin tests
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanPodymov committed Jul 1, 2024
1 parent af807ea commit c28e89b
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
//
// CalciumEnums.kt
// Calcium
//
// Created by Roman Podymov on 01/07/2024.
// Copyright © 2024 Calcium. All rights reserved.
//

package com.jetbrains.kmm.shared

interface CalculatorButtonRepresentable {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
//
// CalciumEnumsTests.kt
// Calcium
//
// Created by Roman Podymov on 01/07/2024.
// Copyright © 2024 Calcium. All rights reserved.
//

package com.jetbrains.kmm.shared

import kotlin.test.Test
import kotlin.test.assertTrue

class CalciumEnumsTests {
@Test
fun valuesTest() {
assertTrue {
val one = Digit.one
val two = Digit.two
one.value + two.value == 3
}
}
}

0 comments on commit c28e89b

Please sign in to comment.