(t *testing.T)
| 3278 | } |
| 3279 | |
| 3280 | func Test_App_State(t *testing.T) { |
| 3281 | t.Parallel() |
| 3282 | app := New() |
| 3283 | |
| 3284 | app.State().Set("key", "value") |
| 3285 | str, ok := app.State().GetString("key") |
| 3286 | require.True(t, ok) |
| 3287 | require.Equal(t, "value", str) |
| 3288 | } |
| 3289 | |
| 3290 | // go test -v -run=^$ -bench=Benchmark_Communication_Flow -benchmem -count=4 |
| 3291 | func Benchmark_Communication_Flow(b *testing.B) { |