Experimental browser for the Atmosphere
{ "uri": "at://did:plc:hwevmowznbiukdf6uk5dwrrq/sh.tangled.repo.pull/3ln3dmyai5j22", "cid": "bafyreignydsqqk6lykszddrcavl5rr6lcpwimf4ax5dbof7toiecjvqzky", "value": { "$type": "sh.tangled.repo.pull", "patch": "From f85dd5d669296becd572a76847ad14e99b4b0932 Mon Sep 17 00:00:00 2001\nFrom: Anirudh Oppiliappan <x@icyphox.sh>\nDate: Thu, 17 Apr 2025 23:41:46 +0300\nSubject: [PATCH 1/4] test add float\n\n---\n main.go | 8 ++++++++\n 1 file changed, 8 insertions(+)\n\ndiff --git a/main.go b/main.go\nindex 33e017c..c6400c3 100644\n--- a/main.go\n+++ b/main.go\n@@ -29,3 +29,11 @@ func testSubtract() {\n \t\tpanic(\"Test failed\")\n \t}\n }\n+\n+func testAddFloat() {\n+\t// This is a test function for the add function with float64\n+\tresult := add(3.5, 4.5)\n+\tif result != 8 {\n+\t\tpanic(\"Test failed\")\n+\t}\n+}\n-- \n2.48.1\n\n\nFrom 1f04a5dcc8e8a2667d33b144f4087030c266fb77 Mon Sep 17 00:00:00 2001\nFrom: Anirudh Oppiliappan <x@icyphox.sh>\nDate: Thu, 17 Apr 2025 23:41:59 +0300\nSubject: [PATCH 2/4] test sub float\n\n---\n main.go | 8 ++++++++\n 1 file changed, 8 insertions(+)\n\ndiff --git a/main.go b/main.go\nindex c6400c3..fee4792 100644\n--- a/main.go\n+++ b/main.go\n@@ -37,3 +37,11 @@ func testAddFloat() {\n \t\tpanic(\"Test failed\")\n \t}\n }\n+\n+func testSubtractFloat() {\n+\t// This is a test function for the subtract function with float64\n+\tresult := subtract(7.5, 4.5)\n+\tif result != 3 {\n+\t\tpanic(\"Test failed\")\n+\t}\n+}\n-- \n2.48.1\n\n\nFrom fe4cae2827cd9d897ba9103e9682aab83684451a Mon Sep 17 00:00:00 2001\nFrom: Anirudh Oppiliappan <x@icyphox.sh>\nDate: Fri, 18 Apr 2025 12:45:04 +0300\nSubject: [PATCH 3/4] add int\n\n---\n main.go | 8 ++++++++\n 1 file changed, 8 insertions(+)\n\ndiff --git a/main.go b/main.go\nindex fee4792..de67957 100644\n--- a/main.go\n+++ b/main.go\n@@ -45,3 +45,11 @@ func testSubtractFloat() {\n \t\tpanic(\"Test failed\")\n \t}\n }\n+\n+func testAddInt() {\n+\t// This is a test function for the add function with int\n+\tresult := add(3, 4)\n+\tif result != 7 {\n+\t\tpanic(\"Test failed\")\n+\t}\n+}\n-- \n2.48.1\n\n\nFrom 2d0d81ec8a374dd965cbe4291308de8aee1534aa Mon Sep 17 00:00:00 2001\nFrom: Anirudh Oppiliappan <x@icyphox.sh>\nDate: Fri, 18 Apr 2025 12:45:18 +0300\nSubject: [PATCH 4/4] subtract int\n\n---\n main.go | 8 ++++++++\n 1 file changed, 8 insertions(+)\n\ndiff --git a/main.go b/main.go\nindex de67957..ff830a7 100644\n--- a/main.go\n+++ b/main.go\n@@ -53,3 +53,11 @@ func testAddInt() {\n \t\tpanic(\"Test failed\")\n \t}\n }\n+\n+func testSubtractInt() {\n+\t// This is a test function for the subtract function with int\n+\tresult := subtract(7, 4)\n+\tif result != 3 {\n+\t\tpanic(\"Test failed\")\n+\t}\n+}\n-- \n2.48.1\n\n", "title": "test add and subtract of ints", "pullId": 19, "source": { "branch": "feat" }, "targetRepo": "at://did:plc:hwevmowznbiukdf6uk5dwrrq/sh.tangled.repo/3llmbkfueu522", "targetBranch": "main" } }