diff --git a/README.md b/README.md index 19dba84..3062333 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ [![License](https://img.shields.io/github/license/JohnLCaron/egk-ec)](https://github.com/JohnLCaron/egk-ec/blob/main/LICENSE.txt) ![GitHub branch checks state](https://img.shields.io/github/actions/workflow/status/JohnLCaron/egk-ec/unit-tests.yml) -[![Coverage](https://img.shields.io/badge/coverage-90.2%25%20LOC%20(6875/7623)-blue)](https://github.com/JohnLCaron/egk-ec/blob/main/htmlReport/index.html) +[![Coverage](https://img.shields.io/badge/coverage-90.2%25%20LOC%20(6890/7642)-blue)](https://github.com/JohnLCaron/egk-ec/blob/main/htmlReport/index.html) # ElectionGuard-Kotlin Elliptic Curve -_last update 04/09/2024_ +_last update 04/10/2024_ EGK Elliptic Curve (egk-ec) is an experimental implementation of [ElectionGuard](https://github.com/microsoft/electionguard), [version 2.0](https://github.com/microsoft/electionguard/releases/download/v2.0/EG_Spec_2_0.pdf), diff --git a/htmlReport/index.html b/htmlReport/index.html index 26f95d4..d7a4cea 100644 --- a/htmlReport/index.html +++ b/htmlReport/index.html @@ -44,26 +44,26 @@

Overall Coverage Summary

all classes - 83.1% + 83.2% - (473/569) + (475/571) - 87.1% + 87% - (1266/1454) + (1270/1460) - 66.5% + 66.6% - (1794/2696) + (1795/2696) @@ -71,7 +71,7 @@

Overall Coverage Summary

90.2% - (6875/7623) + (6890/7642) @@ -149,10 +149,10 @@

Coverage Breakdown

- 90% + 90.1% - (171/190) + (172/191) @@ -165,10 +165,10 @@

Coverage Breakdown

- 89.8% + 89.6% - (670/746) + (675/753) @@ -200,10 +200,10 @@

Coverage Breakdown

- 93.3% + 93.4% - (561/601) + (566/606) @@ -227,10 +227,10 @@

Coverage Breakdown

- 60.5% + 61.2% - (92/152) + (93/152) @@ -599,15 +599,15 @@

Coverage Breakdown

100% - (10/10) + (12/12) - 96.4% + 93.4% - (54/56) + (57/61) @@ -620,10 +620,10 @@

Coverage Breakdown

- 98% + 96.9% - (150/153) + (155/160) @@ -649,7 +649,7 @@

Coverage Breakdown

diff --git a/src/test/kotlin/org/cryptobiotic/util/Testing.kt b/src/main/kotlin/org/cryptobiotic/util/Testing.kt similarity index 70% rename from src/test/kotlin/org/cryptobiotic/util/Testing.kt rename to src/main/kotlin/org/cryptobiotic/util/Testing.kt index af01a96..f1b5294 100644 --- a/src/test/kotlin/org/cryptobiotic/util/Testing.kt +++ b/src/main/kotlin/org/cryptobiotic/util/Testing.kt @@ -1,8 +1,5 @@ package org.cryptobiotic.util -//val testOut = "/home/stormy/tmp/testOut/egkec" -//val testOutMixnet = "/home/stormy/tmp/testOut/egmixnet" - class Testing { companion object { val tmpdir = java.nio.file.Files.createTempDirectory("testOut").toFile().absolutePath diff --git a/src/test/data/workflow/allAvailableEc.zip b/src/test/data/workflow/allAvailableEc.zip index 30b3a09..8287fa9 100644 Binary files a/src/test/data/workflow/allAvailableEc.zip and b/src/test/data/workflow/allAvailableEc.zip differ diff --git a/src/test/kotlin/org/cryptobiotic/eg/encrypt/ContestDataTest.kt b/src/test/kotlin/org/cryptobiotic/eg/encrypt/ContestDataTest.kt index cebc82a..984c1cc 100644 --- a/src/test/kotlin/org/cryptobiotic/eg/encrypt/ContestDataTest.kt +++ b/src/test/kotlin/org/cryptobiotic/eg/encrypt/ContestDataTest.kt @@ -10,7 +10,6 @@ import org.cryptobiotic.eg.publish.makePublisher import org.cryptobiotic.eg.publish.readElectionRecord import org.cryptobiotic.util.ErrorMessages import org.cryptobiotic.util.Testing -import kotlin.test.Test import kotlin.test.assertEquals import kotlin.test.assertNotNull import kotlin.test.assertTrue