Skip to content

Commit

Permalink
fix: unit test
Browse files Browse the repository at this point in the history
Signed-off-by: Ahmed Moussa <ahmed.moussa@iohk.io>
  • Loading branch information
hamada147 committed Nov 21, 2023
1 parent b3533ab commit 5602ea7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
5 changes: 0 additions & 5 deletions base16/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,6 @@ kotlin {
this.output.library = currentModuleName
this.output.libraryTarget = Target.VAR
}
this.commonWebpackConfig {
// this.cssSupport {
// this.enabled = true
// }
}
this.testTask {
this.useKarma {
this.useChromeHeadless()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,26 +37,26 @@ class Base16Tests {

@Test
fun testEncodeBase16RFC_4648_2() {
assertEquals("666F", "fo".base16Encoded)
assertEquals("666F", "fo".base16Encoded.uppercase())
}

@Test
fun testEncodeBase16RFC_4648_3() {
assertEquals("666F6F", "foo".base16Encoded)
assertEquals("666F6F", "foo".base16Encoded.uppercase())
}

@Test
fun testEncodeBase16RFC_4648_4() {
assertEquals("666F6F62", "foob".base16Encoded)
assertEquals("666F6F62", "foob".base16Encoded.uppercase())
}

@Test
fun testEncodeBase16RFC_4648_5() {
assertEquals("666F6F6261", "fooba".base16Encoded)
assertEquals("666F6F6261", "fooba".base16Encoded.uppercase())
}

@Test
fun testEncodeBase16RFC_4648_6() {
assertEquals("666F6F626172", "foobar".base16Encoded)
assertEquals("666F6F626172", "foobar".base16Encoded.uppercase())
}
}

0 comments on commit 5602ea7

Please sign in to comment.