10 lines
224 B
Go
Executable File
10 lines
224 B
Go
Executable File
package main
|
|
|
|
import "testing"
|
|
|
|
func TestTransactionFormat(t *testing.T) {
|
|
x := NewTransaction("me", "12.34", "Amazon", "[Wed, 1 Apr 2020 10:14:11 -0400 (EDT)]", Chase)
|
|
t.Logf("%s", x.String())
|
|
t.Logf("%s", x.Format())
|
|
}
|