Skip to content

Commit

Permalink
Move Testing class to main.
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnLCaron committed Apr 11, 2024
1 parent 4e38dee commit d9d3be0
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 27 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -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),
Expand Down
42 changes: 21 additions & 21 deletions htmlReport/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,34 +44,34 @@ <h1>Overall Coverage Summary </h1>
<td class="name">all classes</td>
<td class="coverageStat">
<span class="percent">
83.1%
83.2%
</span>
<span class="absValue">
(473/569)
(475/571)
</span>
</td>
<td class="coverageStat">
<span class="percent">
87.1%
87%
</span>
<span class="absValue">
(1266/1454)
(1270/1460)
</span>
</td>
<td class="coverageStat">
<span class="percent">
66.5%
66.6%
</span>
<span class="absValue">
(1794/2696)
(1795/2696)
</span>
</td>
<td class="coverageStat">
<span class="percent">
90.2%
</span>
<span class="absValue">
(6875/7623)
(6890/7642)
</span>
</td>
</tr>
Expand Down Expand Up @@ -149,10 +149,10 @@ <h2>Coverage Breakdown</h2>
</td>
<td class="coverageStat">
<span class="percent">
90%
90.1%
</span>
<span class="absValue">
(171/190)
(172/191)
</span>
</td>
<td class="coverageStat">
Expand All @@ -165,10 +165,10 @@ <h2>Coverage Breakdown</h2>
</td>
<td class="coverageStat">
<span class="percent">
89.8%
89.6%
</span>
<span class="absValue">
(670/746)
(675/753)
</span>
</td>
</tr>
Expand Down Expand Up @@ -200,10 +200,10 @@ <h2>Coverage Breakdown</h2>
</td>
<td class="coverageStat">
<span class="percent">
93.3%
93.4%
</span>
<span class="absValue">
(561/601)
(566/606)
</span>
</td>
</tr>
Expand All @@ -227,10 +227,10 @@ <h2>Coverage Breakdown</h2>
</td>
<td class="coverageStat">
<span class="percent">
60.5%
61.2%
</span>
<span class="absValue">
(92/152)
(93/152)
</span>
</td>
<td class="coverageStat">
Expand Down Expand Up @@ -599,15 +599,15 @@ <h2>Coverage Breakdown</h2>
100%
</span>
<span class="absValue">
(10/10)
(12/12)
</span>
</td>
<td class="coverageStat">
<span class="percent">
96.4%
93.4%
</span>
<span class="absValue">
(54/56)
(57/61)
</span>
</td>
<td class="coverageStat">
Expand All @@ -620,10 +620,10 @@ <h2>Coverage Breakdown</h2>
</td>
<td class="coverageStat">
<span class="percent">
98%
96.9%
</span>
<span class="absValue">
(150/153)
(155/160)
</span>
</td>
</tr>
Expand All @@ -649,7 +649,7 @@ <h2>Coverage Breakdown</h2>

<div class="footer">

<div style="float:right;">generated on 2024-04-09 15:46</div>
<div style="float:right;">generated on 2024-04-10 12:12</div>
</div>
</body>
</html>
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Binary file modified src/test/data/workflow/allAvailableEc.zip
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d9d3be0

Please sign in to comment.