(t *testing.T)
| 59 | } |
| 60 | |
| 61 | func TestRate(t *testing.T) { |
| 62 | s := millionMessagesSecondSample(60) |
| 63 | if s.Rate() != Million { |
| 64 | t.Fatal("Expected rate at 1 million msgs") |
| 65 | } |
| 66 | } |
| 67 | |
| 68 | func TestThoughput(t *testing.T) { |
| 69 | s := millionMessagesSecondSample(60) |
nothing calls this directly
no test coverage detected