From 83aa7727104399e88f382c9c9da941b987682d38 Mon Sep 17 00:00:00 2001 From: samlior Date: Thu, 8 Jan 2026 16:20:17 +0800 Subject: [PATCH] chore: improve test --- pkg/shreder/txparser_test.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkg/shreder/txparser_test.go b/pkg/shreder/txparser_test.go index 651529b..2a7ce63 100644 --- a/pkg/shreder/txparser_test.go +++ b/pkg/shreder/txparser_test.go @@ -171,6 +171,12 @@ func TestParseTermBuy(t *testing.T) { if signal.Token0Address != "5Wgv54peXRKDHYHapAELzgNKEPEh9E5Bf3hUR3sTpump" { t.Fatalf("expected token0 address 5Wgv54peXRKDHYHapAELzgNKEPEh9E5Bf3hUR3sTpump, got %s", signal.Token0Address) } + if signal.Token0AmountUint64 != 6952026214256 { + t.Fatalf("expected token0 amount 6952026214256, got %d", signal.Token0AmountUint64) + } + if signal.Token1AmountUint64 != 653333333 { + t.Fatalf("expected token1 amount 653333333, got %d", signal.Token1AmountUint64) + } } func TestParseBonkBuy(t *testing.T) {