Skip to content

Commit

Permalink
test: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shihyuho committed Jan 20, 2024
1 parent 4340533 commit bdc19df
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ import (

func TestMemoryCalculation_WithLoadedClassCount(t *testing.T) {
calculator := calc.NewCalculator()
*calculator.LoadedClassCount = 1000
*calculator.ThreadCount = 10
*calculator.LoadedClassCount = 100

jto, err := calculator.Execute()
if err != nil {
Expand All @@ -27,8 +28,9 @@ func TestMemoryCalculation_WithLoadedClassCount(t *testing.T) {

func TestMemoryCalculation_WithoutLoadedClassCount(t *testing.T) {
calculator := calc.NewCalculator()
*calculator.ThreadCount = 10
*calculator.AppPath = "."
*calculator.JVMClassCount = 1000
*calculator.JVMClassCount = 100
*calculator.JVMClassAdj = "10%"

jto, err := calculator.Execute()
Expand Down

0 comments on commit bdc19df

Please sign in to comment.