Skip to content

Commit

Permalink
Update node_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
maxence-charriere committed Oct 2, 2023
1 parent 25a8eb3 commit 9d240d4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pkg/app/node_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,14 @@ func TestNodeManagerMount(t *testing.T) {
})
}

func BenchmarkNodeManagerMount(b *testing.B) {
var m nodeManager

for n := 0; n < b.N; n++ {
m.Mount(1, Div())
}
}

func TestNodeManagerCanUpdate(t *testing.T) {
t.Run("elements with same type can be updated", func(t *testing.T) {
var m nodeManager
Expand Down

0 comments on commit 9d240d4

Please sign in to comment.