File tree Expand file tree Collapse file tree 2 files changed +22
-1
lines changed Expand file tree Collapse file tree 2 files changed +22
-1
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ <h1>Syntax</h1>
28
28
29
29
< h2 > 天地,好在否!/ HELLO WORLD < span class ="play-btn "> ▶︎</ span > </ h2 >
30
30
31
- < table class ="tryit " data-prgm ="helloworld "> < tr >
31
+ < table class ="tryit " data-prgm ="helloworld+ "> < tr >
32
32
< td class ="in-box " valign ="top "> </ td > < td class ="out-box " valign ="top "> </ td >
33
33
</ tr > </ table >
34
34
Original file line number Diff line number Diff line change
1
+ var assert = require ( "assert" ) ;
2
+ var { compile } = require ( "../src/parser" ) ;
3
+
4
+ describe ( "calendar" , ( ) => {
5
+ describe ( "言彼之時刻" , ( ) => {
6
+ it ( "should test calendar stuff" , ( ) => {
7
+ assert . strictEqual (
8
+ compile (
9
+ "吾嘗觀「「曆法」」之書。方悟「言彼之時刻」之義。施「言彼之時刻」於四千七百一十四。書之"
10
+ ) ,
11
+ ""
12
+ ) ;
13
+ } ) ;
14
+ } ) ;
15
+
16
+ describe ( "num2hanzi(0.5)" , ( ) => {
17
+ it ( "should test some more calendar stuff" , ( ) => {
18
+ assert . strictEqual ( num2hanzi ( 0.5 ) , "五分" ) ;
19
+ } ) ;
20
+ } ) ;
21
+ } ) ;
You can’t perform that action at this time.
0 commit comments