From 114fbaabd5adaedb3dcbcfcab93433185e3b55f7 Mon Sep 17 00:00:00 2001 From: recanman <29310982+recanman@users.noreply.github.com> Date: Tue, 4 Jun 2024 19:48:54 -0700 Subject: [PATCH] test: sc_reduce --- tests/unit/CryptonoteTest.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/unit/CryptonoteTest.php b/tests/unit/CryptonoteTest.php index 2988842..cbd4459 100644 --- a/tests/unit/CryptonoteTest.php +++ b/tests/unit/CryptonoteTest.php @@ -51,11 +51,11 @@ public function testGenNewHexSeed(): void // $this->assertEquals($this->testPrivateViewKey, $result); // } - // public function testPkFromSk(): void - // { - // $result = $this->cr->pk_from_sk($this->testPrivateSpendKey); - // $this->assertEquals($this->testPubSpendKey, $result); - // } + public function testScReduce(): void + { + $result = $this->cr->sc_reduce("65"); + $this->assertEquals("65", $result); + } public function testEncodeAddress(): void {