Skip to content

Commit

Permalink
Fix UT
Browse files Browse the repository at this point in the history
  • Loading branch information
erikzhang committed Oct 28, 2020
1 parent 08db5aa commit 1d1d5ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/neo.UnitTests/Wallets/NEP6/UT_NEP6Wallet.cs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public void TestConstructorWithPathAndName()
{
NEP6Wallet wallet = new NEP6Wallet(wPath);
Assert.AreEqual("name", wallet.Name);
Assert.AreEqual(new ScryptParameters(0, 0, 0).ToJson().ToString(), wallet.Scrypt.ToJson().ToString());
Assert.AreEqual(new ScryptParameters(2, 1, 1).ToJson().ToString(), wallet.Scrypt.ToJson().ToString());
Assert.AreEqual(new Version("3.0").ToString(), wallet.Version.ToString());
wallet = new NEP6Wallet("", "test");
Assert.AreEqual("test", wallet.Name);
Expand Down Expand Up @@ -418,7 +418,7 @@ public void Test_NEP6Wallet_Json()
uut.Name.Should().Be("noname");
uut.Version.Should().Be(new Version("3.0"));
uut.Scrypt.Should().NotBeNull();
uut.Scrypt.N.Should().Be(new ScryptParameters(0, 0, 0).N);
uut.Scrypt.N.Should().Be(new ScryptParameters(2, 1, 1).N);
}
}
}

0 comments on commit 1d1d5ff

Please sign in to comment.