File tree Expand file tree Collapse file tree 2 files changed +46
-0
lines changed
src/test/java/org/nd4j/examples/samediff Expand file tree Collapse file tree 2 files changed +46
-0
lines changed Original file line number Diff line number Diff line change 4141 <jfreechart .version>1.0.13</jfreechart .version>
4242 <logback .version>1.1.7</logback .version>
4343 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
44+ <junit .version>5.8.0-M1</junit .version>
45+
4446 </properties >
4547
4648
117119 <artifactId >logback-classic</artifactId >
118120 <version >${logback.version} </version >
119121 </dependency >
122+
123+
124+ <!-- Test dependency. Ignore for your own application. -->
125+ <dependency >
126+ <groupId >org.junit.jupiter</groupId >
127+ <artifactId >junit-jupiter-engine</artifactId >
128+ <version >${junit.version} </version >
129+ <scope >test</scope >
130+ </dependency >
131+
132+ <dependency >
133+ <groupId >org.junit.jupiter</groupId >
134+ <artifactId >junit-jupiter-api</artifactId >
135+ <version >${junit.version} </version >
136+ <scope >test</scope >
137+ </dependency >
120138 </dependencies >
121139
122140 <!-- Maven Enforcer: Ensures user has an up to date version of Maven before building -->
Original file line number Diff line number Diff line change 1+ package org .nd4j .examples .samediff ;
2+
3+ import org .junit .jupiter .api .Test ;
4+ import org .nd4j .examples .samediff .quickstart .basics .Ex1_SameDiff_Basics ;
5+ import org .nd4j .examples .samediff .quickstart .basics .Ex2_LinearRegression ;
6+ import org .nd4j .examples .samediff .quickstart .basics .Ex3_Variables ;
7+ import org .nd4j .examples .samediff .quickstart .modeling .MNISTCNN ;
8+
9+ public class QuickTest {
10+
11+ @ Test
12+ public void test () throws Exception {
13+ System .out .println ("Begin running Ex1_SameDiff_Basics" );
14+ Ex1_SameDiff_Basics .main (new String []{});
15+ System .out .println ("End running Ex1_SameDiff_Basics" );
16+ System .out .println ("Begin running Ex2_LinearRegression" );
17+ Ex2_LinearRegression .main (new String []{});
18+ System .out .println ("End running Ex2_LinearRegression" );
19+ System .out .println ("Begin running Ex3_Variables" );
20+ Ex3_Variables .main (new String []{});
21+ System .out .println ("End running Ex3_Variables" );
22+ System .out .println ("Begin running MNISTCNN" );
23+ MNISTCNN .main (new String []{});
24+ System .out .println ("End running MNISTCNN" );
25+
26+ }
27+
28+ }
You can’t perform that action at this time.
0 commit comments