Skip to content

Commit

Permalink
[test-libfc] refs fibercrypto#5 Update test TestRegisterSkycoinPlugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Maykel Arias Torres committed Dec 5, 2019
1 parent a387fad commit 517b60a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/cgo/tests/check_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ START_TEST(TestRegisterSkycoinPlugin) {

GoString SkycoinTicker = {"SKY", 3};
GoString CoinHoursTicker = {"SKYCH", 5};
GoString CalculatedHoursTicker = {"SKYCHC", 6};

GoUint8_ bufferTemp[1024];
GoString_ Temp = {bufferTemp, 0};
Expand All @@ -23,6 +24,8 @@ START_TEST(TestRegisterSkycoinPlugin) {
ck_assert_str_eq(Temp.p, "Skycoin");
FC_util_AltcoinCaption(CoinHoursTicker, &Temp);
ck_assert_str_eq(Temp.p, "Coin Hours");
FC_util_AltcoinCaption(CalculatedHoursTicker, &Temp);
ck_assert_str_eq(Temp.p, "Calculated Hours");
}
END_TEST

Expand Down

0 comments on commit 517b60a

Please sign in to comment.