code manipulation : reflect(Class API)

This commit is contained in:
haerong22
2021-02-19 18:51:05 +09:00
parent 41890753df
commit b30a888de3
14 changed files with 520059 additions and 941002 deletions

View File

@@ -0,0 +1,15 @@
package org.example;
import org.junit.Assert;
import org.junit.Test;
public class MoimTest {
@Test
public void isFull() throws Exception {
Moim moim = new Moim();
moim.maxNumberOfAttendees = 100;
moim.numberOfEnrollment = 10;
Assert.assertFalse(moim.isEnrollmentFull());
}
}