├── .gitignore ├── README.md ├── c ├── .gitignore ├── CMakeLists.txt ├── README.md ├── src │ ├── CMakeLists.txt │ ├── printer.c │ ├── printer.h │ ├── supermarket.c │ └── supermarket.h ├── test-catch2 │ ├── CMakeLists.txt │ ├── main.cpp │ └── supermarket_catch.cpp └── test-gtest │ ├── CMakeLists.txt │ ├── main.cpp │ └── supermarket_gtest.cpp ├── common-lisp ├── README.md ├── source │ ├── catalog.lisp │ ├── model-objects.lisp │ ├── package.lisp │ ├── receipt-printer.lisp │ ├── receipt.lisp │ ├── shopping-cart.lisp │ └── teller.lisp ├── supermarket-receipt.asd └── tests │ ├── fake-catalog.lisp │ ├── package.lisp │ └── tests.lisp ├── cpp ├── .gitignore ├── CMakeLists.txt ├── README.md ├── src │ ├── CMakeLists.txt │ ├── Discount.cpp │ ├── Discount.h │ ├── FakeCatalog.cpp │ ├── FakeCatalog.h │ ├── Offer.cpp │ ├── Offer.h │ ├── Product.cpp │ ├── Product.h │ ├── ProductQuantity.cpp │ ├── ProductQuantity.h │ ├── ProductUnit.h │ ├── Receipt.cpp │ ├── Receipt.h │ ├── ReceiptItem.cpp │ ├── ReceiptItem.h │ ├── ReceiptPrinter.cpp │ ├── ReceiptPrinter.h │ ├── ShoppingCart.cpp │ ├── ShoppingCart.h │ ├── SpecialOfferType.h │ ├── SupermarketCatalog.h │ ├── Teller.cpp │ ├── Teller.h │ ├── sample.cpp │ └── sample.h ├── test-catch2 │ ├── CMakeLists.txt │ ├── SuperMarketTest.cpp │ ├── main.cpp │ └── sample_catch.cpp ├── test-doctest │ ├── CMakeLists.txt │ ├── main.cpp │ └── sample_doctest.cpp └── test-gtest │ ├── CMakeLists.txt │ ├── main.cpp │ └── sample_gtest.cpp ├── csharp-ms ├── .gitignore ├── SupermarketReceipt.Test │ ├── SupermarketReceipt.Test.csproj │ └── SupermarketTest.cs ├── SupermarketReceipt.sln └── SupermarketReceipt │ ├── Discount.cs │ ├── FakeCatalog.cs │ ├── Offer.cs │ ├── Product.cs │ ├── Receipt.cs │ ├── ReceiptPrinter.cs │ ├── ShoppingCart.cs │ ├── SupermarketCatalog.cs │ ├── SupermarketReceipt.csproj │ └── Teller.cs ├── csharp ├── .gitignore ├── SupermarketReceipt.NUnit.Test │ ├── Properties │ │ └── verify.runsettings │ ├── ReceiptPrinter.cs │ ├── SupermarketNUnitTest.cs │ └── SupermarketReceipt.NUnit.Test.csproj ├── SupermarketReceipt.XUnit.Test │ ├── MSTestSettings.cs │ ├── SupermarketReceipt.XUnit.Test.csproj │ └── SupermarketXUnitTest.cs ├── SupermarketReceipt.sln ├── SupermarketReceipt │ ├── Discount.cs │ ├── FakeCatalog.cs │ ├── Offer.cs │ ├── Product.cs │ ├── Receipt.cs │ ├── ShoppingCart.cs │ ├── SupermarketCatalog.cs │ ├── SupermarketReceipt.csproj │ └── Teller.cs └── global.json ├── dart ├── .gitignore ├── README.md ├── lib │ └── supermarket │ │ ├── model │ │ ├── discount.dart │ │ ├── offer.dart │ │ ├── product.dart │ │ ├── product_quantity.dart │ │ ├── product_unit.dart │ │ ├── receipt.dart │ │ ├── receipt_item.dart │ │ ├── shopping_cart.dart │ │ ├── special_offer_type.dart │ │ ├── supermarket_catalog.dart │ │ └── teller.dart │ │ └── receipt_printer.dart ├── pubspec.lock ├── pubspec.yaml └── test │ └── supermarket │ ├── fake_katalog.dart │ └── model │ ├── supermarket_all_test.dart │ └── supermarket_test.dart ├── elixir ├── .gitignore ├── README-elixir.md ├── lib │ └── supermarket │ │ └── model │ │ ├── discount.ex │ │ ├── offer.ex │ │ ├── product.ex │ │ ├── product_quantity.ex │ │ ├── receipt.ex │ │ ├── receipt_item.ex │ │ ├── shopping_cart.ex │ │ ├── supermarket_catalog.ex │ │ └── teller.ex ├── mix.exs └── test │ ├── supermarket │ └── model │ │ └── supermarket_test.exs │ ├── support │ └── fake_catalog.ex │ └── test_helper.exs ├── go ├── README.md ├── go.mod ├── go.sum └── supermarket │ ├── SupermarketReceipt_test.go │ ├── printers.go │ ├── product.go │ ├── receipt.go │ ├── shopping_cart.go │ ├── special_offers.go │ └── teller.go ├── java ├── pom.xml └── src │ ├── main │ └── java │ │ └── dojo │ │ └── supermarket │ │ └── model │ │ ├── Discount.java │ │ ├── Offer.java │ │ ├── Product.java │ │ ├── ProductQuantity.java │ │ ├── ProductUnit.java │ │ ├── Receipt.java │ │ ├── ReceiptItem.java │ │ ├── ShoppingCart.java │ │ ├── SpecialOfferType.java │ │ ├── SupermarketCatalog.java │ │ └── Teller.java │ └── test │ └── java │ └── dojo │ └── supermarket │ ├── PackageSettings.java │ ├── ReceiptPrinter.java │ └── model │ ├── FakeCatalog.java │ └── SupermarketTest.java ├── kotlin ├── build.gradle.kts ├── gradle.properties ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── settings.gradle └── src │ ├── main │ └── kotlin │ │ └── supermarket │ │ └── model │ │ ├── Discount.kt │ │ ├── Offer.kt │ │ ├── Product.kt │ │ ├── ProductQuantity.kt │ │ ├── ProductUnit.kt │ │ ├── Receipt.kt │ │ ├── ReceiptItem.kt │ │ ├── ShoppingCart.kt │ │ ├── SpecialOfferType.kt │ │ ├── SupermarketCatalog.kt │ │ └── Teller.kt │ └── test │ └── kotlin │ └── dojo │ └── supermarket │ ├── ReceiptPrinter.kt │ └── model │ ├── FakeCatalog.kt │ └── SupermarketTest.kt ├── license.txt ├── php ├── .gitignore ├── README.md ├── cc.bat ├── composer.json ├── ecs.php ├── fc.bat ├── phpstan.neon ├── phpunit.xml ├── ps.bat ├── pu.bat ├── src │ ├── Model │ │ ├── Discount.php │ │ ├── Offer.php │ │ ├── Product.php │ │ ├── ProductQuantity.php │ │ ├── ProductUnit.php │ │ ├── Receipt.php │ │ ├── ReceiptItem.php │ │ ├── ShoppingCart.php │ │ ├── SpecialOfferType.php │ │ ├── SupermarketCatalog.php │ │ └── Teller.php │ └── ReceiptPrinter.php └── tests │ ├── FakeCatalog.php │ └── SupermarketTest.php ├── python ├── .gitignore ├── README.md ├── catalog.py ├── model_objects.py ├── receipt.py ├── receipt_printer.py ├── requirements.txt ├── shopping_cart.py ├── teller.py ├── tests │ ├── __init__.py │ ├── approvaltests_config.json │ ├── fake_catalog.py │ └── test_supermarket.py └── texttest_fixture.py ├── python_pytest ├── .gitignore ├── README.md ├── pytest.ini ├── requirements.txt ├── src │ ├── catalog.py │ ├── model_objects.py │ ├── receipt.py │ ├── shopping_cart.py │ └── teller.py └── tests │ ├── __init__.py │ ├── approvaltests_config.json │ ├── fake_catalog.py │ ├── receipt_printer.py │ └── test_supermarket.py ├── ruby ├── Gemfile ├── Gemfile.lock ├── Rakefile ├── lib │ ├── models │ │ ├── discount.rb │ │ ├── offer.rb │ │ ├── product.rb │ │ ├── product_quantity.rb │ │ ├── product_unit.rb │ │ ├── receipt.rb │ │ ├── receipt_item.rb │ │ ├── shopping_cart.rb │ │ ├── special_offer_type.rb │ │ ├── supermarket_catalog.rb │ │ └── teller.rb │ └── receipt_printer.rb ├── main.rb └── test │ ├── fake_catalog.rb │ ├── supermarket_test.rb │ └── test_helper.rb ├── swift ├── SupermarketReceipt.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ ├── xcshareddata │ │ └── xcschemes │ │ │ └── SupermarketReceipt.xcscheme │ └── xcuserdata │ │ └── andy.xcuserdatad │ │ └── xcschemes │ │ └── xcschememanagement.plist ├── SupermarketReceipt.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ ├── IDEWorkspaceChecks.plist │ │ └── xcschemes │ │ └── ApprovalTests_Swift.xcscheme ├── SupermarketReceipt │ ├── Discount.swift │ ├── Info.plist │ ├── Offer.swift │ ├── Product.swift │ ├── ProductQuantity.swift │ ├── ProductUnit.swift │ ├── Receipt.swift │ ├── ReceiptItem.swift │ ├── ReceiptPrinter.swift │ ├── ShoppingCart.swift │ ├── SpecialOfferType.swift │ ├── SupermarketCatalog.swift │ ├── SupermarketReceipt.h │ └── Teller.swift └── SupermarketReceiptTests │ └── Info.plist └── typescript ├── .gitignore ├── package.json ├── src ├── ReceiptPrinter.ts └── model │ ├── Discount.ts │ ├── Offer.ts │ ├── Product.ts │ ├── ProductQuantity.ts │ ├── ProductUnit.ts │ ├── Receipt.ts │ ├── ReceiptItem.ts │ ├── ShoppingCart.ts │ ├── SpecialOfferType.ts │ ├── SupermarketCatalog.ts │ └── Teller.ts ├── test ├── FakeCatalog.ts └── Supermarket.test.ts └── tsconfig.json /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/README.md -------------------------------------------------------------------------------- /c/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/c/.gitignore -------------------------------------------------------------------------------- /c/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/c/CMakeLists.txt -------------------------------------------------------------------------------- /c/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/c/README.md -------------------------------------------------------------------------------- /c/src/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/c/src/CMakeLists.txt -------------------------------------------------------------------------------- /c/src/printer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/c/src/printer.c -------------------------------------------------------------------------------- /c/src/printer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/c/src/printer.h -------------------------------------------------------------------------------- /c/src/supermarket.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/c/src/supermarket.c -------------------------------------------------------------------------------- /c/src/supermarket.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/c/src/supermarket.h -------------------------------------------------------------------------------- /c/test-catch2/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/c/test-catch2/CMakeLists.txt -------------------------------------------------------------------------------- /c/test-catch2/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/c/test-catch2/main.cpp -------------------------------------------------------------------------------- /c/test-catch2/supermarket_catch.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/c/test-catch2/supermarket_catch.cpp -------------------------------------------------------------------------------- /c/test-gtest/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/c/test-gtest/CMakeLists.txt -------------------------------------------------------------------------------- /c/test-gtest/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/c/test-gtest/main.cpp -------------------------------------------------------------------------------- /c/test-gtest/supermarket_gtest.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/c/test-gtest/supermarket_gtest.cpp -------------------------------------------------------------------------------- /common-lisp/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/common-lisp/README.md -------------------------------------------------------------------------------- /common-lisp/source/catalog.lisp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/common-lisp/source/catalog.lisp -------------------------------------------------------------------------------- /common-lisp/source/model-objects.lisp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/common-lisp/source/model-objects.lisp -------------------------------------------------------------------------------- /common-lisp/source/package.lisp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/common-lisp/source/package.lisp -------------------------------------------------------------------------------- /common-lisp/source/receipt-printer.lisp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/common-lisp/source/receipt-printer.lisp -------------------------------------------------------------------------------- /common-lisp/source/receipt.lisp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/common-lisp/source/receipt.lisp -------------------------------------------------------------------------------- /common-lisp/source/shopping-cart.lisp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/common-lisp/source/shopping-cart.lisp -------------------------------------------------------------------------------- /common-lisp/source/teller.lisp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/common-lisp/source/teller.lisp -------------------------------------------------------------------------------- /common-lisp/supermarket-receipt.asd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/common-lisp/supermarket-receipt.asd -------------------------------------------------------------------------------- /common-lisp/tests/fake-catalog.lisp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/common-lisp/tests/fake-catalog.lisp -------------------------------------------------------------------------------- /common-lisp/tests/package.lisp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/common-lisp/tests/package.lisp -------------------------------------------------------------------------------- /common-lisp/tests/tests.lisp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/common-lisp/tests/tests.lisp -------------------------------------------------------------------------------- /cpp/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/cpp/.gitignore -------------------------------------------------------------------------------- /cpp/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/cpp/CMakeLists.txt -------------------------------------------------------------------------------- /cpp/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/cpp/README.md -------------------------------------------------------------------------------- /cpp/src/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/cpp/src/CMakeLists.txt -------------------------------------------------------------------------------- /cpp/src/Discount.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/cpp/src/Discount.cpp -------------------------------------------------------------------------------- /cpp/src/Discount.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/cpp/src/Discount.h -------------------------------------------------------------------------------- /cpp/src/FakeCatalog.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/cpp/src/FakeCatalog.cpp -------------------------------------------------------------------------------- /cpp/src/FakeCatalog.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/cpp/src/FakeCatalog.h -------------------------------------------------------------------------------- /cpp/src/Offer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/cpp/src/Offer.cpp -------------------------------------------------------------------------------- /cpp/src/Offer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/cpp/src/Offer.h -------------------------------------------------------------------------------- /cpp/src/Product.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/cpp/src/Product.cpp -------------------------------------------------------------------------------- /cpp/src/Product.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/cpp/src/Product.h -------------------------------------------------------------------------------- /cpp/src/ProductQuantity.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/cpp/src/ProductQuantity.cpp -------------------------------------------------------------------------------- /cpp/src/ProductQuantity.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/cpp/src/ProductQuantity.h -------------------------------------------------------------------------------- /cpp/src/ProductUnit.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/cpp/src/ProductUnit.h -------------------------------------------------------------------------------- /cpp/src/Receipt.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/cpp/src/Receipt.cpp -------------------------------------------------------------------------------- /cpp/src/Receipt.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/cpp/src/Receipt.h -------------------------------------------------------------------------------- /cpp/src/ReceiptItem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/cpp/src/ReceiptItem.cpp -------------------------------------------------------------------------------- /cpp/src/ReceiptItem.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/cpp/src/ReceiptItem.h -------------------------------------------------------------------------------- /cpp/src/ReceiptPrinter.cpp: -------------------------------------------------------------------------------- 1 | #include "ReceiptPrinter.h" 2 | -------------------------------------------------------------------------------- /cpp/src/ReceiptPrinter.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/cpp/src/ReceiptPrinter.h -------------------------------------------------------------------------------- /cpp/src/ShoppingCart.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/cpp/src/ShoppingCart.cpp -------------------------------------------------------------------------------- /cpp/src/ShoppingCart.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/cpp/src/ShoppingCart.h -------------------------------------------------------------------------------- /cpp/src/SpecialOfferType.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/cpp/src/SpecialOfferType.h -------------------------------------------------------------------------------- /cpp/src/SupermarketCatalog.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/cpp/src/SupermarketCatalog.h -------------------------------------------------------------------------------- /cpp/src/Teller.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/cpp/src/Teller.cpp -------------------------------------------------------------------------------- /cpp/src/Teller.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/cpp/src/Teller.h -------------------------------------------------------------------------------- /cpp/src/sample.cpp: -------------------------------------------------------------------------------- 1 | #include "sample.h" 2 | 3 | // write your code here 4 | 5 | -------------------------------------------------------------------------------- /cpp/src/sample.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/cpp/src/sample.h -------------------------------------------------------------------------------- /cpp/test-catch2/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/cpp/test-catch2/CMakeLists.txt -------------------------------------------------------------------------------- /cpp/test-catch2/SuperMarketTest.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/cpp/test-catch2/SuperMarketTest.cpp -------------------------------------------------------------------------------- /cpp/test-catch2/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/cpp/test-catch2/main.cpp -------------------------------------------------------------------------------- /cpp/test-catch2/sample_catch.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/cpp/test-catch2/sample_catch.cpp -------------------------------------------------------------------------------- /cpp/test-doctest/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/cpp/test-doctest/CMakeLists.txt -------------------------------------------------------------------------------- /cpp/test-doctest/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/cpp/test-doctest/main.cpp -------------------------------------------------------------------------------- /cpp/test-doctest/sample_doctest.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/cpp/test-doctest/sample_doctest.cpp -------------------------------------------------------------------------------- /cpp/test-gtest/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/cpp/test-gtest/CMakeLists.txt -------------------------------------------------------------------------------- /cpp/test-gtest/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/cpp/test-gtest/main.cpp -------------------------------------------------------------------------------- /cpp/test-gtest/sample_gtest.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/cpp/test-gtest/sample_gtest.cpp -------------------------------------------------------------------------------- /csharp-ms/.gitignore: -------------------------------------------------------------------------------- 1 | .vs 2 | bin 3 | obj 4 | packages 5 | *.sln.DotSettings.user 6 | -------------------------------------------------------------------------------- /csharp-ms/SupermarketReceipt.Test/SupermarketReceipt.Test.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/csharp-ms/SupermarketReceipt.Test/SupermarketReceipt.Test.csproj -------------------------------------------------------------------------------- /csharp-ms/SupermarketReceipt.Test/SupermarketTest.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/csharp-ms/SupermarketReceipt.Test/SupermarketTest.cs -------------------------------------------------------------------------------- /csharp-ms/SupermarketReceipt.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/csharp-ms/SupermarketReceipt.sln -------------------------------------------------------------------------------- /csharp-ms/SupermarketReceipt/Discount.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/csharp-ms/SupermarketReceipt/Discount.cs -------------------------------------------------------------------------------- /csharp-ms/SupermarketReceipt/FakeCatalog.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/csharp-ms/SupermarketReceipt/FakeCatalog.cs -------------------------------------------------------------------------------- /csharp-ms/SupermarketReceipt/Offer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/csharp-ms/SupermarketReceipt/Offer.cs -------------------------------------------------------------------------------- /csharp-ms/SupermarketReceipt/Product.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/csharp-ms/SupermarketReceipt/Product.cs -------------------------------------------------------------------------------- /csharp-ms/SupermarketReceipt/Receipt.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/csharp-ms/SupermarketReceipt/Receipt.cs -------------------------------------------------------------------------------- /csharp-ms/SupermarketReceipt/ReceiptPrinter.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/csharp-ms/SupermarketReceipt/ReceiptPrinter.cs -------------------------------------------------------------------------------- /csharp-ms/SupermarketReceipt/ShoppingCart.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/csharp-ms/SupermarketReceipt/ShoppingCart.cs -------------------------------------------------------------------------------- /csharp-ms/SupermarketReceipt/SupermarketCatalog.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/csharp-ms/SupermarketReceipt/SupermarketCatalog.cs -------------------------------------------------------------------------------- /csharp-ms/SupermarketReceipt/SupermarketReceipt.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/csharp-ms/SupermarketReceipt/SupermarketReceipt.csproj -------------------------------------------------------------------------------- /csharp-ms/SupermarketReceipt/Teller.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/csharp-ms/SupermarketReceipt/Teller.cs -------------------------------------------------------------------------------- /csharp/.gitignore: -------------------------------------------------------------------------------- 1 | .vs 2 | bin 3 | obj 4 | packages 5 | *.sln.DotSettings.user 6 | -------------------------------------------------------------------------------- /csharp/SupermarketReceipt.NUnit.Test/Properties/verify.runsettings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/csharp/SupermarketReceipt.NUnit.Test/Properties/verify.runsettings -------------------------------------------------------------------------------- /csharp/SupermarketReceipt.NUnit.Test/ReceiptPrinter.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/csharp/SupermarketReceipt.NUnit.Test/ReceiptPrinter.cs -------------------------------------------------------------------------------- /csharp/SupermarketReceipt.NUnit.Test/SupermarketNUnitTest.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/csharp/SupermarketReceipt.NUnit.Test/SupermarketNUnitTest.cs -------------------------------------------------------------------------------- /csharp/SupermarketReceipt.NUnit.Test/SupermarketReceipt.NUnit.Test.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/csharp/SupermarketReceipt.NUnit.Test/SupermarketReceipt.NUnit.Test.csproj -------------------------------------------------------------------------------- /csharp/SupermarketReceipt.XUnit.Test/MSTestSettings.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/csharp/SupermarketReceipt.XUnit.Test/MSTestSettings.cs -------------------------------------------------------------------------------- /csharp/SupermarketReceipt.XUnit.Test/SupermarketReceipt.XUnit.Test.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/csharp/SupermarketReceipt.XUnit.Test/SupermarketReceipt.XUnit.Test.csproj -------------------------------------------------------------------------------- /csharp/SupermarketReceipt.XUnit.Test/SupermarketXUnitTest.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/csharp/SupermarketReceipt.XUnit.Test/SupermarketXUnitTest.cs -------------------------------------------------------------------------------- /csharp/SupermarketReceipt.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/csharp/SupermarketReceipt.sln -------------------------------------------------------------------------------- /csharp/SupermarketReceipt/Discount.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/csharp/SupermarketReceipt/Discount.cs -------------------------------------------------------------------------------- /csharp/SupermarketReceipt/FakeCatalog.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/csharp/SupermarketReceipt/FakeCatalog.cs -------------------------------------------------------------------------------- /csharp/SupermarketReceipt/Offer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/csharp/SupermarketReceipt/Offer.cs -------------------------------------------------------------------------------- /csharp/SupermarketReceipt/Product.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/csharp/SupermarketReceipt/Product.cs -------------------------------------------------------------------------------- /csharp/SupermarketReceipt/Receipt.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/csharp/SupermarketReceipt/Receipt.cs -------------------------------------------------------------------------------- /csharp/SupermarketReceipt/ShoppingCart.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/csharp/SupermarketReceipt/ShoppingCart.cs -------------------------------------------------------------------------------- /csharp/SupermarketReceipt/SupermarketCatalog.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/csharp/SupermarketReceipt/SupermarketCatalog.cs -------------------------------------------------------------------------------- /csharp/SupermarketReceipt/SupermarketReceipt.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/csharp/SupermarketReceipt/SupermarketReceipt.csproj -------------------------------------------------------------------------------- /csharp/SupermarketReceipt/Teller.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/csharp/SupermarketReceipt/Teller.cs -------------------------------------------------------------------------------- /csharp/global.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/csharp/global.json -------------------------------------------------------------------------------- /dart/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/dart/.gitignore -------------------------------------------------------------------------------- /dart/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/dart/README.md -------------------------------------------------------------------------------- /dart/lib/supermarket/model/discount.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/dart/lib/supermarket/model/discount.dart -------------------------------------------------------------------------------- /dart/lib/supermarket/model/offer.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/dart/lib/supermarket/model/offer.dart -------------------------------------------------------------------------------- /dart/lib/supermarket/model/product.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/dart/lib/supermarket/model/product.dart -------------------------------------------------------------------------------- /dart/lib/supermarket/model/product_quantity.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/dart/lib/supermarket/model/product_quantity.dart -------------------------------------------------------------------------------- /dart/lib/supermarket/model/product_unit.dart: -------------------------------------------------------------------------------- 1 | enum ProductUnit { 2 | KILO, 3 | EACH 4 | } 5 | -------------------------------------------------------------------------------- /dart/lib/supermarket/model/receipt.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/dart/lib/supermarket/model/receipt.dart -------------------------------------------------------------------------------- /dart/lib/supermarket/model/receipt_item.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/dart/lib/supermarket/model/receipt_item.dart -------------------------------------------------------------------------------- /dart/lib/supermarket/model/shopping_cart.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/dart/lib/supermarket/model/shopping_cart.dart -------------------------------------------------------------------------------- /dart/lib/supermarket/model/special_offer_type.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/dart/lib/supermarket/model/special_offer_type.dart -------------------------------------------------------------------------------- /dart/lib/supermarket/model/supermarket_catalog.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/dart/lib/supermarket/model/supermarket_catalog.dart -------------------------------------------------------------------------------- /dart/lib/supermarket/model/teller.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/dart/lib/supermarket/model/teller.dart -------------------------------------------------------------------------------- /dart/lib/supermarket/receipt_printer.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/dart/lib/supermarket/receipt_printer.dart -------------------------------------------------------------------------------- /dart/pubspec.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/dart/pubspec.lock -------------------------------------------------------------------------------- /dart/pubspec.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/dart/pubspec.yaml -------------------------------------------------------------------------------- /dart/test/supermarket/fake_katalog.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/dart/test/supermarket/fake_katalog.dart -------------------------------------------------------------------------------- /dart/test/supermarket/model/supermarket_all_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/dart/test/supermarket/model/supermarket_all_test.dart -------------------------------------------------------------------------------- /dart/test/supermarket/model/supermarket_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/dart/test/supermarket/model/supermarket_test.dart -------------------------------------------------------------------------------- /elixir/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/elixir/.gitignore -------------------------------------------------------------------------------- /elixir/README-elixir.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/elixir/README-elixir.md -------------------------------------------------------------------------------- /elixir/lib/supermarket/model/discount.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/elixir/lib/supermarket/model/discount.ex -------------------------------------------------------------------------------- /elixir/lib/supermarket/model/offer.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/elixir/lib/supermarket/model/offer.ex -------------------------------------------------------------------------------- /elixir/lib/supermarket/model/product.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/elixir/lib/supermarket/model/product.ex -------------------------------------------------------------------------------- /elixir/lib/supermarket/model/product_quantity.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/elixir/lib/supermarket/model/product_quantity.ex -------------------------------------------------------------------------------- /elixir/lib/supermarket/model/receipt.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/elixir/lib/supermarket/model/receipt.ex -------------------------------------------------------------------------------- /elixir/lib/supermarket/model/receipt_item.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/elixir/lib/supermarket/model/receipt_item.ex -------------------------------------------------------------------------------- /elixir/lib/supermarket/model/shopping_cart.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/elixir/lib/supermarket/model/shopping_cart.ex -------------------------------------------------------------------------------- /elixir/lib/supermarket/model/supermarket_catalog.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/elixir/lib/supermarket/model/supermarket_catalog.ex -------------------------------------------------------------------------------- /elixir/lib/supermarket/model/teller.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/elixir/lib/supermarket/model/teller.ex -------------------------------------------------------------------------------- /elixir/mix.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/elixir/mix.exs -------------------------------------------------------------------------------- /elixir/test/supermarket/model/supermarket_test.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/elixir/test/supermarket/model/supermarket_test.exs -------------------------------------------------------------------------------- /elixir/test/support/fake_catalog.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/elixir/test/support/fake_catalog.ex -------------------------------------------------------------------------------- /elixir/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | -------------------------------------------------------------------------------- /go/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/go/README.md -------------------------------------------------------------------------------- /go/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/go/go.mod -------------------------------------------------------------------------------- /go/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/go/go.sum -------------------------------------------------------------------------------- /go/supermarket/SupermarketReceipt_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/go/supermarket/SupermarketReceipt_test.go -------------------------------------------------------------------------------- /go/supermarket/printers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/go/supermarket/printers.go -------------------------------------------------------------------------------- /go/supermarket/product.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/go/supermarket/product.go -------------------------------------------------------------------------------- /go/supermarket/receipt.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/go/supermarket/receipt.go -------------------------------------------------------------------------------- /go/supermarket/shopping_cart.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/go/supermarket/shopping_cart.go -------------------------------------------------------------------------------- /go/supermarket/special_offers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/go/supermarket/special_offers.go -------------------------------------------------------------------------------- /go/supermarket/teller.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/go/supermarket/teller.go -------------------------------------------------------------------------------- /java/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/java/pom.xml -------------------------------------------------------------------------------- /java/src/main/java/dojo/supermarket/model/Discount.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/java/src/main/java/dojo/supermarket/model/Discount.java -------------------------------------------------------------------------------- /java/src/main/java/dojo/supermarket/model/Offer.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/java/src/main/java/dojo/supermarket/model/Offer.java -------------------------------------------------------------------------------- /java/src/main/java/dojo/supermarket/model/Product.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/java/src/main/java/dojo/supermarket/model/Product.java -------------------------------------------------------------------------------- /java/src/main/java/dojo/supermarket/model/ProductQuantity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/java/src/main/java/dojo/supermarket/model/ProductQuantity.java -------------------------------------------------------------------------------- /java/src/main/java/dojo/supermarket/model/ProductUnit.java: -------------------------------------------------------------------------------- 1 | package dojo.supermarket.model; 2 | 3 | public enum ProductUnit { 4 | KILO, EACH 5 | } 6 | -------------------------------------------------------------------------------- /java/src/main/java/dojo/supermarket/model/Receipt.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/java/src/main/java/dojo/supermarket/model/Receipt.java -------------------------------------------------------------------------------- /java/src/main/java/dojo/supermarket/model/ReceiptItem.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/java/src/main/java/dojo/supermarket/model/ReceiptItem.java -------------------------------------------------------------------------------- /java/src/main/java/dojo/supermarket/model/ShoppingCart.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/java/src/main/java/dojo/supermarket/model/ShoppingCart.java -------------------------------------------------------------------------------- /java/src/main/java/dojo/supermarket/model/SpecialOfferType.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/java/src/main/java/dojo/supermarket/model/SpecialOfferType.java -------------------------------------------------------------------------------- /java/src/main/java/dojo/supermarket/model/SupermarketCatalog.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/java/src/main/java/dojo/supermarket/model/SupermarketCatalog.java -------------------------------------------------------------------------------- /java/src/main/java/dojo/supermarket/model/Teller.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/java/src/main/java/dojo/supermarket/model/Teller.java -------------------------------------------------------------------------------- /java/src/test/java/dojo/supermarket/PackageSettings.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/java/src/test/java/dojo/supermarket/PackageSettings.java -------------------------------------------------------------------------------- /java/src/test/java/dojo/supermarket/ReceiptPrinter.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/java/src/test/java/dojo/supermarket/ReceiptPrinter.java -------------------------------------------------------------------------------- /java/src/test/java/dojo/supermarket/model/FakeCatalog.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/java/src/test/java/dojo/supermarket/model/FakeCatalog.java -------------------------------------------------------------------------------- /java/src/test/java/dojo/supermarket/model/SupermarketTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/java/src/test/java/dojo/supermarket/model/SupermarketTest.java -------------------------------------------------------------------------------- /kotlin/build.gradle.kts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/kotlin/build.gradle.kts -------------------------------------------------------------------------------- /kotlin/gradle.properties: -------------------------------------------------------------------------------- 1 | kotlin.code.style=official -------------------------------------------------------------------------------- /kotlin/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/kotlin/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /kotlin/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/kotlin/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /kotlin/gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/kotlin/gradlew -------------------------------------------------------------------------------- /kotlin/gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/kotlin/gradlew.bat -------------------------------------------------------------------------------- /kotlin/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'Supermarket-Receipt' 2 | 3 | -------------------------------------------------------------------------------- /kotlin/src/main/kotlin/supermarket/model/Discount.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/kotlin/src/main/kotlin/supermarket/model/Discount.kt -------------------------------------------------------------------------------- /kotlin/src/main/kotlin/supermarket/model/Offer.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/kotlin/src/main/kotlin/supermarket/model/Offer.kt -------------------------------------------------------------------------------- /kotlin/src/main/kotlin/supermarket/model/Product.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/kotlin/src/main/kotlin/supermarket/model/Product.kt -------------------------------------------------------------------------------- /kotlin/src/main/kotlin/supermarket/model/ProductQuantity.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/kotlin/src/main/kotlin/supermarket/model/ProductQuantity.kt -------------------------------------------------------------------------------- /kotlin/src/main/kotlin/supermarket/model/ProductUnit.kt: -------------------------------------------------------------------------------- 1 | package supermarket.model 2 | 3 | enum class ProductUnit { 4 | Kilo, Each 5 | } 6 | -------------------------------------------------------------------------------- /kotlin/src/main/kotlin/supermarket/model/Receipt.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/kotlin/src/main/kotlin/supermarket/model/Receipt.kt -------------------------------------------------------------------------------- /kotlin/src/main/kotlin/supermarket/model/ReceiptItem.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/kotlin/src/main/kotlin/supermarket/model/ReceiptItem.kt -------------------------------------------------------------------------------- /kotlin/src/main/kotlin/supermarket/model/ShoppingCart.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/kotlin/src/main/kotlin/supermarket/model/ShoppingCart.kt -------------------------------------------------------------------------------- /kotlin/src/main/kotlin/supermarket/model/SpecialOfferType.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/kotlin/src/main/kotlin/supermarket/model/SpecialOfferType.kt -------------------------------------------------------------------------------- /kotlin/src/main/kotlin/supermarket/model/SupermarketCatalog.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/kotlin/src/main/kotlin/supermarket/model/SupermarketCatalog.kt -------------------------------------------------------------------------------- /kotlin/src/main/kotlin/supermarket/model/Teller.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/kotlin/src/main/kotlin/supermarket/model/Teller.kt -------------------------------------------------------------------------------- /kotlin/src/test/kotlin/dojo/supermarket/ReceiptPrinter.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/kotlin/src/test/kotlin/dojo/supermarket/ReceiptPrinter.kt -------------------------------------------------------------------------------- /kotlin/src/test/kotlin/dojo/supermarket/model/FakeCatalog.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/kotlin/src/test/kotlin/dojo/supermarket/model/FakeCatalog.kt -------------------------------------------------------------------------------- /kotlin/src/test/kotlin/dojo/supermarket/model/SupermarketTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/kotlin/src/test/kotlin/dojo/supermarket/model/SupermarketTest.kt -------------------------------------------------------------------------------- /license.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/license.txt -------------------------------------------------------------------------------- /php/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/php/.gitignore -------------------------------------------------------------------------------- /php/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/php/README.md -------------------------------------------------------------------------------- /php/cc.bat: -------------------------------------------------------------------------------- 1 | composer check-cs 2 | -------------------------------------------------------------------------------- /php/composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/php/composer.json -------------------------------------------------------------------------------- /php/ecs.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/php/ecs.php -------------------------------------------------------------------------------- /php/fc.bat: -------------------------------------------------------------------------------- 1 | composer fix-cs 2 | -------------------------------------------------------------------------------- /php/phpstan.neon: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/php/phpstan.neon -------------------------------------------------------------------------------- /php/phpunit.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/php/phpunit.xml -------------------------------------------------------------------------------- /php/ps.bat: -------------------------------------------------------------------------------- 1 | composer phpstan 2 | -------------------------------------------------------------------------------- /php/pu.bat: -------------------------------------------------------------------------------- 1 | composer tests 2 | -------------------------------------------------------------------------------- /php/src/Model/Discount.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/php/src/Model/Discount.php -------------------------------------------------------------------------------- /php/src/Model/Offer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/php/src/Model/Offer.php -------------------------------------------------------------------------------- /php/src/Model/Product.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/php/src/Model/Product.php -------------------------------------------------------------------------------- /php/src/Model/ProductQuantity.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/php/src/Model/ProductQuantity.php -------------------------------------------------------------------------------- /php/src/Model/ProductUnit.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/php/src/Model/ProductUnit.php -------------------------------------------------------------------------------- /php/src/Model/Receipt.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/php/src/Model/Receipt.php -------------------------------------------------------------------------------- /php/src/Model/ReceiptItem.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/php/src/Model/ReceiptItem.php -------------------------------------------------------------------------------- /php/src/Model/ShoppingCart.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/php/src/Model/ShoppingCart.php -------------------------------------------------------------------------------- /php/src/Model/SpecialOfferType.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/php/src/Model/SpecialOfferType.php -------------------------------------------------------------------------------- /php/src/Model/SupermarketCatalog.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/php/src/Model/SupermarketCatalog.php -------------------------------------------------------------------------------- /php/src/Model/Teller.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/php/src/Model/Teller.php -------------------------------------------------------------------------------- /php/src/ReceiptPrinter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/php/src/ReceiptPrinter.php -------------------------------------------------------------------------------- /php/tests/FakeCatalog.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/php/tests/FakeCatalog.php -------------------------------------------------------------------------------- /php/tests/SupermarketTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/php/tests/SupermarketTest.php -------------------------------------------------------------------------------- /python/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/python/.gitignore -------------------------------------------------------------------------------- /python/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/python/README.md -------------------------------------------------------------------------------- /python/catalog.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/python/catalog.py -------------------------------------------------------------------------------- /python/model_objects.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/python/model_objects.py -------------------------------------------------------------------------------- /python/receipt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/python/receipt.py -------------------------------------------------------------------------------- /python/receipt_printer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/python/receipt_printer.py -------------------------------------------------------------------------------- /python/requirements.txt: -------------------------------------------------------------------------------- 1 | approvaltests 2 | python-dateutil 3 | -------------------------------------------------------------------------------- /python/shopping_cart.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/python/shopping_cart.py -------------------------------------------------------------------------------- /python/teller.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/python/teller.py -------------------------------------------------------------------------------- /python/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /python/tests/approvaltests_config.json: -------------------------------------------------------------------------------- 1 | { 2 | "subdirectory": "approved_files" 3 | } 4 | -------------------------------------------------------------------------------- /python/tests/fake_catalog.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/python/tests/fake_catalog.py -------------------------------------------------------------------------------- /python/tests/test_supermarket.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/python/tests/test_supermarket.py -------------------------------------------------------------------------------- /python/texttest_fixture.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/python/texttest_fixture.py -------------------------------------------------------------------------------- /python_pytest/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/python_pytest/.gitignore -------------------------------------------------------------------------------- /python_pytest/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/python_pytest/README.md -------------------------------------------------------------------------------- /python_pytest/pytest.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/python_pytest/pytest.ini -------------------------------------------------------------------------------- /python_pytest/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/python_pytest/requirements.txt -------------------------------------------------------------------------------- /python_pytest/src/catalog.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/python_pytest/src/catalog.py -------------------------------------------------------------------------------- /python_pytest/src/model_objects.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/python_pytest/src/model_objects.py -------------------------------------------------------------------------------- /python_pytest/src/receipt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/python_pytest/src/receipt.py -------------------------------------------------------------------------------- /python_pytest/src/shopping_cart.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/python_pytest/src/shopping_cart.py -------------------------------------------------------------------------------- /python_pytest/src/teller.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/python_pytest/src/teller.py -------------------------------------------------------------------------------- /python_pytest/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /python_pytest/tests/approvaltests_config.json: -------------------------------------------------------------------------------- 1 | { 2 | "subdirectory": "approved_files" 3 | } 4 | -------------------------------------------------------------------------------- /python_pytest/tests/fake_catalog.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/python_pytest/tests/fake_catalog.py -------------------------------------------------------------------------------- /python_pytest/tests/receipt_printer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/python_pytest/tests/receipt_printer.py -------------------------------------------------------------------------------- /python_pytest/tests/test_supermarket.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/python_pytest/tests/test_supermarket.py -------------------------------------------------------------------------------- /ruby/Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/ruby/Gemfile -------------------------------------------------------------------------------- /ruby/Gemfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/ruby/Gemfile.lock -------------------------------------------------------------------------------- /ruby/Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/ruby/Rakefile -------------------------------------------------------------------------------- /ruby/lib/models/discount.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/ruby/lib/models/discount.rb -------------------------------------------------------------------------------- /ruby/lib/models/offer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/ruby/lib/models/offer.rb -------------------------------------------------------------------------------- /ruby/lib/models/product.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/ruby/lib/models/product.rb -------------------------------------------------------------------------------- /ruby/lib/models/product_quantity.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/ruby/lib/models/product_quantity.rb -------------------------------------------------------------------------------- /ruby/lib/models/product_unit.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/ruby/lib/models/product_unit.rb -------------------------------------------------------------------------------- /ruby/lib/models/receipt.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/ruby/lib/models/receipt.rb -------------------------------------------------------------------------------- /ruby/lib/models/receipt_item.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/ruby/lib/models/receipt_item.rb -------------------------------------------------------------------------------- /ruby/lib/models/shopping_cart.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/ruby/lib/models/shopping_cart.rb -------------------------------------------------------------------------------- /ruby/lib/models/special_offer_type.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/ruby/lib/models/special_offer_type.rb -------------------------------------------------------------------------------- /ruby/lib/models/supermarket_catalog.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/ruby/lib/models/supermarket_catalog.rb -------------------------------------------------------------------------------- /ruby/lib/models/teller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/ruby/lib/models/teller.rb -------------------------------------------------------------------------------- /ruby/lib/receipt_printer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/ruby/lib/receipt_printer.rb -------------------------------------------------------------------------------- /ruby/main.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/ruby/main.rb -------------------------------------------------------------------------------- /ruby/test/fake_catalog.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/ruby/test/fake_catalog.rb -------------------------------------------------------------------------------- /ruby/test/supermarket_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/ruby/test/supermarket_test.rb -------------------------------------------------------------------------------- /ruby/test/test_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/ruby/test/test_helper.rb -------------------------------------------------------------------------------- /swift/SupermarketReceipt.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/swift/SupermarketReceipt.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /swift/SupermarketReceipt.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/swift/SupermarketReceipt.xcodeproj/project.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /swift/SupermarketReceipt.xcodeproj/xcshareddata/xcschemes/SupermarketReceipt.xcscheme: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/swift/SupermarketReceipt.xcodeproj/xcshareddata/xcschemes/SupermarketReceipt.xcscheme -------------------------------------------------------------------------------- /swift/SupermarketReceipt.xcodeproj/xcuserdata/andy.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/swift/SupermarketReceipt.xcodeproj/xcuserdata/andy.xcuserdatad/xcschemes/xcschememanagement.plist -------------------------------------------------------------------------------- /swift/SupermarketReceipt.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/swift/SupermarketReceipt.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /swift/SupermarketReceipt.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/swift/SupermarketReceipt.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist -------------------------------------------------------------------------------- /swift/SupermarketReceipt.xcworkspace/xcshareddata/xcschemes/ApprovalTests_Swift.xcscheme: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/swift/SupermarketReceipt.xcworkspace/xcshareddata/xcschemes/ApprovalTests_Swift.xcscheme -------------------------------------------------------------------------------- /swift/SupermarketReceipt/Discount.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/swift/SupermarketReceipt/Discount.swift -------------------------------------------------------------------------------- /swift/SupermarketReceipt/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/swift/SupermarketReceipt/Info.plist -------------------------------------------------------------------------------- /swift/SupermarketReceipt/Offer.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/swift/SupermarketReceipt/Offer.swift -------------------------------------------------------------------------------- /swift/SupermarketReceipt/Product.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/swift/SupermarketReceipt/Product.swift -------------------------------------------------------------------------------- /swift/SupermarketReceipt/ProductQuantity.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/swift/SupermarketReceipt/ProductQuantity.swift -------------------------------------------------------------------------------- /swift/SupermarketReceipt/ProductUnit.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/swift/SupermarketReceipt/ProductUnit.swift -------------------------------------------------------------------------------- /swift/SupermarketReceipt/Receipt.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/swift/SupermarketReceipt/Receipt.swift -------------------------------------------------------------------------------- /swift/SupermarketReceipt/ReceiptItem.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/swift/SupermarketReceipt/ReceiptItem.swift -------------------------------------------------------------------------------- /swift/SupermarketReceipt/ReceiptPrinter.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/swift/SupermarketReceipt/ReceiptPrinter.swift -------------------------------------------------------------------------------- /swift/SupermarketReceipt/ShoppingCart.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/swift/SupermarketReceipt/ShoppingCart.swift -------------------------------------------------------------------------------- /swift/SupermarketReceipt/SpecialOfferType.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/swift/SupermarketReceipt/SpecialOfferType.swift -------------------------------------------------------------------------------- /swift/SupermarketReceipt/SupermarketCatalog.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/swift/SupermarketReceipt/SupermarketCatalog.swift -------------------------------------------------------------------------------- /swift/SupermarketReceipt/SupermarketReceipt.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/swift/SupermarketReceipt/SupermarketReceipt.h -------------------------------------------------------------------------------- /swift/SupermarketReceipt/Teller.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/swift/SupermarketReceipt/Teller.swift -------------------------------------------------------------------------------- /swift/SupermarketReceiptTests/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/swift/SupermarketReceiptTests/Info.plist -------------------------------------------------------------------------------- /typescript/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/typescript/.gitignore -------------------------------------------------------------------------------- /typescript/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/typescript/package.json -------------------------------------------------------------------------------- /typescript/src/ReceiptPrinter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/typescript/src/ReceiptPrinter.ts -------------------------------------------------------------------------------- /typescript/src/model/Discount.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/typescript/src/model/Discount.ts -------------------------------------------------------------------------------- /typescript/src/model/Offer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/typescript/src/model/Offer.ts -------------------------------------------------------------------------------- /typescript/src/model/Product.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/typescript/src/model/Product.ts -------------------------------------------------------------------------------- /typescript/src/model/ProductQuantity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/typescript/src/model/ProductQuantity.ts -------------------------------------------------------------------------------- /typescript/src/model/ProductUnit.ts: -------------------------------------------------------------------------------- 1 | 2 | export enum ProductUnit { 3 | Kilo, Each 4 | } 5 | -------------------------------------------------------------------------------- /typescript/src/model/Receipt.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/typescript/src/model/Receipt.ts -------------------------------------------------------------------------------- /typescript/src/model/ReceiptItem.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/typescript/src/model/ReceiptItem.ts -------------------------------------------------------------------------------- /typescript/src/model/ShoppingCart.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/typescript/src/model/ShoppingCart.ts -------------------------------------------------------------------------------- /typescript/src/model/SpecialOfferType.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/typescript/src/model/SpecialOfferType.ts -------------------------------------------------------------------------------- /typescript/src/model/SupermarketCatalog.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/typescript/src/model/SupermarketCatalog.ts -------------------------------------------------------------------------------- /typescript/src/model/Teller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/typescript/src/model/Teller.ts -------------------------------------------------------------------------------- /typescript/test/FakeCatalog.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/typescript/test/FakeCatalog.ts -------------------------------------------------------------------------------- /typescript/test/Supermarket.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/typescript/test/Supermarket.test.ts -------------------------------------------------------------------------------- /typescript/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emilybache/SupermarketReceipt-Refactoring-Kata/HEAD/typescript/tsconfig.json --------------------------------------------------------------------------------