Skip to content

Commit

Permalink
add samples to nosetests
Browse files Browse the repository at this point in the history
  • Loading branch information
Oren Tysor committed Jul 16, 2020
1 parent 9dbf02c commit a49ca30
Show file tree
Hide file tree
Showing 26 changed files with 1,270 additions and 81 deletions.
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,3 @@ $(CMAPDST)/to-unicode-Adobe-Korea1.pickle.gz: $(CMAPDST)

test: cmap
nosetests
cd samples && $(MAKE) test
80 changes: 0 additions & 80 deletions samples/Makefile

This file was deleted.

5 changes: 5 additions & 0 deletions samples/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import os

def getpath(name):
here = os.path.abspath(os.path.dirname(__file__))
return os.path.join(here, name)
3 changes: 3 additions & 0 deletions samples/encryption/aes-128-m.txt.ref
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Secret!


3 changes: 3 additions & 0 deletions samples/encryption/aes-128.txt.ref
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Secret!


3 changes: 3 additions & 0 deletions samples/encryption/aes-256-m.txt.ref
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Secret!


3 changes: 3 additions & 0 deletions samples/encryption/aes-256.txt.ref
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Secret!


3 changes: 3 additions & 0 deletions samples/encryption/base.txt.ref
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Secret!


3 changes: 3 additions & 0 deletions samples/encryption/rc4-128.txt.ref
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Secret!


3 changes: 3 additions & 0 deletions samples/encryption/rc4-40.txt.ref
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Secret!


39 changes: 39 additions & 0 deletions samples/font-size-test.txt.ref
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
OSX Styles

12
12

16
13
12
12
12
12
12
10.5
10.5

11

12
12
12
12

28

12

12

12
12
12



12




131 changes: 131 additions & 0 deletions samples/jo.txt.ref
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
  序



(ひかりはたもち、その電燈は失はれ)

それを変らないとして感ずることは

わたくしといふ現象は

假定された有機交流電燈の

ひとつの青い照明です

(あらゆる透明な幽霊の複合体)

風景やみんなといっしょに

せはしくせはしく明滅しながら

いかにもたしかにともりつづける

因果交流電燈の

ひとつの青い照明です



これらは二十二箇月の

過去とかんずる方角から

紙と鑛質インクをつらね

(すべてわたくしと明滅し

 みんなが同時に感ずるもの)

ここまでたもちつゞけられた

かげとひかりのひとくさりづつ

そのとほりの心象スケッチです



けれどもこれら新世代沖積世の

巨大に明るい時間の集積のなかで

正しくうつされた筈のこれらのことばが

わづかその一點にも均しい明暗のうちに

   (あるひは修羅の十億年)

すでにはやくもその組立や質を變じ

しかもわたくしも印刷者も

傾向としてはあり得ます

けだしわれわれがわれわれの感官や

風景や人物をかんずるやうに

そしてたゞ共通に感ずるだけであるやうに

記録や歴史、あるひは地史といふものも

それのいろいろの論料といっしょに

(因果の時空的制約のもとに)

われわれがかんじてゐるのに過ぎません

おそらくこれから二千年もたったころは

それ相當のちがった地質學が流用され

これらについて人や銀河や修羅や海膽は

相當した證據もまた次次過去から現出し

宇宙塵をたべ、または空気や塩水を呼吸しながら

みんなは二千年ぐらゐ前には

それぞれ新鮮な本体論もかんがへませうが

青ぞらいっぱいの無色な孔雀が居たとおもひ

それらも畢竟こゝろのひとつの風物です

新進の大學士たちは気圏のいちばんの上層

たゞたしかに記録されたこれらのけしきは

きらびやかな氷窒素のあたりから

記録されたそのとほりのこのけしきで

それが虚無ならば虚無自身がこのとほりで

ある程度まではみんなに共通いたします

すてきな化石を發堀したり

あるひは白堊紀砂岩の層面に

透明な人類の巨大な足跡を

(すべてがわたくしの中のみんなであるやうに

発見するかもしれません

 みんなのおのおののなかのすべてですから)



すべてこれらの命題は

心象や時間それ自身の性質として

第四次延長のなかで主張されます



大正十三年一月廿日  宮澤賢治


1 change: 1 addition & 0 deletions samples/nonfree/175.txt.ref
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

5 changes: 5 additions & 0 deletions samples/nonfree/cmp_itext_logo.txt.ref
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
ITEXT

ITEXT


60 changes: 60 additions & 0 deletions samples/nonfree/dmca.txt.ref
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
THE DIGITAL MILLENNIUM COPYRIGHT ACT OF 1998
U.S. Copyright Office Summary

INTRODUCTION

December 1998

The Digital Millennium Copyright Act (DMCA) was signed into law by
President Clinton on October 28, 1998. The legislation implements two 1996 World
Intellectual Property Organization (WIPO) treaties: the WIPO Copyright Treaty and
the WIPO Performances and Phonograms Treaty. The DMCA also addresses a
number of other significant copyright-related issues.

1

The DMCA is divided into five titles:

!

!

!

!

!

Title I, the “WIPO Copyright and Performances and Phonograms
Treaties Implementation Act of 1998,” implements the WIPO
treaties.
Title II, the “Online Copyright Infringement Liability Limitation
Act,” creates limitations on the liability of online service providers for
copyright infringement when engaging in certain types of activities.
Title III, the “Computer Maintenance Competition Assurance
Act,” creates an exemption for making a copy of a computer program
by activating a computer for purposes of maintenance or repair.
Title IV contains six miscellaneous provisions, relating to the
functions of the Copyright Office, distance education, the exceptions
in the Copyright Act for libraries and for making ephemeral recordings,
“webcasting” of sound recordings on the Internet, and the applicability
of collective bargaining agreement obligations in the case of transfers
of rights in motion pictures.
Title V, the “Vessel Hull Design Protection Act,” creates a new form
of protection for the design of vessel hulls.

This memorandum summarizes briefly each title of the DMCA. It provides
merely an overview of the law’s provisions; for purposes of length and readability a
significant amount of detail has been omitted. A complete understanding of any
provision of the DMCA requires reference to the text of the legislation itself.

1
Pub. L. No. 105-304, 112 Stat. 2860 (Oct. 28, 1998).

Copyright Office Summary

December 1998

Page 1


Loading

0 comments on commit a49ca30

Please sign in to comment.