From 469e4cbaf7a169b7d1ea03aa466443b669f20bd4 Mon Sep 17 00:00:00 2001 From: John Conway Date: Wed, 8 May 2019 11:49:00 +0100 Subject: Removed AtomImage (not in spec) --- tests/test_atom.nim | 16 ++++++++++ tests/test_atom.xml | 89 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 105 insertions(+) create mode 100644 tests/test_atom.nim create mode 100644 tests/test_atom.xml (limited to 'tests') diff --git a/tests/test_atom.nim b/tests/test_atom.nim new file mode 100644 index 0000000..3d563da --- /dev/null +++ b/tests/test_atom.nim @@ -0,0 +1,16 @@ +# This is just an example to get you started. You may wish to put all of your +# tests into a single file, or separate them into multiple `test1`, `test2` +# etc. files (better names are recommended, just make sure the name starts with +# the letter 't'). +# +# To run these tests, simply execute `nimble test`. + + + + + +import unittest + +import FeedNim +test "can add": + check add(5, 5) == 10 diff --git a/tests/test_atom.xml b/tests/test_atom.xml new file mode 100644 index 0000000..5854868 --- /dev/null +++ b/tests/test_atom.xml @@ -0,0 +1,89 @@ + + + urn:uuid:60a76c80-d399-11d9-b93C-0003939e0af6 + Bloggs's Planes Trains and Automobiles + 2003-12-13T18:30:02Z + + Joe Bloggs + http://joe.bloggs + mail@joe.bloggs + + + Jane Bloggs + + Planes + Trains + Automobiles + nim + http://joe.bloggs/mug,jpg + + © Joe and Jane Bloggs + © Joe and Jane Bloggs + + + + urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a + Aeroplanes not Airplanes + 2003-12-13T18:30:02Z + + Joe Bloggs + http://joe.bloggs + mail@joe.bloggs + + planes + + Aero- not air-, fools! + + + 2003-12-13T18:30:02Z + © Joe Bloggs + + urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a + Aeroplane + Aeroplanes + 1755-04-15T18:30:00Z + + Samuel Johnson + http://dictionary.com + sjohnson@dictionary.com + + words + © Samual Johnson + + + + + + + + urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a + Aeroplanes not Airplanes + 2003-12-13T18:30:02Z + + Joe Bloggs + http://joe.bloggs + mail@joe.bloggs + + trains + + 2003-12-13T18:20:02Z + © Jane Bloggs + + Trains! + + + \ No newline at end of file -- cgit v1.2.3