~pmikkelsen/Squeak-euler

e74b5fb5feccc622774d407de40f22084676bffa — Peter Mikkelsen 1 year, 12 days ago fa6aaec
Split euler package into Euler and EulerTests
A .filetree => .filetree +2 -0
@@ 0,0 1,2 @@
{"propertyFileExtension" : ".json",
"packageExtension" : ".package" }
\ No newline at end of file

M src/Euler.package/Problem.class/properties.json => src/Euler.package/Problem.class/properties.json +1 -1
@@ 10,5 10,5 @@
	"name" : "Problem",
	"pools" : [
		 ],
	"super" : "TestCase",
	"super" : "Object",
	"type" : "normal" }

M src/Euler.package/Problem1.class/methodProperties.json => src/Euler.package/Problem1.class/methodProperties.json +1 -3
@@ 3,6 3,4 @@
		 },
	"instance" : {
		"solve" : "pm 7/2/2023 21:39",
		"solveFrom:to:multiplesOf:" : "pm 7/2/2023 21:39",
		"testExample" : "pm 7/2/2023 21:39",
		"testResult" : "pm 7/2/2023 21:40" } }
		"solveFrom:to:multiplesOf:" : "pm 7/2/2023 21:39" } }

M src/Euler.package/monticello.meta/version => src/Euler.package/monticello.meta/version +1 -1
@@ 1,1 1,1 @@
(name 'Euler-pm.1' message 'Solve problem 1' id 'b4664d03-ab0d-bb48-9e35-02e2b050f86f' date '2 July 2023' time '9:44:34.12973 pm' author 'pm' ancestors () stepChildren ())
\ No newline at end of file
(name 'Euler-pm.2' message 'Move tests to a different package' id '3188b6fd-565c-2e4a-882b-74407bdaed25' date '3 July 2023' time '7:46:58.12631 pm' author 'pm' ancestors ((name 'Euler-pm.1' message 'Solve problem 1' id 'b4664d03-ab0d-bb48-9e35-02e2b050f86f' date '2 July 2023' time '9:44:34.12973 pm' author 'pm' ancestors () stepChildren ())) stepChildren ())
\ No newline at end of file

A src/EulerTests.package/.filetree => src/EulerTests.package/.filetree +4 -0
@@ 0,0 1,4 @@
{
	"noMethodMetaData" : true,
	"separateMethodMetaAndSource" : false,
	"useCypressPropertiesFile" : true }

A src/EulerTests.package/Problem1Test.class/README.md => src/EulerTests.package/Problem1Test.class/README.md +0 -0
R src/Euler.package/Problem1.class/instance/testExample.st => src/EulerTests.package/Problem1Test.class/instance/testExample.st +1 -1
@@ 1,3 1,3 @@
as yet unclassified
testExample
	self assert: 23 equals: (self solveFrom: 1 to: 10 multiplesOf: #(3 5)).
\ No newline at end of file
	self assert: 23 equals: (problem solveFrom: 1 to: 10 multiplesOf: #(3 5)).
\ No newline at end of file

R src/Euler.package/Problem1.class/instance/testResult.st => src/EulerTests.package/Problem1Test.class/instance/testResult.st +1 -1
@@ 1,3 1,3 @@
as yet unclassified
testResult
	self assert: 233168 equals: (self solveFrom: 1 to: 1000 multiplesOf: #(3 5))
\ No newline at end of file
	self assert: 233168 equals: (problem solveFrom: 1 to: 1000 multiplesOf: #(3 5))
\ No newline at end of file

A src/EulerTests.package/Problem1Test.class/methodProperties.json => src/EulerTests.package/Problem1Test.class/methodProperties.json +6 -0
@@ 0,0 1,6 @@
{
	"class" : {
		 },
	"instance" : {
		"testExample" : "pm 7/3/2023 19:17",
		"testResult" : "pm 7/3/2023 19:17" } }

A src/EulerTests.package/Problem1Test.class/properties.json => src/EulerTests.package/Problem1Test.class/properties.json +14 -0
@@ 0,0 1,14 @@
{
	"category" : "EulerTests",
	"classinstvars" : [
		 ],
	"classvars" : [
		 ],
	"commentStamp" : "",
	"instvars" : [
		 ],
	"name" : "Problem1Test",
	"pools" : [
		 ],
	"super" : "ProblemTest",
	"type" : "normal" }

A src/EulerTests.package/ProblemTest.class/README.md => src/EulerTests.package/ProblemTest.class/README.md +0 -0
A src/EulerTests.package/ProblemTest.class/instance/initialize.st => src/EulerTests.package/ProblemTest.class/instance/initialize.st +5 -0
@@ 0,0 1,5 @@
as yet unclassified
initialize
	super initialize.
	problemClassName := [:n | n take: (n size - 4)] value: (self className).
	problemClassName := problemClassName asSymbol
\ No newline at end of file

A src/EulerTests.package/ProblemTest.class/instance/setUp.st => src/EulerTests.package/ProblemTest.class/instance/setUp.st +3 -0
@@ 0,0 1,3 @@
as yet unclassified
setUp
	problem := (Smalltalk at: problemClassName) new.
\ No newline at end of file

A src/EulerTests.package/ProblemTest.class/methodProperties.json => src/EulerTests.package/ProblemTest.class/methodProperties.json +6 -0
@@ 0,0 1,6 @@
{
	"class" : {
		 },
	"instance" : {
		"initialize" : "pm 7/3/2023 19:43",
		"setUp" : "pm 7/3/2023 19:44" } }

A src/EulerTests.package/ProblemTest.class/properties.json => src/EulerTests.package/ProblemTest.class/properties.json +15 -0
@@ 0,0 1,15 @@
{
	"category" : "EulerTests",
	"classinstvars" : [
		 ],
	"classvars" : [
		 ],
	"commentStamp" : "",
	"instvars" : [
		"problem",
		"problemClassName" ],
	"name" : "ProblemTest",
	"pools" : [
		 ],
	"super" : "TestCase",
	"type" : "normal" }

A src/EulerTests.package/monticello.meta/categories.st => src/EulerTests.package/monticello.meta/categories.st +1 -0
@@ 0,0 1,1 @@
SystemOrganization addCategory: #EulerTests!

A src/EulerTests.package/monticello.meta/initializers.st => src/EulerTests.package/monticello.meta/initializers.st +0 -0
A src/EulerTests.package/monticello.meta/package => src/EulerTests.package/monticello.meta/package +1 -0
@@ 0,0 1,1 @@
(name 'EulerTests')
\ No newline at end of file

A src/EulerTests.package/monticello.meta/version => src/EulerTests.package/monticello.meta/version +1 -0
@@ 0,0 1,1 @@
(name 'EulerTests-pm.1' message 'Create test package' id '76d7cfa4-7493-d54c-aeb3-b05b63e9043d' date '3 July 2023' time '7:46:40.95631 pm' author 'pm' ancestors () stepChildren ())
\ No newline at end of file

A src/EulerTests.package/properties.json => src/EulerTests.package/properties.json +2 -0
@@ 0,0 1,2 @@
{
	 }