1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-11-15 09:54:08 +00:00
plantuml/test/nonreg/simple/ChenMovie_Test.java
Benjamin Davies 273f8b4bf1
Add tests
2023-11-16 20:32:18 +13:00

57 lines
645 B
Java

package nonreg.simple;
import java.io.IOException;
import org.junit.jupiter.api.Test;
import nonreg.BasicTest;
/*
Test diagram MUST be put between triple quotes
"""
@startchen movies
entity DIRECTOR {
Number <<key>>
Name {
Fname
Lname
}
Born : DATE
Died
Age
}
entity CUSTOMER {
Number <<key>>
Bonus <<derived>>
Name <<multi>>
}
entity MOVIE {
Code
}
relationship RENTED_TO {
Date
}
RENTED_TO -1- CUSTOMER
RENTED_TO -N- MOVIE
RENTED_TO -(N,M)- DIRECTOR
@endchen
"""
*/
public class ChenMovie_Test extends BasicTest {
@Test
void testSimple() throws IOException {
checkImage("(16 entities)");
}
}