summaryrefslogtreecommitdiffstats
path: root/tools/NUnit/samples/csharp/money
diff options
context:
space:
mode:
Diffstat (limited to 'tools/NUnit/samples/csharp/money')
-rw-r--r--tools/NUnit/samples/csharp/money/AssemblyInfo.cs58
-rw-r--r--tools/NUnit/samples/csharp/money/IMoney.cs37
-rw-r--r--tools/NUnit/samples/csharp/money/Money.cs103
-rw-r--r--tools/NUnit/samples/csharp/money/MoneyBag.cs174
-rw-r--r--tools/NUnit/samples/csharp/money/MoneyTest.cs321
-rw-r--r--tools/NUnit/samples/csharp/money/cs-money.build14
-rw-r--r--tools/NUnit/samples/csharp/money/cs-money.csproj23
7 files changed, 0 insertions, 730 deletions
diff --git a/tools/NUnit/samples/csharp/money/AssemblyInfo.cs b/tools/NUnit/samples/csharp/money/AssemblyInfo.cs
deleted file mode 100644
index 72a1771..0000000
--- a/tools/NUnit/samples/csharp/money/AssemblyInfo.cs
+++ /dev/null
@@ -1,58 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-
-//
-// General Information about an assembly is controlled through the following
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-//
-[assembly: AssemblyTitle("")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("")]
-[assembly: AssemblyCopyright("")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-//
-// Version information for an assembly consists of the following four values:
-//
-// Major Version
-// Minor Version
-// Build Number
-// Revision
-//
-// You can specify all the values or you can default the Revision and Build Numbers
-// by using the '*' as shown below:
-
-[assembly: AssemblyVersion("2.2.0.0")]
-
-//
-// In order to sign your assembly you must specify a key to use. Refer to the
-// Microsoft .NET Framework documentation for more information on assembly signing.
-//
-// Use the attributes below to control which key is used for signing.
-//
-// Notes:
-// (*) If no key is specified, the assembly is not signed.
-// (*) KeyName refers to a key that has been installed in the Crypto Service
-// Provider (CSP) on your machine. KeyFile refers to a file which contains
-// a key.
-// (*) If the KeyFile and the KeyName values are both specified, the
-// following processing occurs:
-// (1) If the KeyName can be found in the CSP, that key is used.
-// (2) If the KeyName does not exist and the KeyFile does exist, the key
-// in the KeyFile is installed into the CSP and used.
-// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility.
-// When specifying the KeyFile, the location of the KeyFile should be
-// relative to the project output directory which is
-// %Project Directory%\obj\<configuration>. For example, if your KeyFile is
-// located in the project directory, you would specify the AssemblyKeyFile
-// attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")]
-// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework
-// documentation for more information on this.
-//
-[assembly: AssemblyDelaySign(false)]
-[assembly: AssemblyKeyFile("")]
-[assembly: AssemblyKeyName("")]
diff --git a/tools/NUnit/samples/csharp/money/IMoney.cs b/tools/NUnit/samples/csharp/money/IMoney.cs
deleted file mode 100644
index 9b3fd35..0000000
--- a/tools/NUnit/samples/csharp/money/IMoney.cs
+++ /dev/null
@@ -1,37 +0,0 @@
-// ****************************************************************
-// This is free software licensed under the NUnit license. You
-// may obtain a copy of the license as well as information regarding
-// copyright ownership at http://nunit.org/?p=license&r=2.4.
-// ****************************************************************
-
-namespace NUnit.Samples.Money
-{
-
- /// <summary>The common interface for simple Monies and MoneyBags.</summary>
- interface IMoney
- {
-
- /// <summary>Adds a money to this money.</summary>
- IMoney Add(IMoney m);
-
- /// <summary>Adds a simple Money to this money. This is a helper method for
- /// implementing double dispatch.</summary>
- IMoney AddMoney(Money m);
-
- /// <summary>Adds a MoneyBag to this money. This is a helper method for
- /// implementing double dispatch.</summary>
- IMoney AddMoneyBag(MoneyBag s);
-
- /// <value>True if this money is zero.</value>
- bool IsZero { get; }
-
- /// <summary>Multiplies a money by the given factor.</summary>
- IMoney Multiply(int factor);
-
- /// <summary>Negates this money.</summary>
- IMoney Negate();
-
- /// <summary>Subtracts a money from this money.</summary>
- IMoney Subtract(IMoney m);
- }
-}
diff --git a/tools/NUnit/samples/csharp/money/Money.cs b/tools/NUnit/samples/csharp/money/Money.cs
deleted file mode 100644
index 2e2de93..0000000
--- a/tools/NUnit/samples/csharp/money/Money.cs
+++ /dev/null
@@ -1,103 +0,0 @@
-// ****************************************************************
-// This is free software licensed under the NUnit license. You
-// may obtain a copy of the license as well as information regarding
-// copyright ownership at http://nunit.org/?p=license&r=2.4.
-// ****************************************************************
-
-namespace NUnit.Samples.Money
-{
-
- using System;
- using System.Text;
-
- /// <summary>A simple Money.</summary>
- class Money: IMoney
- {
-
- private int fAmount;
- private String fCurrency;
-
- /// <summary>Constructs a money from the given amount and
- /// currency.</summary>
- public Money(int amount, String currency)
- {
- fAmount= amount;
- fCurrency= currency;
- }
-
- /// <summary>Adds a money to this money. Forwards the request to
- /// the AddMoney helper.</summary>
- public IMoney Add(IMoney m)
- {
- return m.AddMoney(this);
- }
-
- public IMoney AddMoney(Money m)
- {
- if (m.Currency.Equals(Currency) )
- return new Money(Amount+m.Amount, Currency);
- return new MoneyBag(this, m);
- }
-
- public IMoney AddMoneyBag(MoneyBag s)
- {
- return s.AddMoney(this);
- }
-
- public int Amount
- {
- get { return fAmount; }
- }
-
- public String Currency
- {
- get { return fCurrency; }
- }
-
- public override bool Equals(Object anObject)
- {
- if (IsZero)
- if (anObject is IMoney)
- return ((IMoney)anObject).IsZero;
- if (anObject is Money)
- {
- Money aMoney= (Money)anObject;
- return aMoney.Currency.Equals(Currency)
- && Amount == aMoney.Amount;
- }
- return false;
- }
-
- public override int GetHashCode()
- {
- return fCurrency.GetHashCode()+fAmount;
- }
-
- public bool IsZero
- {
- get { return Amount == 0; }
- }
-
- public IMoney Multiply(int factor)
- {
- return new Money(Amount*factor, Currency);
- }
-
- public IMoney Negate()
- {
- return new Money(-Amount, Currency);
- }
-
- public IMoney Subtract(IMoney m)
- {
- return Add(m.Negate());
- }
-
- public override String ToString()
- {
- StringBuilder buffer = new StringBuilder();
- buffer.Append("["+Amount+" "+Currency+"]");
- return buffer.ToString();
- }
- }
-}
diff --git a/tools/NUnit/samples/csharp/money/MoneyBag.cs b/tools/NUnit/samples/csharp/money/MoneyBag.cs
deleted file mode 100644
index 45b9442..0000000
--- a/tools/NUnit/samples/csharp/money/MoneyBag.cs
+++ /dev/null
@@ -1,174 +0,0 @@
-// ****************************************************************
-// This is free software licensed under the NUnit license. You
-// may obtain a copy of the license as well as information regarding
-// copyright ownership at http://nunit.org/?p=license&r=2.4.
-// ****************************************************************
-
-namespace NUnit.Samples.Money
-{
-
- using System;
- using System.Collections;
- using System.Text;
-
- /// <summary>A MoneyBag defers exchange rate conversions.</summary>
- /// <remarks>For example adding
- /// 12 Swiss Francs to 14 US Dollars is represented as a bag
- /// containing the two Monies 12 CHF and 14 USD. Adding another
- /// 10 Swiss francs gives a bag with 22 CHF and 14 USD. Due to
- /// the deferred exchange rate conversion we can later value a
- /// MoneyBag with different exchange rates.
- ///
- /// A MoneyBag is represented as a list of Monies and provides
- /// different constructors to create a MoneyBag.</remarks>
- class MoneyBag: IMoney
- {
- private ArrayList fMonies= new ArrayList(5);
-
- private MoneyBag()
- {
- }
- public MoneyBag(Money[] bag)
- {
- for (int i= 0; i < bag.Length; i++)
- {
- if (!bag[i].IsZero)
- AppendMoney(bag[i]);
- }
- }
- public MoneyBag(Money m1, Money m2)
- {
- AppendMoney(m1);
- AppendMoney(m2);
- }
- public MoneyBag(Money m, MoneyBag bag)
- {
- AppendMoney(m);
- AppendBag(bag);
- }
- public MoneyBag(MoneyBag m1, MoneyBag m2)
- {
- AppendBag(m1);
- AppendBag(m2);
- }
- public IMoney Add(IMoney m)
- {
- return m.AddMoneyBag(this);
- }
- public IMoney AddMoney(Money m)
- {
- return (new MoneyBag(m, this)).Simplify();
- }
- public IMoney AddMoneyBag(MoneyBag s)
- {
- return (new MoneyBag(s, this)).Simplify();
- }
- private void AppendBag(MoneyBag aBag)
- {
- foreach (Money m in aBag.fMonies)
- AppendMoney(m);
- }
- private void AppendMoney(Money aMoney)
- {
- IMoney old= FindMoney(aMoney.Currency);
- if (old == null)
- {
- fMonies.Add(aMoney);
- return;
- }
- fMonies.Remove(old);
- IMoney sum= old.Add(aMoney);
- if (sum.IsZero)
- return;
- fMonies.Add(sum);
- }
- private bool Contains(Money aMoney)
- {
- Money m= FindMoney(aMoney.Currency);
- return m.Amount == aMoney.Amount;
- }
- public override bool Equals(Object anObject)
- {
- if (IsZero)
- if (anObject is IMoney)
- return ((IMoney)anObject).IsZero;
-
- if (anObject is MoneyBag)
- {
- MoneyBag aMoneyBag= (MoneyBag)anObject;
- if (aMoneyBag.fMonies.Count != fMonies.Count)
- return false;
-
- foreach (Money m in fMonies)
- {
- if (!aMoneyBag.Contains(m))
- return false;
- }
- return true;
- }
- return false;
- }
- private Money FindMoney(String currency)
- {
- foreach (Money m in fMonies)
- {
- if (m.Currency.Equals(currency))
- return m;
- }
- return null;
- }
- public override int GetHashCode()
- {
- int hash= 0;
- foreach (Money m in fMonies)
- {
- hash^= m.GetHashCode();
- }
- return hash;
- }
- public bool IsZero
- {
- get { return fMonies.Count == 0; }
- }
- public IMoney Multiply(int factor)
- {
- MoneyBag result= new MoneyBag();
- if (factor != 0)
- {
- foreach (Money m in fMonies)
- {
- result.AppendMoney((Money)m.Multiply(factor));
- }
- }
- return result;
- }
- public IMoney Negate()
- {
- MoneyBag result= new MoneyBag();
- foreach (Money m in fMonies)
- {
- result.AppendMoney((Money)m.Negate());
- }
- return result;
- }
- private IMoney Simplify()
- {
- if (fMonies.Count == 1)
- return (IMoney)fMonies[0];
- return this;
- }
- public IMoney Subtract(IMoney m)
- {
- return Add(m.Negate());
- }
- public override String ToString()
- {
- StringBuilder buffer = new StringBuilder();
- buffer.Append("{");
- foreach (Money m in fMonies)
- buffer.Append(m);
- buffer.Append("}");
- return buffer.ToString();
- }
- }
-}
diff --git a/tools/NUnit/samples/csharp/money/MoneyTest.cs b/tools/NUnit/samples/csharp/money/MoneyTest.cs
deleted file mode 100644
index 603dcf8..0000000
--- a/tools/NUnit/samples/csharp/money/MoneyTest.cs
+++ /dev/null
@@ -1,321 +0,0 @@
-// ****************************************************************
-// This is free software licensed under the NUnit license. You
-// may obtain a copy of the license as well as information regarding
-// copyright ownership at http://nunit.org/?p=license&r=2.4.
-// ****************************************************************
-
-namespace NUnit.Samples.Money
-{
- using System;
- using NUnit.Framework;
- /// <summary>
- ///
- /// </summary>
- ///
- [TestFixture]
- public class MoneyTest
- {
- private Money f12CHF;
- private Money f14CHF;
- private Money f7USD;
- private Money f21USD;
-
- private MoneyBag fMB1;
- private MoneyBag fMB2;
-
- /// <summary>
- ///
- /// </summary>
- ///
- [SetUp]
- protected void SetUp()
- {
- f12CHF= new Money(12, "CHF");
- f14CHF= new Money(14, "CHF");
- f7USD= new Money( 7, "USD");
- f21USD= new Money(21, "USD");
-
- fMB1= new MoneyBag(f12CHF, f7USD);
- fMB2= new MoneyBag(f14CHF, f21USD);
- }
-
- /// <summary>
- ///
- /// </summary>
- ///
- [Test]
- public void BagMultiply()
- {
- // {[12 CHF][7 USD]} *2 == {[24 CHF][14 USD]}
- Money[] bag = { new Money(24, "CHF"), new Money(14, "USD") };
- MoneyBag expected= new MoneyBag(bag);
- Assert.AreEqual(expected, fMB1.Multiply(2));
- Assert.AreEqual(fMB1, fMB1.Multiply(1));
- Assert.IsTrue(fMB1.Multiply(0).IsZero);
- }
-
- /// <summary>
- ///
- /// </summary>
- ///
- [Test]
- public void BagNegate()
- {
- // {[12 CHF][7 USD]} negate == {[-12 CHF][-7 USD]}
- Money[] bag= { new Money(-12, "CHF"), new Money(-7, "USD") };
- MoneyBag expected= new MoneyBag(bag);
- Assert.AreEqual(expected, fMB1.Negate());
- }
-
- /// <summary>
- ///
- /// </summary>
- ///
- [Test]
- public void BagSimpleAdd()
- {
- // {[12 CHF][7 USD]} + [14 CHF] == {[26 CHF][7 USD]}
- Money[] bag= { new Money(26, "CHF"), new Money(7, "USD") };
- MoneyBag expected= new MoneyBag(bag);
- Assert.AreEqual(expected, fMB1.Add(f14CHF));
- }
-
- /// <summary>
- ///
- /// </summary>
- ///
- [Test]
- public void BagSubtract()
- {
- // {[12 CHF][7 USD]} - {[14 CHF][21 USD] == {[-2 CHF][-14 USD]}
- Money[] bag= { new Money(-2, "CHF"), new Money(-14, "USD") };
- MoneyBag expected= new MoneyBag(bag);
- Assert.AreEqual(expected, fMB1.Subtract(fMB2));
- }
-
- /// <summary>
- ///
- /// </summary>
- ///
- [Test]
- public void BagSumAdd()
- {
- // {[12 CHF][7 USD]} + {[14 CHF][21 USD]} == {[26 CHF][28 USD]}
- Money[] bag= { new Money(26, "CHF"), new Money(28, "USD") };
- MoneyBag expected= new MoneyBag(bag);
- Assert.AreEqual(expected, fMB1.Add(fMB2));
- }
-
- /// <summary>
- ///
- /// </summary>
- ///
- [Test]
- public void IsZero()
- {
- Assert.IsTrue(fMB1.Subtract(fMB1).IsZero);
-
- Money[] bag = { new Money(0, "CHF"), new Money(0, "USD") };
- Assert.IsTrue(new MoneyBag(bag).IsZero);
- }
-
- /// <summary>
- ///
- /// </summary>
- ///
- [Test]
- public void MixedSimpleAdd()
- {
- // [12 CHF] + [7 USD] == {[12 CHF][7 USD]}
- Money[] bag= { f12CHF, f7USD };
- MoneyBag expected= new MoneyBag(bag);
- Assert.AreEqual(expected, f12CHF.Add(f7USD));
- }
-
- /// <summary>
- ///
- /// </summary>
- ///
- [Test]
- public void MoneyBagEquals()
- {
- //NOTE: Normally we use Assert.AreEqual to test whether two
- // objects are equal. But here we are testing the MoneyBag.Equals()
- // method itself, so using AreEqual would not serve the purpose.
- Assert.IsFalse(fMB1.Equals(null));
-
- Assert.IsTrue(fMB1.Equals( fMB1 ));
- MoneyBag equal= new MoneyBag(new Money(12, "CHF"), new Money(7, "USD"));
- Assert.IsTrue(fMB1.Equals(equal));
- Assert.IsTrue(!fMB1.Equals(f12CHF));
- Assert.IsTrue(!f12CHF.Equals(fMB1));
- Assert.IsTrue(!fMB1.Equals(fMB2));
- }
-
- /// <summary>
- ///
- /// </summary>
- ///
- [Test]
- public void MoneyBagHash()
- {
- MoneyBag equal= new MoneyBag(new Money(12, "CHF"), new Money(7, "USD"));
- Assert.AreEqual(fMB1.GetHashCode(), equal.GetHashCode());
- }
-
- /// <summary>
- ///
- /// </summary>
- ///
- [Test]
- public void MoneyEquals()
- {
- //NOTE: Normally we use Assert.AreEqual to test whether two
- // objects are equal. But here we are testing the MoneyBag.Equals()
- // method itself, so using AreEqual would not serve the purpose.
- Assert.IsFalse(f12CHF.Equals(null));
- Money equalMoney= new Money(12, "CHF");
- Assert.IsTrue(f12CHF.Equals( f12CHF ));
- Assert.IsTrue(f12CHF.Equals( equalMoney ));
- Assert.IsFalse(f12CHF.Equals(f14CHF));
- }
-
- /// <summary>
- ///
- /// </summary>
- ///
- [Test]
- public void MoneyHash()
- {
- Assert.IsFalse(f12CHF.Equals(null));
- Money equal= new Money(12, "CHF");
- Assert.AreEqual(f12CHF.GetHashCode(), equal.GetHashCode());
- }
-
- /// <summary>
- ///
- /// </summary>
- ///
- [Test]
- public void Normalize()
- {
- Money[] bag= { new Money(26, "CHF"), new Money(28, "CHF"), new Money(6, "CHF") };
- MoneyBag moneyBag= new MoneyBag(bag);
- Money[] expected = { new Money(60, "CHF") };
- // note: expected is still a MoneyBag
- MoneyBag expectedBag= new MoneyBag(expected);
- Assert.AreEqual(expectedBag, moneyBag);
- }
-
- /// <summary>
- ///
- /// </summary>
- ///
- [Test]
- public void Normalize2()
- {
- // {[12 CHF][7 USD]} - [12 CHF] == [7 USD]
- Money expected= new Money(7, "USD");
- Assert.AreEqual(expected, fMB1.Subtract(f12CHF));
- }
-
- /// <summary>
- ///
- /// </summary>
- ///
- [Test]
- public void Normalize3()
- {
- // {[12 CHF][7 USD]} - {[12 CHF][3 USD]} == [4 USD]
- Money[] s1 = { new Money(12, "CHF"), new Money(3, "USD") };
- MoneyBag ms1= new MoneyBag(s1);
- Money expected= new Money(4, "USD");
- Assert.AreEqual(expected, fMB1.Subtract(ms1));
- }
-
- /// <summary>
- ///
- /// </summary>
- ///
- [Test]
- public void Normalize4()
- {
- // [12 CHF] - {[12 CHF][3 USD]} == [-3 USD]
- Money[] s1 = { new Money(12, "CHF"), new Money(3, "USD") };
- MoneyBag ms1= new MoneyBag(s1);
- Money expected= new Money(-3, "USD");
- Assert.AreEqual(expected, f12CHF.Subtract(ms1));
- }
-
- /// <summary>
- ///
- /// </summary>
- ///
- [Test]
- public void Print()
- {
- Assert.AreEqual("[12 CHF]", f12CHF.ToString());
- }
-
- /// <summary>
- ///
- /// </summary>
- ///
- [Test]
- public void SimpleAdd()
- {
- // [12 CHF] + [14 CHF] == [26 CHF]
- Money expected= new Money(26, "CHF");
- Assert.AreEqual(expected, f12CHF.Add(f14CHF));
- }
-
- /// <summary>
- ///
- /// </summary>
- ///
- [Test]
- public void SimpleBagAdd()
- {
- // [14 CHF] + {[12 CHF][7 USD]} == {[26 CHF][7 USD]}
- Money[] bag= { new Money(26, "CHF"), new Money(7, "USD") };
- MoneyBag expected= new MoneyBag(bag);
- Assert.AreEqual(expected, f14CHF.Add(fMB1));
- }
-
- /// <summary>
- ///
- /// </summary>
- ///
- [Test]
- public void SimpleMultiply()
- {
- // [14 CHF] *2 == [28 CHF]
- Money expected= new Money(28, "CHF");
- Assert.AreEqual(expected, f14CHF.Multiply(2));
- }
-
- /// <summary>
- ///
- /// </summary>
- ///
- [Test]
- public void SimpleNegate()
- {
- // [14 CHF] negate == [-14 CHF]
- Money expected= new Money(-14, "CHF");
- Assert.AreEqual(expected, f14CHF.Negate());
- }
-
- /// <summary>
- ///
- /// </summary>
- ///
- [Test]
- public void SimpleSubtract()
- {
- // [14 CHF] - [12 CHF] == [2 CHF]
- Money expected= new Money(2, "CHF");
- Assert.AreEqual(expected, f14CHF.Subtract(f12CHF));
- }
- }
-} \ No newline at end of file
diff --git a/tools/NUnit/samples/csharp/money/cs-money.build b/tools/NUnit/samples/csharp/money/cs-money.build
deleted file mode 100644
index 917d973..0000000
--- a/tools/NUnit/samples/csharp/money/cs-money.build
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0"?>
-<project name="cs-money" default="build">
-
- <include buildfile="../../samples.common" />
-
- <patternset id="source-files">
- <include name="AssemblyInfo.cs" />
- <include name="IMoney.cs" />
- <include name="Money.cs" />
- <include name="MoneyBag.cs" />
- <include name="MoneyTest.cs" />
- </patternset>
-
-</project> \ No newline at end of file
diff --git a/tools/NUnit/samples/csharp/money/cs-money.csproj b/tools/NUnit/samples/csharp/money/cs-money.csproj
deleted file mode 100644
index 1ccc7c9..0000000
--- a/tools/NUnit/samples/csharp/money/cs-money.csproj
+++ /dev/null
@@ -1,23 +0,0 @@
-<VisualStudioProject>
- <CSHARP ProjectType="Local" ProductVersion="7.10.3077" SchemaVersion="2.0" ProjectGuid="{11EDF872-A04D-4F75-A1BF-71168DC86AF3}">
- <Build>
- <Settings ApplicationIcon="" AssemblyKeyContainerName="" AssemblyName="cs-money" AssemblyOriginatorKeyFile="" DefaultClientScript="JScript" DefaultHTMLPageLayout="Grid" DefaultTargetSchema="IE50" DelaySign="false" OutputType="Library" PreBuildEvent="" PostBuildEvent="" RootNamespace="money" RunPostBuildEvent="OnBuildSuccess" StartupObject="">
- <Config Name="Debug" AllowUnsafeBlocks="false" BaseAddress="285212672" CheckForOverflowUnderflow="false" ConfigurationOverrideFile="" DefineConstants="DEBUG;TRACE" DocumentationFile="" DebugSymbols="true" FileAlignment="4096" IncrementalBuild="true" NoStdLib="false" NoWarn="" Optimize="false" OutputPath="bin\Debug\" RegisterForComInterop="false" RemoveIntegerChecks="false" TreatWarningsAsErrors="false" WarningLevel="4" />
- <Config Name="Release" AllowUnsafeBlocks="false" BaseAddress="285212672" CheckForOverflowUnderflow="false" ConfigurationOverrideFile="" DefineConstants="TRACE" DocumentationFile="" DebugSymbols="false" FileAlignment="4096" IncrementalBuild="false" NoStdLib="false" NoWarn="" Optimize="true" OutputPath="bin\Release\" RegisterForComInterop="false" RemoveIntegerChecks="false" TreatWarningsAsErrors="false" WarningLevel="4" />
- </Settings>
- <References>
- <Reference Name="System" AssemblyName="System" />
- <Reference Name="nunit.framework" AssemblyName="nunit.framework, Version=2.5, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77" HintPath="..\..\..\bin\net-1.1\framework\nunit.framework.dll" />
- </References>
- </Build>
- <Files>
- <Include>
- <File RelPath="AssemblyInfo.cs" SubType="Code" BuildAction="Compile" />
- <File RelPath="IMoney.cs" SubType="Code" BuildAction="Compile" />
- <File RelPath="Money.cs" SubType="Code" BuildAction="Compile" />
- <File RelPath="MoneyBag.cs" SubType="Code" BuildAction="Compile" />
- <File RelPath="MoneyTest.cs" SubType="Code" BuildAction="Compile" />
- </Include>
- </Files>
- </CSHARP>
-</VisualStudioProject> \ No newline at end of file